Trigram FTS index bloat and opt-out controls
Cluster 22478 · agent. Data as of
1 open item. Fix merged in #65798 on 22 Jul 2026. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 2 issues 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
- 0 issues and 1 PR.
These items address excessive state.db size caused by trigram full-text search indexes, and introduce various config flags, environment variables, and storage layout changes to allow disabling or reducing those indexes.
Open issues0
Open PRs1
- PR#68394feat(state): add sessions.trigram_fts config flag to disable the trigram FTS index
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)
2 PRs closed without merging
From the close comments: closed without comment 1 · other 1
Closed issues · 2
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.36: 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
- 2
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 22 Jul 2026