-
Notifications
You must be signed in to change notification settings - Fork 7.6k
fix: 3.7.1 critical patch — hang, re-mine honesty, stale Chroma cache #2228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
181e00a
fix(mcp_server): reset chromadb System cache on staleness reconnect (…
colorpanda82 e5db079
fix(chroma): reset chromadb System cache in ChromaBackend._client() o…
colorpanda82 e672a3f
test(chroma): reformat test_backends.py to satisfy ruff format
colorpanda82 7777094
test(mcp_server): re-acquire closets handle after delete_by_source
colorpanda82 3da1d79
fix(miner): close four re-mine safety gaps in process_file
KeilerHirsch db29959
fix(ingest): never block on a non-regular file (#2221)
mvalentsev 0f3f0c6
docs(changelog): note the non-regular-file ingest hang (#2221)
mvalentsev f19f961
merge: fix(miner) re-mine completion safety (#2088)
igorls 1654cd2
fix: 3.7.1 critical patch — re-mine honesty + SIGTERM lock release
igorls 1104089
merge: fix(mcp) reset chromadb System cache on reconnect (#2002, #2026)
igorls f32f362
merge: fix(chroma) reset System cache on backend reopen (#2028, #2032)
igorls 759b8f1
fix(convo): stamp chunk_total and clean partial multi-batch mines (#2…
igorls fc1431a
test(repair): release SharedSystemClient after seeding for Windows re…
igorls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After any write changes
chroma.sqlite3, the next backend lookup reaches this branch because_freshnessis updated only when_client()opens a client, not by write methods. This clearsSharedSystemClientwhileself._clients[palace_path]and previously returned collection adapters still reference the old live System, then constructs a second System for the same palace; the stale System can subsequently persist its old HNSW state over newer data. Mirror_force_chroma_cache_reset()by closing and evicting the cached palace client before clearing the shared cache, or refresh the snapshot after self-writes so this path is limited to genuine external changes.AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.