Gateway SessionDB error handling and data safety
Cluster 93088. Data as of
Nothing open on GitHub. Fix merged in #93353 on 24 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 #93353. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #93353. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address how the gateway handles SessionDB initialization errors, including preventing permanent caching of unavailable sessions, retrying unsuccessful opens, and protecting canonical data when state.db repair is unsuccessful.
Open issues0
Open PRs0
Fixes on record
-
#93353 fix(state): failed state.db repair no longer destroys canonical data; gateway retries failed SessionDB opens (#93064, #93088)
files:
gateway/readiness.py,gateway/run.py,gateway/session.py,gateway/session_db_recovery.py,gateway/status.py,hermes_state.py,tests/gateway/test_readiness.py,tests/gateway/test_session_db_recovery.py,tests/test_state_db_repair_non_destructive.py,tests/test_state_db_write_durability.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#93114 fix(gateway): restore session history after transient database failure · merged via another change →
6dddece,fbbab49,79b0fde,#93353
Closed issues · 1
- Closed#93088[Bug]: gateway permanently caches unavailable SessionDB after init failure
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
1.00: 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
- Merged PRs
- #93353
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 24 Aug 2026