Repository navigation
chore(release): v4.11.1 - #255
Conversation
Patch release. Fixes the startup crash on every fresh install and every new data directory since v4.10.0 (#248, #252), makes state-file writes robust on Windows and stops reindex_documents from reporting a refused run as started (#249). Also ships #236 and the multi-arch Docker image from #242. - pyproject.toml: 4.11.0 -> 4.11.1 - mcp_server/__init__.py: __version__ -> 4.11.1 - npm/package.json: 4.11.0 -> 4.11.1 - CHANGELOG.md: Unreleased promoted to v4.11.1 with highlights and credits - .github/api-surface-baseline.json: regenerated with --snapshot. Additive only: 8 modules and 5 methods added since the 2026-08-10 snapshot, none removed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Supporting module and parser API records .github/api-surface-baseline.json |
The baseline adds API records for file transactions, filesystem, health, logging, PDF support, and publication. It also records DocumentParser.iter_files and the logical_filename parameter for parse_file. |
Index and search API records .github/api-surface-baseline.json |
The baseline records FTS5 index methods and parameters, BM25Index.search’s allowed_ids parameter, select_rerank_candidates, and the FolderScope methods. |
Orchestration and cache API records .github/api-surface-baseline.json |
The baseline records folder parameters for query and search, the reindex_all force parameter, and query-cache generation and folder-scope APIs. |
Release notes and version declarations CHANGELOG.md, mcp_server/__init__.py, npm/package.json, pyproject.toml |
The changelog adds the v4.11.1 release entry. The Python and npm package versions change from 4.11.0 to 4.11.1. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Possibly related PRs
- lyonzin/knowledge-rag#254: This change’s API-surface baseline records
mcp_server.file_transaction.replace_with_retry, which PR#254introduced.
Suggested reviewers: vishalhabib99
Merge Risk: 
Minimal · up to d67f2
-
The release heading follows the project’s changelog format. No actionable issue remains from this review.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (4 skipped: 4 unsupported.)
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Patch release. Fixes the startup crash on every fresh install and every new data directory since v4.10.0 (#248, #252), makes state-file writes robust on Windows and stops reindex_documents from reporting a refused run as started (#249). Also ships #236 and the multi-arch Docker image from #242. - pyproject.toml: 4.11.0 -> 4.11.1 - mcp_server/__init__.py: __version__ -> 4.11.1 - npm/package.json: 4.11.0 -> 4.11.1 - CHANGELOG.md: Unreleased promoted to v4.11.1 with highlights and credits - .github/api-surface-baseline.json: regenerated with --snapshot. Additive only: 8 modules and 5 methods added since the 2026-08-10 snapshot, none removed.
Summary
Patch release v4.11.1. The headline fix is P0: on v4.10.0 and v4.11.0, every fresh install and every new data directory, new Docker volumes included, fails at startup with
Embedding function conflict … persisted: default(#248, #252). Installs that already hit the error start normally after upgrading.Version bumps, CHANGELOG promotion and an API-baseline refresh only. No code change versus master.
WinError 5/32);reindex_documentsanswersalready_runningwhile the index lock is held (#249)nullaccepted for optional string tool argumentslinux/amd64+linux/arm64Type of change
What changed
pyproject.toml—version = "4.11.1"mcp_server/__init__.py—__version__ = "4.11.1"npm/package.json—"version": "4.11.1"; the npm wrapper installsknowledge-rag==4.11.1from PyPICHANGELOG.md—### Unreleasedpromoted to### v4.11.1 (2026-10-25)with highlights and credits; the ci(release): publish multi-arch Docker image (amd64 + arm64) #242 Docker change gets an Added entry.github/api-surface-baseline.json— regenerated withcheck_api_surface.py --snapshot. Purely additive: 8 modules added since the 2026-08-10 snapshot (file_transaction,filesystem,health,logging_config,pdf_support,publication,search_candidates,search_scope), plusFts5LexicalIndex.clear/count/stop_migration,DocumentParser.iter_filesandQueryCache.generation. Nothing removed, so they become protected against silent removal.Verification
python scripts/check_version_sync.py→ OK, 4.11.1 across 3 filespython scripts/check_api_surface.py --check→ OKpytest tests/→ 1275 passed, 1 skipped (Windows 11, Python 3.12, chromadb 1.5.9)uv build) and checked it:Version: 4.11.1, read-only probe, empty-leftover recreation andreplace_with_retryall present.pip install→knowledge-rag init→knowledge-rag) on a freshKNOWLEDGE_RAG_DIR, stdio with stdin at EOF:RuntimeError: … Embedding function conflict … persisted: default[RECOVERY] Recreating empty collection …line, collection now{'type': 'legacy'}; a second start is clean with no recoveryBypass labels
skip-changelog— the entries were merged with fix(tools): accept explicit null for optional str arguments #236, fix(preflight): stop the probe from creating the collection with Chroma's default EF #253 and fix(windows): retry held-file replaces and report a busy index on reindex #254; this PR only promotes them to a version headerskip-perf-gate— no code change versus master, so any delta is runner noise. On fix(preflight): stop the probe from creating the collection with Chroma's default EF #253 the gate flagged a different sub-100 µs benchmark on each run with identical production code.Attention points for publishing
build-push-actionstep: if arm64 fails, no 4.11.1 image is pushed, andlateststays on 4.11.0. The PyPI and npm jobs are independent and unaffected.latestis 4.11.0 and was published byrelease.yml. 4.9.1, 4.9.2 and 4.10.0 are still absent on npm (pre-existing gap, not touched here).Post-merge (Lyon)
gh release create v4.11.1 --target master --title "v4.11.1 — Fresh-install startup fix and Windows-safe state writes" --generate-notesrelease.ymlthen publishes PyPI (Trusted Publishing), npm and GHCR (4.11.1,4.11,latest). Then verify that all three channels serve 4.11.1, and that the GHCR manifest listslinux/amd64andlinux/arm64.

Confidence Score: 5/5
This release-only PR appears safe to merge.Summary
Prepares
v4.11.1without changing runtime behavior.No actionable issues found.
Reviews (1) · Last reviewed commit: "chore(release): v4.11.1" · Reviewed by Greptile
Summary by CodeRabbit
null.linux/amd64andlinux/arm64architectures.