Gateway switching session identity and ordering fixes
Cluster 93937. Data as of
Nothing open on GitHub. Fix merged in #95080 on 26 Aug 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 #95080. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #95080. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address bugs in desktop gateway switching logic, specifically around preserving correct route identity, ensuring switches are committed before the new source is published, and preventing previous session IDs from leaking into new sessions.
Open issues0
Open PRs0
Fixes on record
-
#95080 fix(desktop): gateway switches, primary reuse, and session routing hold exact route identity (multi-gateway class 1, tracker #94724)
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/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-hermes-config.test.ts,apps/desktop/src/app/session/hooks/use-hermes-config.ts,apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx,apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts,apps/desktop/src/app/session/hooks/use-route-resume.test.tsx,apps/desktop/src/app/session/hooks/use-route-resume.ts,apps/desktop/src/app/session/hooks/use-session-actions.test.tsx,apps/desktop/src/app/session/hooks/use-session-actions/index.ts,apps/desktop/src/app/session/hooks/use-session-list-actions.test.tsx,apps/desktop/src/app/session/hooks/use-session-list-actions.ts,apps/desktop/src/lib/json-rpc-gateway-recovery.test.ts,apps/desktop/src/lib/with-timeout.test.ts,apps/desktop/src/lib/with-timeout.ts,apps/desktop/src/store/connections.test.ts(+19 more)
1 PR closed without merging
From the close comments: merged via another change 1
-
#94145 fix(desktop): commit gateway switches before publishing the new source (#93937) · merged via another change →
682a34a,#95080,#94724
Closed issues · 1
- Closed#93937[Bug]: Registered-gateway switcher leaks previous runtime session ID and returns "session not found"
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
- #95080
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 26 Aug 2026