Commit 49744fe
feat: Implement Epic #678 - Payload Size Control with Server-Side Caching
Complete implementation of payload truncation and caching for all search types:
Stories Implemented:
- S1 (#679): Semantic search payload control with SQLite cache
- S2 (#680): FTS search payload control
- S3 (#681): Hybrid search payload control
- S4 (#682): Temporal search payload control
- S5 (#683): Multi-repo search payload control
- S6 (#684): Regex search payload control
- S7 (#685): SCIP queries payload control
- S8 (#686): File content default chunking
Key Features:
- SQLite-based cache with WAL mode for concurrent access
- UUID4 cache handles for content retrieval
- Preview truncation at 2000 chars (configurable)
- Paginated retrieval at 5000 chars/page
- TTL-based cleanup (15 min default)
- MCP tool: cidx-get-cached-content for retrieval
- REST endpoint: /api/cache/{handle}
- Web UI config for all payload cache settings
- Full parity between MCP and REST interfaces
Version bump: 8.4.46 → 8.5.0
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent d6bafce commit 49744fe
File tree
62 files changed
+11372
-154
lines changed- src/code_indexer
- server
- cache
- mcp
- query
- routers
- routes
- services
- utils
- web
- templates/partials
- tests
- e2e/server
- integration/server
- server/web
- unit/server
- cache
- handlers
- mcp
- routes
- services
- utils
- web
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+11372
-154
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
180 | 190 | | |
0 commit comments