fix(FN-958): fix terminal idle disconnect with heartbeat tolerance

- Add heartbeat tolerance window to prevent false idle disconnects on terminal connections
- Increase client heartbeat interval from 30s to 45s for better idle tolerance
- Add session staleness detection on reconnect with idle state logging
- Add tests for heartbeat tolerance and client interval configuration
- Add changeset for patch release
This commit is contained in:
gsxdsm
2026-04-04 23:43:20 -07:00
parent 2b857cd245
commit bf1cb5df5c
5 changed files with 292 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
---
"@gsxdsm/fusion": patch
---
Fix terminal WebSocket disconnect after tab idle. Server now tolerates 2 consecutive missed pongs (~90s) before terminating, and client heartbeat interval increased to 45s for better resilience against browser throttling.