TUI session continuity across WebSocket reconnects
Cluster 111594. Data as of
Nothing open on GitHub. Fix merged in #112227 on 16 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #112227. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #112227. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a bug where the attached TUI fails to preserve or correctly restore the session after a gateway or WebSocket connection drop. The work focuses on ensuring reconnects reattach to the same session and recover events properly.
Open issues0
Open PRs0
Fixes on record
-
#112227 fix(tui): attached TUI reconnects and reopens the same session after a socket drop (#111594, salvage #111599)
files:
ui-tui/src/__tests__/createGatewayEventHandler.test.ts,ui-tui/src/__tests__/gatewayClient.test.ts,ui-tui/src/__tests__/useSessionLifecycleStoredSid.test.ts,ui-tui/src/app/createGatewayEventHandler.ts,ui-tui/src/app/interfaces.ts,ui-tui/src/app/uiStore.ts,ui-tui/src/app/useMainApp.ts,ui-tui/src/app/useSessionLifecycle.ts,ui-tui/src/app/userMessages.ts,ui-tui/src/gatewayClient.ts,ui-tui/src/gatewayTypes.ts,website/docs/user-guide/tui.md
1 PR closed without merging
From the close comments: merged via another change 1
-
#111599 fix(tui): preserve sessions across gateway reconnects · merged via another change →
5a4c3b3,#112227
Closed issues · 1
- Closed#111594[Bug]: Attached TUI loses recovery events and resumes with the wrong session ID after WebSocket reconnect
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #112227
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 16 Sep 2026