Skip to content

Fix indexing liveness for slow extraction - #2659

Merged
Widthdom merged 4 commits into
mainfrom
fix-issue2627
May 24, 2026
Merged

Fix indexing liveness for slow extraction#2659
Widthdom merged 4 commits into
mainfrom
fix-issue2627

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • add phase-qualified JSON liveness for update and full-scan indexing, including parallel worker extraction
  • bound the C# type-expression regexes used during reference extraction and report regex timeouts with a safe per-file message
  • add regression tests for timeout message formatting and JSON heartbeat phase selection

Validation

  • dotnet build CodeIndex.sln
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~IndexCommandRunnerTests.Format|FullyQualifiedName~IndexCommandRunnerTests.GetJsonIndexHeartbeatPath" -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~IndexCommandRunnerTests" -p:UseSharedCompilation=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll index . --rebuild --json --yes
  • Codex adversarial review: No blocking/actionable issues found.

Changelog

  • changelog.d/unreleased/2627.fixed.md

Fixes #2627

@Widthdom
Widthdom merged commit 71dfeff into main May 24, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue2627 branch May 24, 2026 19:15
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.

cdidx index can stall indefinitely on large test files

1 participant