Skip to content

fix: fall back to legacy sensing websocket#372

Closed
Safrolomancer wants to merge 1 commit into
ruvnet:mainfrom
Safrolomancer:fix/ui-legacy-ws-fallback
Closed

fix: fall back to legacy sensing websocket#372
Safrolomancer wants to merge 1 commit into
ruvnet:mainfrom
Safrolomancer:fix/ui-legacy-ws-fallback

Conversation

@Safrolomancer
Copy link
Copy Markdown

This keeps the UI working with the legacy Python/macOS sensing server by trying ws://localhost:8765/ws/sensing when same-origin /ws/sensing is unavailable. It also treats macos_wifi as a live source so the UI does not label a real macOS stream as simulated.

@ruvnet
Copy link
Copy Markdown
Owner

ruvnet commented May 17, 2026

Closing — superseded by #572 (fix(ui): map sensing websocket port for docker) which landed yesterday. #572 added buildSensingWsUrl() with explicit port-mapping (Docker HTTP 3000 → WS 3001, Python 8080 → WS 8765) and the missing-connection guards in websocket.service.js. The intent of this PR (fallback when the primary WS path is unavailable) is now covered by that port-mapping logic plus the cleanup-race guards. If there's a specific failure mode #572 doesn't cover, please file a focused issue with the reproduction.

@ruvnet ruvnet closed this May 17, 2026
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.

2 participants