Skip to content

Tighten release and CI supply-chain controls - #3584

Merged
Widthdom merged 3 commits into
mainfrom
codex/fix-issue3495-3496-3497
Jun 11, 2026
Merged

Tighten release and CI supply-chain controls#3584
Widthdom merged 3 commits into
mainfrom
codex/fix-issue3495-3496-3497

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Remove git from the published runtime container image and request provenance/SBOM attestations for GHCR image builds.
  • Restore NuGet package caches only from exact lockfile-derived keys in build and release workflows.
  • Emit reason-coded Windows Defender exclusion audit records to CI logs and job summaries before exclusions are applied.

Validation

  • dotnet run --project tools/CodeIndex.Changelog -- check
  • git diff --check origin/main..HEAD
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/dotnet.yml"); YAML.load_file(".github/workflows/release.yml"); puts "yaml ok"'
  • Mocked pwsh execution of the Defender exclusion audit logic
  • dotnet build CodeIndex.sln -p:UseSharedCompilation=false after each issue commit
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json

dotnet test CodeIndex.sln -c Release -p:UseSharedCompilation=false --no-restore --nologo was also run, but the local validation failed on existing/out-of-scope issues tracked by #3571 and #3572.

Documentation And Changelog

  • Updated DISTRIBUTION.md and DEVELOPER_GUIDE.md for the GHCR image, runtime git policy, attestation checks, and exact-key NuGet cache policy.
  • Added changelog fragments:
    • changelog.d/unreleased/3495.security.md
    • changelog.d/unreleased/3496.security.md
    • changelog.d/unreleased/3497.security.md

Follow-Up References

Fixes #3495
Fixes #3496
Fixes #3497

@Widthdom
Widthdom marked this pull request as ready for review June 11, 2026 23:32
@Widthdom
Widthdom merged commit 59a6d17 into main Jun 11, 2026
11 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue3495-3496-3497 branch June 11, 2026 23:33
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