Idea detail
code_file_negative_cache
reqlan rq/indexer/cache-reuse.rq:38
block
done
Summary
Allowlisted code files with no comment_reference still get a documents_table
row ( `content_hash` + `mtime_ms`, no ideas, no edges ). Soft soft_sync and
idle_stale_check then mtime-skip them instead of re-reading forever.
Do not invent fake ideas or edges. `extract_version` mismatch and hard rebuild still force
re-scan. Idea listing stays correct with empty documents. Diagnostics must not call a
no-row Empty write `persisted` ( use `empty` ).
Related: index_code_files, code_file_negative_cache, nonblocking_index.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | sync.rs, store.rs, workspace-index.ts, index-diagnostics-store.ts |
| status | done |
| tests | code_file_index.rs:soft_sync_mtime_skips_code_files_without_comment_refs, code_file_index.rs:dropping_comment_refs_keeps_document_without_edges, code_file_index.rs:hard_rebuild_rescans_negative_cached_code_file, workspace-index.test.ts:soft sync mtime-skips code files without comment refs |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | already_cached | reqlan rq/indexer/cache-reuse.rq | code_file_negative_cache |
| references | index_code_files | reqlan rq/indexer/indexer.rq | code_file_negative_cache |
| references | soft_sync | reqlan rq/indexer/sequencing.rq | code_file_negative_cache |
| references | documents_table | reqlan rq/indexer/sqlite-schema.rq | code_file_negative_cache |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…