SQLite concurrency, WAL locks, and session integrity
Cluster 30816 · agent. Data as of
1 open item. Fix merged in #108082 on 11 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 0 issues already closed.
- Fix event
- A fix was merged to main in PR #108082. 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
- 1 issue and 0 PRs.
Next step: read #108082, then check whether your report is the one still open.
Read #108082Pick up a Lab taskThese issues and fixes center on SQLite write-lock contention, WAL mode failures (including APFS edge cases), and resulting problems with session indexing and state reliability when CLI and gateway processes access the database concurrently. Several members address error handling, retries, and fallback strategies to prevent silent failures and freezes.
Open issues1
- Issue#30816apply_wal_with_fallback: DELETE fallback uncaught — crashes on APFS external SSDs
Open PRs0
Fixes on record
-
#108082 state.db no longer wedges on a healthy WAL: OpenZFS/close() false DeletedWalGenerationError, unconfirmed-WAL read pool, transient read IOERR, stale lock banner (#107401 #105567 #86515 #100871 #108031, salvage #107411 #105578 #105711 #106958)
files:
agent/turn_explainers.py,contributors/emails/[redacted:email],contributors/emails/[email protected],gateway/run_notifications.py,hermes_state.py,hermes_state_dbfile.py,hermes_state_errors.py,hermes_state_readpool.py,hermes_state_wal.py,tests/gateway/test_session_db_warning_recheck.py,tests/hermes_state/test_deleted_wal_generation_guard.py,tests/hermes_state/test_read_path_transient_ioerr.py,tests/hermes_state/test_wal_active_confirmed.py,tests/run_agent/test_turn_completion_explainer.py,tests/test_hermes_state_wal_fallback.py
2 PRs closed without merging
From the close comments: merged via another change 1 · stale or abandoned 1
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.50: 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
- #108082
- Closed issues
- 0
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 11 Sep 2026