• Reconnect the game websocket after connectivity loss
    CI / Build and push docker image (push) Successful in 2m59s

    woggioni released this 2026-09-18 07:48:34 +02:00 | 3 commits to main since this release

    The socket had no recovery path: a mid-game drop left the table showing
    stale state with no indication, and plays were silently swallowed by the
    dead channel. Surface the server close code from ws::connect and add a
    reconnect driver in the game page: transient losses retry with
    exponential backoff (capped, then a manual Retry), while deliberate
    closes (session expired, game gone) stop retrying. Reconnects are free
    resyncs because the server pushes a full state snapshot on connect.

    Also gate card clicks while disconnected, show a connection banner, and
    drop the ticking interval and pending retries on unmount.

    Downloads