# NousResearch/hermes-agent · Desktop backend connection race and restart handling around compaction

## Open now

- 1 issue, 0 PRs open on GitHub.
- #127974: \[Bug\]: Desktop backend-connection race on context compaction — duplicated message rendering + repeated backend restarts

The members concern the desktop app's backend connection: one bug report describes a race during context compaction with duplicated message rendering and repeated backend restarts, and two fix-titled items address single-flighting the primary backend start and querying the backend about a silent live turn. The titles suggest a related theme, but they do not show whether the fixes address the reported bug or their status.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #128401. Verify it addresses your case.
- **Recommended:** read PR #128401 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Open related issues

- #127974: \[Bug\]: Desktop backend-connection race on context compaction — duplicated message rendering + repeated backend restarts

## Prior & competing PRs

- **#128401: fix(desktop): ask the backend before settling a silent live turn**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/contrib/hooks/use-background-sync.test.tsx`, `apps/desktop/src/app/contrib/hooks/use-background-sync.ts`, `apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/session-info.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/rewind.test.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/rewind.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts`, `apps/desktop/src/i18n/de.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/es.ts`, `apps/desktop/src/i18n/fr.ts`, `apps/desktop/src/lib/chat-messages/index.ts`, `apps/desktop/src/lib/chat-messages/parts.ts`, `apps/desktop/src/lib/error-surface.ts`, `apps/desktop/src/store/session-states.ts`, `apps/desktop/src/store/session-watchdog.test.ts`, `locales/_keys.desktop.json`
- **#128400: fix(desktop): single-flight the primary backend start so reconnects cannot cascade**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#127974`, `#128528`, `#128401`

## Fix status

- Merged to main in PR #128401 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-29`.
- Subsystem: `apps/desktop`
