Desktop SSH/serve backend cleanup on disconnect or quit
Cluster 91668 · apps/desktop. Data as of
Nothing open on GitHub. Fix merged in #95085 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 #95085. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address desktop SSH connections and serve backends not being properly terminated when a gateway connection closes or the application quits, with fixes involving auth envelope binding and owned backend cleanup.
Open issues0
Open PRs0
Fixes on record
-
#95085 fix(desktop): auth envelopes and backend processes stay bound to their connection (multi-gateway classes 5+6, tracker #94724)
files:
apps/desktop/electron/connection-apply.test.ts,apps/desktop/electron/connection-apply.ts,apps/desktop/electron/connection-registry.test.ts,apps/desktop/electron/connection-registry.ts,apps/desktop/electron/main.ts,apps/desktop/electron/native-auth-decisions.test.ts,apps/desktop/electron/native-auth-decisions.ts,apps/desktop/electron/native-oauth.test.ts,apps/desktop/electron/native-oauth.ts,apps/desktop/electron/primary-backend-startup.test.ts,apps/desktop/electron/primary-backend-startup.ts,apps/desktop/electron/remote-lifecycle.test.ts,apps/desktop/electron/remote-lifecycle.ts,apps/desktop/electron/remote-ws-headers.test.ts,apps/desktop/electron/remote-ws-headers.ts,apps/desktop/electron/ssh-bootstrap-coordinator.test.ts,apps/desktop/electron/ssh-bootstrap-coordinator.ts,apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts,apps/desktop/src/app/settings/gateway-settings.test.ts,apps/desktop/src/app/settings/gateway-settings.tsx(+9 more)
1 PR closed without merging
From the close comments: merged via another change 1
-
#94628 fix(desktop): terminate owned SSH serve backends on quit · merged via another change →
25d46c7,#95085,#94724
Closed issues · 1
- Closed#91668Desktop SSH connections and `serve` backends leak on remote gateway after Cmd+Q
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
- #95085
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 26 Aug 2026