Skip to content

Release v1.0.208 — doctor LMDB double-open fix#128

Merged
flupkede merged 10 commits into
masterfrom
develop
Jun 14, 2026
Merged

Release v1.0.208 — doctor LMDB double-open fix#128
flupkede merged 10 commits into
masterfrom
develop

Conversation

@flupkede

Copy link
Copy Markdown
Owner

Patch release promoting developmaster.

What's new since v1.0.207

Fixed

  • doctor in the embedded TUI failed with LMDB double-open prevented: running doctor while serve held the embedding cache open tried to open a second LMDB environment on the same directory. check_embedding_cache now reads live stats from a process-global registry (no env open), falls back to on-disk data.mdb metadata, and only opens a new env in the standalone CLI path.

Changed

  • Documented the develop-based gitflow in AGENTS.md + AGENTS.develop.md (PRs target develop, master is release-only, merge commits, owner review override).

Version

  • Cargo.toml: 1.0.207 → 1.0.208
  • CHANGELOG entry added

Test User and others added 9 commits June 14, 2026 14:24
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)
@flupkede flupkede merged commit ce7cf05 into master Jun 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant