fix: WebSocket heartbeat ping for iPad resilience #399

Closed
kimi wants to merge 1 commits from kimi/issue-362 into main
Collaborator

Adds a 15-second heartbeat ping to the Workshop WebSocket relay (/api/world/ws) so dead connections — especially from Safari tab suspension on iPad — are detected promptly instead of only on the next broadcast.

Also adds tests for the heartbeat mechanism.

Fixes #362

Adds a 15-second heartbeat ping to the Workshop WebSocket relay (`/api/world/ws`) so dead connections — especially from Safari tab suspension on iPad — are detected promptly instead of only on the next broadcast. Also adds tests for the heartbeat mechanism. Fixes #362
kimi added 1 commit 2026-03-19 02:01:48 -04:00
fix: add WebSocket heartbeat ping for iPad resilience
All checks were successful
Tests / lint (pull_request) Successful in 3s
Tests / test (pull_request) Successful in 1m3s
95419c7c7b
Adds a 15-second heartbeat ping to the Workshop WebSocket relay so dead
connections (e.g. Safari tab suspension) are detected promptly instead of
only on the next broadcast.  Completes the Phase 3 Bridge MVP acceptance
criteria for connection health monitoring.

Fixes #362

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
rockachopa closed this pull request 2026-03-19 03:23:26 -04:00
All checks were successful
Tests / lint (pull_request) Successful in 3s
Tests / test (pull_request) Successful in 1m3s

Pull request closed

Sign in to join this conversation.