Skip to content

Fix extraction hot-path regressions - #2758

Merged
Widthdom merged 2 commits into
mainfrom
codex/fix-issue1667-2740-v2
May 31, 2026
Merged

Fix extraction hot-path regressions#2758
Widthdom merged 2 commits into
mainfrom
codex/fix-issue1667-2740-v2

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add CI allocation-budget tests for C# symbol and reference extraction hot paths.
  • Avoid C# property-header fallback rescanning method bodies and local var declarations during symbol extraction.

Validation

  • dotnet test --filter "Extract_CsharpManyMethods_DoesNotRescanMethodBodiesAsFieldCandidates|Extract_CSharp_MultilineGenericMethodOverloadsKeepDistinctSignatures|SymbolExtraction_CsharpHotPath_StaysWithinAllocationBudget|ReferenceExtraction_CsharpHotPath_StaysWithinAllocationBudget"
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~SymbolExtractorTests|FullyQualifiedName~PerformanceTests" (run by Codex adversarial review)
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet build
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll index . --commits 03c1e7fe30a0232bf23b761d8532dd203cee53c4 --json

Documentation and Changelog

  • Added changelog.d/unreleased/1667.internal.md.
  • Added changelog.d/unreleased/2740.fixed.md.

Review

  • Codex adversarial review: No blocking/actionable issues found.

Follow-up Candidates

  • None.

Fixes #1667
Fixes #2740

@Widthdom
Widthdom marked this pull request as ready for review May 31, 2026 13:12
@Widthdom
Widthdom merged commit 8d4f9f7 into main May 31, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1667-2740-v2 branch May 31, 2026 13:13
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 cdidx index can stall near JavaScriptTypeScriptSupport symbol extraction No allocation-budget tests for symbol/reference extraction hot paths

1 participant