Skip to content

Commit 1243e75

Browse files
jsbattigclaude
andcommitted
chore: bump version to 7.0.1 with fix-config bugfix
Version 7.0.1 - Patch Release This patch release fixes a critical bug in fix-config that affected filesystem backend users, particularly in CoW clone scenarios like claude-server. Changes: - Version: 7.0.0 → 7.0.1 - CHANGELOG.md: Added comprehensive [7.0.1] section documenting the fix-config filesystem backend compatibility fix - README.md: Updated all version references (4 locations) - Header version - pipx install commands (2 instances) - pip install command Critical Fix Included: - fix-config now respects filesystem backend setting - Skips unnecessary Qdrant operations for filesystem backend - Preserves vector_store.provider configuration in CoW clones See CHANGELOG.md for complete technical details of the fix. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 590e6b7 commit 1243e75

File tree

3 files changed

+48
-5
lines changed

3 files changed

+48
-5
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,49 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [7.0.1] - 2025-10-28
9+
10+
### Fixed
11+
12+
#### Critical: fix-config Filesystem Backend Compatibility
13+
14+
**Problem**: The `fix-config` command was not respecting the filesystem backend setting when fixing CoW (Copy-on-Write) clones. It would:
15+
- Lose the `vector_store.provider = "filesystem"` configuration
16+
- Force regeneration of Qdrant-specific ports and container names
17+
- Attempt to initialize Qdrant client and create CoW symlinks
18+
- Result: Filesystem backend projects would fail with "Permission denied: podman-compose" errors
19+
20+
**Root Cause**:
21+
- Line 836 in `config_fixer.py` only preserved `embedding_provider`, not `vector_store`
22+
- Steps 4-7 always executed Qdrant operations regardless of backend type
23+
- No conditional logic to skip Qdrant operations for filesystem backend
24+
25+
**Solution (Option A: Conditional Container Configuration)**:
26+
1. **Preserve vector_store** in config dict (lines 837-840)
27+
2. **Detect backend type** before Qdrant operations (lines 453-456)
28+
3. **Skip Qdrant client initialization** if filesystem backend (line 459-460)
29+
4. **Skip CoW symlink creation** if filesystem backend (lines 474-477)
30+
5. **Skip collection checks** if filesystem backend (lines 486-489)
31+
6. **Skip port/container regeneration** if filesystem backend (lines 951-954)
32+
33+
**Impact**:
34+
- ✅ Fixes claude-server CoW clone issue where `vector_store` configuration was lost
35+
- ✅ Eliminates unnecessary Qdrant configuration for filesystem backend
36+
- ✅ Reduces `fix-config` execution time and resource usage
37+
- ✅ Maintains backward compatibility with Qdrant backend
38+
39+
**Testing Results**:
40+
- Before: `fix-config` applied 8 fixes (included Qdrant port/container regeneration)
41+
- After: `fix-config` applies 3 fixes (path, project name, git commit only)
42+
- Verification: `vector_store.provider` preserved as `"filesystem"`
43+
- Verification: `project_ports` and `project_containers` remain `null` (not regenerated)
44+
- Verification: `cidx start` and `cidx query` work correctly after `fix-config`
45+
46+
**Files Modified**:
47+
- `src/code_indexer/services/config_fixer.py` (35 insertions, 14 deletions)
48+
49+
---
50+
851
## [7.0.0] - 2025-10-28
952

1053
### 🎉 Major Release: Filesystem-Based Architecture with HNSW Indexing

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
AI-powered semantic code search for your codebase. Find code by meaning, not just keywords.
44

5-
## Version 7.0.0
5+
## Version 7.0.1
66

77
## Two Operating Modes
88

@@ -189,7 +189,7 @@ The code-indexer uses a sophisticated dual-phase parallel processing architectur
189189
### pipx (Recommended)
190190
```bash
191191
# Install the package
192-
pipx install git+https://github.com/jsbattig/code-indexer.git@v7.0.0
192+
pipx install git+https://github.com/jsbattig/code-indexer.git@v7.0.1
193193

194194
# Setup global registry (standalone command - requires sudo)
195195
cidx setup-global-registry
@@ -202,7 +202,7 @@ cidx setup-global-registry
202202
```bash
203203
python3 -m venv code-indexer-env
204204
source code-indexer-env/bin/activate
205-
pip install git+https://github.com/jsbattig/code-indexer.git@v7.0.0
205+
pip install git+https://github.com/jsbattig/code-indexer.git@v7.0.1
206206

207207
# Setup global registry (standalone command - requires sudo)
208208
cidx setup-global-registry
@@ -382,7 +382,7 @@ The CIDX server provides a FastAPI-based multi-user semantic code search service
382382

383383
```bash
384384
# 1. Install and setup (same as CLI)
385-
pipx install git+https://github.com/jsbattig/code-indexer.git@v7.0.0
385+
pipx install git+https://github.com/jsbattig/code-indexer.git@v7.0.1
386386
cidx setup-global-registry
387387

388388
# 2. Install and configure the server

src/code_indexer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
through HNSW graph indexing (O(log N) complexity).
77
"""
88

9-
__version__ = "7.0.0"
9+
__version__ = "7.0.1"
1010
__author__ = "Seba Battig"

0 commit comments

Comments
 (0)