state.db journal mode warnings and configuration fixes
Cluster 89293 · agent. Data as of
Nothing open on GitHub. Fix merged in #96439 on 27 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #96439. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #96439. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address silent or problematic handling of SQLite journal_mode settings in state.db, including a corruption scenario where journal_mode reverted to WAL unexpectedly. Changes add warnings and improve configurability around journal mode behavior.
Open issues0
Open PRs0
Fixes on record
-
#96439 state.db journal-mode choices are no longer silently ignored; synchronous is pinnable everywhere (salvage #85609, #89393, #90892)
files:
cli-config.yaml.example,hermes_state.py,tests/test_journal_mode_config.py,tests/test_journal_mode_upgrade_warning.py,tests/test_state_synchronous_pragma.py,website/docs/user-guide/configuration.md
1 PR closed without merging
From the close comments: merged via another change 1
-
#89393 fix(state): warn when an existing database's journal_mode is flipped to WAL · merged via another change →
#96439,#85609,#89293,#90950
Closed issues · 1
- Closed#89293Repeated state.db corruption on busy single-host deployment (3 incidents in 8 days): lock storm + restart-in-window + journal_mode silently reverted to WAL after upgrade
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.00means 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 LabAt a glance
- Subsystem
- agent
- Merged PRs
- #96439
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 27 Aug 2026