# NousResearch/hermes-agent · Fix timeout limits for large state DB snapshots

## Open now

- 1 issue, 3 PRs open on GitHub.
- #128605: Desktop update pre-flight: fixed 30s cap on the state.db emergency snapshot bricks updates once state.db is large (CLI path skips >1GB)
- PR #128607: fix(desktop): allow large state snapshots to finish
- PR #128610: fix(desktop): scale state snapshot timeout to database size
- PR #128698: fix(desktop): keep large database backup preflight responsive

These issues and PRs address a problem where large state.db files caused update pre-flight snapshot operations to hit fixed timeout caps, making desktop updates unresponsive or skipping snapshots above certain size thresholds. The fixes scale timeouts to database size and keep the process responsive.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 3 open PR(s), 0 merged PR(s), 0 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: 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

- #128605: Desktop update pre-flight: fixed 30s cap on the state.db emergency snapshot bricks updates once state.db is large (CLI path skips >1GB)

## Prior & competing PRs

- **#128607: fix(desktop): allow large state snapshots to finish**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `apps/desktop/electron/updater/state-db-preflight.ts`
- **#128610: fix(desktop): scale state snapshot timeout to database size**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `apps/desktop/electron/updater/state-db-preflight.test.ts`, `apps/desktop/electron/updater/state-db-preflight.ts`
- **#128698: fix(desktop): keep large database backup preflight responsive**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `81c4a69520`, `#128610`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/electron/updater/state-db-preflight.test.ts`, `apps/desktop/electron/updater/state-db-preflight.ts`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
