Conversation
Add process-global live cache stats registry (OnceLock<DashMap>) that mirrors embedding cache entry counts without opening a second LMDB env. When doctor runs in-process inside serve, it now reads stats from the live registry instead of calling PersistentEmbeddingCache::open, which would trip TrackedEnv's double-open guard. - src/embed/cache.rs: cache_dir_for(), live_stats(), refresh_live_stats() - src/lmdb_registry.rs: is_open() predicate - src/cli/doctor.rs: fast-path via live_stats + file-based fallback
🚀 release: v1.0.207 — host binding, Jupyter/Dart support, LMDB stability fixes
📝 docs: add Branching & PR workflow section (PRs target develop)
📝 docs: add Branching & PR workflow to AGENTS.develop.md template
🚀 release: v1.0.208 — doctor LMDB double-open fix
🔧 test: ignore flaky test_prepare_text (ONNX model dependency)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Patch release promoting
develop→master.What's new since v1.0.207
Fixed
doctorin the embedded TUI failed withLMDB double-open prevented: runningdoctorwhileserveheld the embedding cache open tried to open a second LMDB environment on the same directory.check_embedding_cachenow reads live stats from a process-global registry (no env open), falls back to on-diskdata.mdbmetadata, and only opens a new env in the standalone CLI path.Changed
develop-based gitflow inAGENTS.md+AGENTS.develop.md(PRs targetdevelop,masteris release-only, merge commits, owner review override).Version