FTS5 trigram index bloat from tool_calls JSON
Cluster 43690 · agent. Data as of
Nothing open on GitHub. Fix merged in #65798 on 22 Jul 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 #65798. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #65798. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address excessive database size caused by trigram full-text search indexing of structured JSON tool_calls data. Proposed fixes include excluding tool_calls from the trigram index and restructuring FTS layout to reduce storage expansion.
Open issues0
Open PRs0
Fixes on record
-
#65798 perf(state): compact v23 FTS layout — external-content indexes, tool-row-free trigram, opt-in `hermes sessions optimize-storage`
files:
.github/actions/detect-changes/action.yml,.github/actions/get-app-token/action.yml,.github/workflows/ci.yml,.github/workflows/contributor-check.yml,.github/workflows/deploy-site.yml,.github/workflows/e2e-desktop.yml,.github/workflows/history-check.yml,.github/workflows/js-autofix.yml,.github/workflows/label-rerun.yml,.github/workflows/lint.yml,.github/workflows/lockfile-diff.yml,.github/workflows/osv-scanner.yml,.github/workflows/review-labels.yml,.github/workflows/skills-index-freshness.yml,.github/workflows/skills-index.yml,.github/workflows/supply-chain-audit.yml,.github/workflows/upload_to_pypi.yml,.github/workflows/uv-lockfile-check.yml,.gitignore,Dockerfile(+1196 more)
1 PR closed without merging
From the close comments: done elsewhere 1
-
#43701 fix(db): exclude tool_calls JSON from trigram FTS5 index to reduce bloat · done elsewhere →
#65798
Closed issues · 1
- Closed#43690FTS5 Trigram Index Bloat: 18.3x Expansion on Structured JSON Data (tool_calls)
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
- Subsystem
- agent
- Merged PRs
- #65798
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 22 Jul 2026