Sleep/wake reconnection and half-open connection fixes
Cluster 89083 · apps/desktop. Data as of
Nothing open on GitHub. Fix merged in #93361 on 24 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #93361. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #93361. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address connection handling failures after sleep/wake cycles, including half-open WebSocket gateways on desktop and session reconnect logic that could strand or flood sessions.
Open issues0
Open PRs0
Fixes on record
-
#93292 fix(desktop): Bot Chats no longer stick as running after a gateway restart (salvage #93222)
files:
apps/desktop/src/app/chat/session-tile-actions.test.ts,apps/desktop/src/app/chat/session-tile-actions.ts,apps/desktop/src/app/chat/session-tile-attachments.test.tsx,apps/desktop/src/app/chat/session-tile.tsx,apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx,apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts,apps/desktop/src/store/gateway-connection-lifecycle.test.ts,apps/desktop/src/store/gateway.ts,apps/desktop/src/store/session-states.test.ts,apps/desktop/src/store/session-states.ts -
#93361 fix(sessions): reconnect no longer strands or storms sessions — reap loop broken, owner-routed RPCs (8 salvages, #91276 cluster)
files:
apps/desktop/electron/main.ts,apps/desktop/electron/profile-session-routing.test.ts,apps/desktop/electron/profile-session-routing.ts,apps/desktop/src/app/chat/session-tile.test.ts,apps/desktop/src/app/chat/session-tile.tsx,apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.test.ts,apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts,apps/desktop/src/app/contrib/wiring.tsx,apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx,apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx,apps/desktop/src/app/session/hooks/use-prompt-actions/resolve-target-session.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/single-flight-resume.test.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/single-flight-resume.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/utils.ts,apps/desktop/src/app/session/hooks/use-session-actions/index.ts,apps/desktop/src/components/assistant-ui/tool/approval.tsx,apps/desktop/src/store/gateway-connection-lifecycle.test.ts,apps/desktop/src/store/gateway.ts(+18 more)
1 PR closed without merging
From the close comments: merged via another change 1
-
#89092 fix(desktop): force-redial half-open gateways after wake · merged via another change →
#93361,#89083,#93292
Closed issues · 1
- Closed#89083Desktop: chat window permanently unresponsive after macOS sleep/wake (half-open WebSocket never detected; reconnect guarded by gatewayOpen())
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.50: 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 Lab