# NousResearch/hermes-agent · SQLite sessions not closed on gateway suspend/restart

## Open now

- 1 issue, 0 PRs open on GitHub.
- #9090: \[Bug\]: Feishu WebSocket sessions not closed on gateway restart — zombie sessions accumulate in DB

Reports and a fix attempt address zombie sessions accumulating in the database when the gateway restarts, because suspend_all() does not mark sessions as ended in SQLite. Affects at least Feishu WebSocket and conversation history.

## TL;DR

- 3 member(s): 1 open issue(s), 1 closed issue(s), 0 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.45`: 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

- #9090: \[Bug\]: Feishu WebSocket sessions not closed on gateway restart — zombie sessions accumulate in DB

## Closed / duplicate issues

- #8777: Gateway restart causes conversation history loss — suspend_all() does not mark sessions as ended in SQLite

## Prior & competing PRs

- **#10171: fix(session): end SQLite sessions when suspending to prevent zombie sessions (#9090)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
