← Back to list
01Issue
BugClosedSwamp CLIPublicEnterprise
AssigneesNone
Relationships
#1041 repo-indexer: search fails immediately after index completes
Opened by jeremy · 7/8/2026
Description
After repo-indexer index completes successfully, calling repo-indexer search on the same repo sometimes fails with 'No index found'. Running index a second time resolves it.
This suggests either:
- The index data artifact hasn't been committed/synced to the datastore before search tries to read it
- A local cache staleness issue where the search method doesn't see the just-written artifact
- The output commit races with the next method invocation's input read
Steps to Reproduce
swamp model method run repo-indexer index --input projectPath=group/repo --json— succeeds- Immediately:
swamp model method run repo-indexer search --input repo=group/repo --input query=test --json— fails with 'No index found' - Run index again, then search works
Expected Behavior
Search should reliably find the index immediately after a successful index call.
02Bog Flow
Closed
No activity in this phase yet.
03Sludge Pulse