NousResearch/hermes-agent

SQLite compaction blocking writes during cutover

Cluster 90173 · evals/compaction. Data as of

Nothing open on GitHub. Fix merged in #99652 on 31 Aug 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #99652. 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 relate to a compaction process that holds a SQLite write lock for an extended period, blocking other operations. A fix stages compaction rows before the atomic cutover to reduce lock contention.

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.

  • #99652 fix(state): structurally corrupt state.db no longer keeps accepting writes (#97940, salvage #96038)

    merged to main

    files: contributors/emails/[redacted:email], gateway/session.py, hermes_state.py, tests/gateway/test_session.py, tests/state/test_fts_runtime_rebuild.py

2 PRs closed without merging

From the close comments: superseded by another PR 2

  • #100273 fix(state): stage compaction rows before atomic cutover · superseded by another PR → ec703ce, 18a76be, 51569c1, 9bb36a9, #100300
  • #100300 fix(state): stage compaction rows before atomic cutover · superseded by another PR → #96038, #99652, #100300
Closed issues · 1
  • Closed#90173Context compression holds SQLite write lock 25-140s, blocking gateway turns ('session storage was busy')
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.67: 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
evals/compaction
Merged PRs
#99652
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
31 Aug 2026

For your agent

The same facts, typed.