Skip to content

Add realtime WebSocket updates across all async operations#1040

Merged
saeedvaziry merged 4 commits into4.xfrom
pr/realtime-websocket-updates
Mar 7, 2026
Merged

Add realtime WebSocket updates across all async operations#1040
saeedvaziry merged 4 commits into4.xfrom
pr/realtime-websocket-updates

Conversation

@saeedvaziry
Copy link
Member

  • Introduces a WebSocket server and socket event infrastructure (SocketEvent, SocketEventDTO, EventsHandler) so the frontend receives live push updates instead of polling
  • All queued jobs (deployments, servers, services, workers, sites, firewall, SSL, redirects, scripts, commands, backups, workflow runs, PHP extensions) now dispatch typed socket events on completion or failure; frontend pages use useRealtime / useSocketListener hooks to update tables and status badges in realtime
  • Removes the global auto-refresh component and usePageActive hook now that all data updates are pushed via WebSocket; adds useLogContent hook for streaming log output without polling

Fixes #862

@saeedvaziry saeedvaziry merged commit 91e075d into 4.x Mar 7, 2026
2 checks passed
@saeedvaziry saeedvaziry deleted the pr/realtime-websocket-updates branch March 7, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant