Skip to content

Reduce repo map aggregation work - #2702

Merged
Widthdom merged 2 commits into
mainfrom
codex/fix-issue1948
May 25, 2026
Merged

Reduce repo map aggregation work#2702
Widthdom merged 2 commits into
mainfrom
codex/fix-issue1948

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Refactor repo map section building to aggregate file stats once and reuse shared language/module/file-summary intermediates.
  • Add regression coverage for map section ordering and counts after the refactor.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Release --filter GetRepoMap_KeepsSectionOrderingAndCountsAfterAggregateRefactor -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Release --filter GetRepoMap -p:UseSharedCompilation=false
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • Codex adversarial review: No blocking/actionable issues found.

Documentation / Changelog

  • Added changelog fragment: changelog.d/unreleased/1948.fixed.md
  • No docs changes required; repo map output contract is preserved.

Fixes #1948

@Widthdom
Widthdom marked this pull request as ready for review May 25, 2026 08:42
@Widthdom
Widthdom merged commit cc8d10a into main May 25, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1948 branch May 25, 2026 08:42
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.

Repo map over-materializes file stats

1 participant