Skip to content

feat: Add automatic reindexing for local paths#63

Merged
Pringled merged 15 commits intomainfrom
add-reindex
May 4, 2026
Merged

feat: Add automatic reindexing for local paths#63
Pringled merged 15 commits intomainfrom
add-reindex

Conversation

@Pringled
Copy link
Copy Markdown
Member

@Pringled Pringled commented May 4, 2026

When semble is started against a local directory, it now watches for file changes and automatically rebuilds the index in the background using watchfiles. This does do a full rebuild each time, which is fine since semble is extremely fast. This is safe on rapid file changes as well since watchfiles automatically batches multiple changes and waits before rebuilding. The default for this is 1600ms (we can update this but I think this is fine, e.g. if you run pre-commit you change a lot of files instantly and it will only rebuild after waiting 1600ms).

@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/semble/cli.py 100.00% <100.00%> (ø)
src/semble/mcp.py 100.00% <100.00%> (ø)
src/semble/version.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Pringled Pringled requested a review from stephantul May 4, 2026 08:44
@Pringled Pringled linked an issue May 4, 2026 that may be closed by this pull request
Comment thread src/semble/mcp.py Outdated
Comment thread src/semble/mcp.py Outdated
Comment thread src/semble/mcp.py Outdated
Comment thread src/semble/mcp.py Outdated
Comment thread src/semble/mcp.py Outdated
@Pringled Pringled merged commit 9067a56 into main May 4, 2026
13 checks passed
@Pringled Pringled deleted the add-reindex branch May 4, 2026 14:44
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.

How do I reindex?

2 participants