Files
codebase-memory-mcp/tests
Martin Vogel 77eb7eb357 fix(mcp): tell the truth about pre-publication index aborts
An aborted incremental run preserves the previous index by design, but
the response said generic 'error — check repo_path exists', sending
people to debug a path that was fine. The abort and persist-failure
codes move to the public pipeline header (the contract always said
callers may distinguish them) and index_repository now answers with
what actually happened: aborted_previous_preserved (retry; the old
index still serves) vs persist_failed (disk/permissions) vs the
generic failure.

The incremental test helper goes fail-closed on error responses,
surfacing the real cause once at the source — a transient abort used
to slip past the non-NULL assert and cascade into dozens of mysterious
count failures downstream (the 99-test Windows pile-up).

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-08-28 02:07:53 +02:00
..
2026-06-28 13:05:05 +02:00