Skip to content

Implement Automatic WebSocket Reconnection with Exponential Backoff #71

Description

@hardikkaurani

🟡 Intermediate Issue

Problem

When the WebSocket connection drops during an evaluation run, the frontend does not automatically attempt reconnection.

Why It Matters

Automatic reconnection with exponential backoff (1s, 2s, 4s, 8s, max 30s) ensures real-time progress updates resume after transient network failures.

Suggested Files

  • frontend/src/hooks/useJobWebSocket.ts

Definition of Done

  • Configurable reconnection with exponential backoff implemented.
  • Max retry count and max delay configurable.
  • npm run typecheck and npm run lint pass.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendFrontend UI, React components, and client statehelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions