Skip to content

Full index can abort around large test files after branch refresh #2605

Description

@Widthdom

Summary

While working on #2063, a full local index refresh with the freshly built repository binary did not complete reliably. The first run ended with E012_INTERRUPTED after partial progress; the second run exited with process code -1 while repeatedly reporting progress on tests/CodeIndex.Tests/QueryCommandRunnerTests.cs.

Reproduction observed

  1. From branch fix-issue2063 at c2f94b9.
  2. Run: dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll . --json
  3. Observe long progress through tests/CodeIndex.Tests/QueryCommandRunnerTests.cs.

Actual result

  • First attempt: error_code E012_INTERRUPTED with partial progress saved (175 of 441 files processed).
  • Second attempt: process exited with code -1 after repeated progress lines on QueryCommandRunnerTests.cs.

Expected result

Full indexing should either complete or fail with a normal diagnostic that explains the actionable cause.

Notes

This was discovered during #2063 and is not part of that fix scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions