Desktop session routing race condition bug and fix
Cluster 66057 · apps/desktop. Data as of
Nothing open on GitHub. Fix merged in #127231 on 1 Oct 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 #127231. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #127231. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where creating a new session causes the prompt to jump back to an old session, addressed by holding a creation guard until the route updates to reflect the new session.
Open issues0
Open PRs0
Fixes on record
-
#127231 fix(desktop): hold the create guard until the route catches up to the new session
files:
apps/desktop/src/app/chat/composer/hooks/use-composer-submit.restore-scoping.test.tsx,apps/desktop/src/app/contrib/wiring.tsx,apps/desktop/src/app/session/hooks/default-new-session.test.tsx,apps/desktop/src/app/session/hooks/profile-rail-fresh-chat-owner.test.tsx,apps/desktop/src/app/session/hooks/resume-occurrences.test.tsx,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-actions/remove-archived-session.test.tsx,apps/desktop/src/app/session/hooks/use-session-actions/unarchive-session.test.tsx,apps/desktop/src/app/session/hooks/use-session-state-cache.test.tsx,apps/desktop/src/app/session/hooks/warm-resume-replay-barrier.test.tsx,apps/desktop/src/app/session/hooks/wrong-session-closeout.test.tsx
1 PR closed without merging
From the close comments: stale or abandoned 1
-
#66610 fix(desktop): hold create guard until route catches new session · stale or abandoned →
#66546,#66524,#66523
Closed issues · 1
- Closed#66057bug(desktop): new session sends prompt then jumps back to old session
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
- Subsystem
- apps/desktop
- Merged PRs
- #127231
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 1 Oct 2026