Skip to content

feat(indexer): support isolated index profiles - #332

Open
hatemadi15 wants to merge 3 commits into
cocoindex-io:mainfrom
hatemadi15:feat/index-profiles-204
Open

hatemadi15 wants to merge 3 commits into
cocoindex-io:mainfrom
hatemadi15:feat/index-profiles-204

Conversation

@hatemadi15

Copy link
Copy Markdown

Closes #204.

Add COCOINDEX_CODE_PROFILE so users can index one checkout with different models or file filters. Each profile gets separate project and global settings, databases, and daemon runtime files. The default paths stay the same when the variable is unset. Explicit database and runtime path overrides remain scoped to the selected profile. The README shows a two-profile workflow.

Validation

  • 116 focused tests passed. The new integration test indexes and searches the same checkout in two profiles with different file filters, checks separate daemon addresses, and verifies that resetting one profile preserves the other.
  • Ruff lint/format, focused mypy, and git diff --check passed. The full test-tree mypy errors also occur on unchanged main.
  • Draft pending live daemon validation. The workspace blocks Unix socket binding, including on unchanged main.

@hatemadi15
hatemadi15 marked this pull request as ready for review November 7, 2026 14:03

This branch has not been deployed

No deployments
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.

Creation of multiple ccc projects for same codebase

1 participant