Skip to main content
← Back to list
01Issue
BugClosedSwamp CLITeam
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

  1. swamp model method run repo-indexer index --input projectPath=group/repo --json — succeeds
  2. Immediately: swamp model method run repo-indexer search --input repo=group/repo --input query=test --json — fails with 'No index found'
  3. Run index again, then search works

Expected Behavior

Search should reliably find the index immediately after a successful index call.

02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED

Closed

7/8/2026, 8:45:02 PM

No activity in this phase yet.

03Sludge Pulse
Editable. Press Enter to edit.

stack72 commented 7/8/2026, 8:45:01 PM

Hi @jeremy - I think you mean this to be opened on your own collective extension

jeremy commented 7/8/2026, 9:22:36 PM

Yep, sorry, my agent got confused.

Sign in to post a ripple.