Repository navigation
CodeDB 0.2.5866
This patch fixes runaway memory use when a project populates a dependency cache inside its checkout. CodeDB skips directories with a valid CACHEDIR.TAG during indexing and watcher updates. It checks saved snapshots and search indexes when reopening the project, so an old index cannot bring excluded cache paths back into search.
A successful cold CLI query now starts its warm daemon after the foreground query completes. This release also fixes directory syncing when persisting a semantic index on Linux.
In the reported incident, memguard killed a local context query at 113.5 GB. Testing the fix on the same checkout returned the expected Rust test in under one second using less than 400 MiB peak RSS. This measurement used a foreground query with an isolated index and both Cargo caches readable.
Memory fix and regression coverage · Main-branch verification