Desktop profile-switch gateway error handling

NousResearch/hermes-agent · cluster 81094 · apps/desktop

Data as of

Nothing open on GitHub. Fix merged in #89785. Check it covers your case.

The short answer

0open issues
0open PRs
7items grouped
Known?
Yes. 7 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #89785. 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 a desktop issue where failures or declines during profile switching and gateway changes were being silently suppressed or incorrectly routed to the primary backend. The work focuses on surfacing these errors rather than falling back silently.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #89785 fix(desktop): profile switching works again — revert the atomic-publish activation series (#89622)

    merged to main

    files: apps/desktop/src/store/gateway.ts, apps/desktop/src/store/profile-agent-activation.test.ts, apps/desktop/src/store/profile.test.ts, apps/desktop/src/store/profile.ts

  • #89797 fix(desktop): profile switches publish atomically without ever failing closed (#46651, #89622)

    merged to main

    files: apps/desktop/src/store/gateway-activation-prune-lease.test.ts, apps/desktop/src/store/gateway.ts, apps/desktop/src/store/profile-agent-activation.test.ts, apps/desktop/src/store/profile.ts

  • #89875 fix(desktop): release builds keep profile-switch publications — nanostores 1.4.2 (salvage #89690)

    merged to main

    files: apps/bootstrap-installer/package.json, apps/desktop/package.json, apps/desktop/src/store/nanostores-batch-guard.test.ts, contributors/emails/[redacted:email], ui-tui/package.json

  • #95080 fix(desktop): gateway switches, primary reuse, and session routing hold exact route identity (multi-gateway class 1, tracker #94724)

    merged to main

    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)

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #81165 fix(desktop): surface profile-switch failures instead of falling back to primary socket · merged via another change → 682a34a, #95080, #94724
  • #89609 fix(desktop): report a declined gateway switch instead of resolving silently · done elsewhere → #89622, #89785, #89797, #89875, #89621, #89609
Closed issues · 1
  • Closed#81094Desktop: switching to a secondary profile can route messages to the primary backend when a manual gateway process exists
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.29: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means 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

At a glance

Subsystem
apps/desktop
Merged PRs
#89785, #89797, #89875, #95080
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
26 Aug 2026

For your agent

The same facts, typed.