Skip to content

Enable trim analyzers and deterministic package metadata - #2772

Merged
Widthdom merged 3 commits into
mainfrom
fix-issue1598-1602
May 31, 2026
Merged

Enable trim analyzers and deterministic package metadata#2772
Widthdom merged 3 commits into
mainfrom
fix-issue1598-1602

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Enable trim/AOT analyzer warning surfaces for the CLI project, including per-site trimmer warnings.
  • Enable deterministic build and Source Link metadata for the CodeIndex package project, with CI reproducibility flags and commit-date build metadata.
  • Add bilingual changelog fragments for both issues.

Validation

  • dotnet restore CodeIndex.sln --locked-mode
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet build CodeIndex.sln
  • dotnet test CodeIndex.sln --no-build
  • dotnet pack src/CodeIndex/CodeIndex.csproj --configuration Release --output .codex/tmp/pack-a
  • dotnet pack src/CodeIndex/CodeIndex.csproj --configuration Release --output .codex/tmp/pack-b
  • dotnet pack src/CodeIndex/CodeIndex.csproj --configuration Release --output .codex/tmp/pack-c -p:ContinuousIntegrationBuild=true -p:EmbedUntrackedSources=true
  • dotnet pack src/CodeIndex/CodeIndex.csproj --configuration Release --output .codex/tmp/pack-d -p:ContinuousIntegrationBuild=true -p:EmbedUntrackedSources=true
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json

Notes

Documentation / Changelog

  • DEVELOPER_GUIDE.md
  • changelog.d/unreleased/1598.fixed.md
  • changelog.d/unreleased/1602.fixed.md

Follow-Up

Fixes #1598
Fixes #1602

@Widthdom
Widthdom merged commit e7131d2 into main May 31, 2026
11 checks passed
@Widthdom
Widthdom deleted the fix-issue1598-1602 branch May 31, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant