Skip to content

Fix full scan extraction after HEAD changes - #2631

Merged
Widthdom merged 5 commits into
mainfrom
fix-issue2605
May 24, 2026
Merged

Fix full scan extraction after HEAD changes#2631
Widthdom merged 5 commits into
mainfrom
fix-issue2605

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Parallelize full-scan extraction when the existing index was stamped from a different Git HEAD.
  • Keep post-extraction hook ordering intact by falling back to sequential reference extraction when hooks are configured.
  • Add regression coverage for head-change scheduling and hook-aware fallback.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Release --filter "FullyQualifiedName~IndexCommandRunnerTests.Run_FullScanAfterHeadChange" -p:UseSharedCompilation=false
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Release/net8.0/cdidx.dll . --json
  • Adversarial review: No blocking/actionable issues found.

Documentation / Changelog

  • Added changelog fragment: changelog.d/unreleased/2605.fixed.md

Follow-up Candidates

  • None.

Fixes #2605

@Widthdom
Widthdom marked this pull request as ready for review May 24, 2026 14:11
@Widthdom
Widthdom merged commit fda0527 into main May 24, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue2605 branch May 24, 2026 14:12
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.

Full index can abort around large test files after branch refresh

1 participant