# NousResearch/hermes-agent · Desktop WebSocket churn and relay dial fixes

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #118865: fix(desktop): scope gateway activation lease ownership

A bug report and two fixes addressing unnecessary WebSocket connection cycling on the desktop client, including dialing the bot relay drain when idle and gateway activation lease scoping issues.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 0 PR(s) closed without merging.
- A fix was merged to main in PR #121472. Verify it addresses your case.
- **Recommended:** read PR #121472 (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: `resolved` · deciding PR(s): `pr-121472`. 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.

## Closed / duplicate issues

- #118856: \[Bug\]\[Desktop\] WebSocket dial/teardown churn on a ~30 s cadence survives the #94769 fix (v0.21.4, Linux/Wayland, 2 connections x 4 profiles)

## Prior & competing PRs

- **#121472: fix(desktop): do not dial the bot relay drain with nothing to deliver**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/plugins/hermes-bots/relay.test.ts`, `apps/desktop/src/plugins/hermes-bots/relay.ts`
- **#118865: fix(desktop): scope gateway activation lease ownership**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `16e1311c96d3d0b6535ee49653bc95806f288fe0`, `#93937`, `#118856`, `#119836`
  - files: `apps/desktop/src/sdk/index.ts`, `apps/desktop/src/sdk/profile-routing.test.ts`, `apps/desktop/src/store/connections.test.ts`, `apps/desktop/src/store/connections.ts`, `apps/desktop/src/store/gateway-activation-prune-lease.test.ts`, `apps/desktop/src/store/gateway.ts`, `apps/desktop/src/store/profile.ts`

## Fix status

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