Reduce SQLite connections during message delivery
Cluster 117949. Data as of
Nothing open on GitHub. Fix merged in #118962 on 22 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 #118962. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #118962. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address excessive SQLite connection usage in the delivery ledger, where sweeps and retention checks were triggering multiple database connections per delivered message. Work involves bounding sweep frequency and consolidating connection overhead.
Open issues0
Open PRs0
Fixes on record
-
#118962 perf: one SQLite connection per delivered reply, memory-context bullets stated once, capability epoch ignores archived skills (salvage #117399, #117789, #117951)
files:
agent/memory_manager.py,gateway/delivery_ledger.py,tests/agent/test_memory_context_dedupe.py,tests/gateway/test_delivery_ledger.py,tests/gateway/test_delivery_ledger_single_connection.py,tests/tools/test_capability_fingerprint_skill_scope.py,tools/bot_mode_probe.py
1 PR closed without merging
From the close comments: done elsewhere 1
-
#117951 perf(gateway): sweep the delivery ledger on a bound, not on every reply · done elsewhere →
28bd8cc,#118962
Closed issues · 1
- Closed#117949Delivery ledger sweeps retention on every reply — 4 SQLite connections per delivered message
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
- #118962
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 22 Sep 2026