Negative session retention days causes mass deletion
Cluster 116361. Data as of
Nothing open on GitHub. Fix merged in #116735 on 20 Sep 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 #116735. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #116735. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where negative values for sessions.retention_days incorrectly cause all ended sessions to be deleted during auto-pruning. The members cover the bug report and related fix attempts addressing validation or correction of negative retention bounds.
Open issues0
Open PRs0
Fixes on record
-
#116735 fix(state): negative sessions.retention_days no longer deletes every ended session (#116361, salvage #116362)
files:
hermes_state_gateway.py,hermes_state_maintenance.py,tests/hermes_cli/test_session_vacuum_config.py,tests/hermes_state/test_hermes_state.py,website/docs/user-guide/sessions.md
1 PR closed without merging
From the close comments: merged via another change 1
-
#116362 fix(state): reject negative retention bounds in session prune paths · merged via another change →
7773766,#116735,#116361,#116362
Closed issues · 1
- Closed#116361[Bug]: Negative sessions.retention_days turns the auto-prune cutoff into mass deletion of ended sessions
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
- Merged PRs
- #116735
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 20 Sep 2026