Session write-lock contention causing turn failures
Cluster 74478 · hermes cli. Data as of
Nothing open on GitHub. Fix merged in #75885 on 1 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #75885. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #74480. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where sibling processes holding the state.db write lock for a few seconds could abort turns with session persistence failures. Fixes introduce time-based lock patience with backoff jitter to tolerate brief lock contention.
Open issues0
Open PRs0
Fixes on record
-
#74480 fix(state): time-based write-lock patience so busy sibling processes can't destroy turns
files:
hermes_state.py,tests/state/test_write_lock_patience.py -
#75885 fix(config): refuse writes over corrupt YAML; fix same-URL provider extra_headers shadowing
files:
hermes_cli/config.py,tests/hermes_cli/test_custom_provider_extra_headers.py,tests/hermes_cli/test_set_config_value.py
1 PR closed without merging
From the close comments: superseded by another PR 1
-
#74503 fix(sessiondb): time-based lock patience with backoff jitter (#74478) · superseded by another PR →
8da8a78,#74480,#75885
Closed issues · 1
- Closed#74478[Bug]: Turn aborted as session_persistence_failed / SessionDB init disabled when a sibling process holds the state.db write lock for a few seconds
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 Lab