In-place mutation of persisted dicts leaves stale DB rows
Cluster 117120. Data as of
Nothing open on GitHub. Fix merged in #117569 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 #117569. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #117569. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items concern a bug where in-place mutations of stamped live dicts in the agent do not propagate correctly to state.db, leaving stale rows. The fix involves popping _db_persisted to ensure changes reach the database.
Open issues0
Open PRs0
Fixes on record
-
#117569 fix(agent): in-place repairs of persisted message dicts reach state.db instead of leaving stale rows (#117120, salvage #117121)
files:
agent/agent_runtime_helpers.py,agent/message_sanitization.py,agent/micro_compaction.py,agent/turn_iteration_prep.py,agent/turn_recovery.py,tests/agent/test_message_sequence_repair.py,tests/agent/test_micro_compaction.py,tests/agent/test_tool_call_args_sanitizer.py,tests/agent/test_unicode_ascii_codec.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#117121 fix(agent): pop _db_persisted on in-place mutations of stamped live dicts · merged via another change →
b8363f1,#117569
Closed issues · 1
- Closed#117120In-place mutations of _db_persisted live dicts leave stale rows in state.db
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
- #117569
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 20 Sep 2026