Skip to content

feat: implement websockets for live job status updates#289

Open
Dhara124 wants to merge 4 commits intodevelopfrom
feat/live-job-status
Open

feat: implement websockets for live job status updates#289
Dhara124 wants to merge 4 commits intodevelopfrom
feat/live-job-status

Conversation

@Dhara124
Copy link
Copy Markdown
Collaborator

@Dhara124 Dhara124 commented Mar 9, 2026

Description

This PR introduces a real-time WebSocket connection to the Synthetic ASR Dashboard to receive live job status updates directly from the backend.

Key Changes

  • Integrates 'react-use-websocket' to manage an authenticated WebSocket connection.
  • Replaces the previous polling/manual refresh mechanism.
  • The React state optimally updates individual job rows as soon as the PAI backend broadcasts a status or progress change (e.g., from \SUBMITTED\ to \PROCESSING, 25% to 50% progressed).
  • Dashboard populates instantly upon connection without requiring a page refresh.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 9, 2026

Deploy Preview for indic-arena ready!

Name Link
🔨 Latest commit a4b8bac
🔍 Latest deploy log https://app.netlify.com/projects/indic-arena/deploys/69b2822ad259770008df0d4f
😎 Deploy Preview https://deploy-preview-289--indic-arena.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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