ci(reproducibility): publish per-release verification manifest (#193) - #263
Merged
Merged
Conversation
Closes #193. Adds a `Generate reproducible-build manifest` step to release.yaml's `update-release-artifacts` job. Emits a `reproducible-build-manifest.json` listing SHA-256 of every produced .nupkg / .snupkg + every `lib/<tfm>/*.dll` inside them, plus the release tag / commit SHA / SDK version / UTC timestamp. Attached to the GitHub Release alongside the existing .nupkg / .snupkg / .bom.json / coverage.zip. Expands `docs/REPRODUCIBLE-BUILD.md` with: - Step-by-step third-party verification procedure (tooling versions, local rebuild, NuGet.org extract, manifest comparison). - `gh release download` snippet for pulling the manifest. - Reporting-a-discrepancy section clarifying what we treat as a supply-chain incident vs an environment issue. - Note on third-party verification attestations (not currently accepted unsolicited; may adopt Reproducible Builds project conventions in a future iteration). Adds a "Verify the build" section to README.md linking the doc, per the issue AC. JSON generation validated locally by packing v0.3.5 outputs (nupkg + snupkg + 4 TFM DLLs), running the manifest generator, and parsing the result with python's `json.load` — parsed clean. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced Jul 16, 2026
This was referenced Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #193.
Summary
Generate reproducible-build manifeststep torelease.yaml'supdate-release-artifactsjob. Emitsreproducible-build-manifest.jsonwith SHA-256 of every produced.nupkg/.snupkg+ everylib/<tfm>/*.dllinside them, plus tag / commit SHA / SDK version / UTC timestamp. Attached to the GitHub Release alongside the existing artifacts.docs/REPRODUCIBLE-BUILD.mdwith the third-party verification procedure (tooling versions, rebuild, NuGet.org extract, manifest comparison,gh release downloadsnippet), a "Reporting a discrepancy" section, and a note on verification attestations.README.mdlinking the doc.Stacked-PR base
Base branch is
tier2/183-reproducible-build(the PR that addsdocs/REPRODUCIBLE-BUILD.mdin the first place). When #262 merges tovNext, GitHub will re-target this PR's base tovNextautomatically.Local dry-run
Packed
Wolfgang.TryPattern.0.3.5.nupkg+.snupkgfrom a clean Release build, ran the manifest-generation script by hand — output parses viapython -c "import json; json.load(open(...))"and enumerates all 4 shipped TFM DLLs (net10.0, net462, net8.0, netstandard2.0) with their SHA-256 hashes.Protected-file guard
Touches
.github/workflows/release.yaml— protected. Expected admin-bypass at merge, same pattern as PRs #256 / #257 / #258 / #261 / #262.Test plan
update-release-artifactsjob succeeds on the next releasereproducible-build-manifest.jsonappears in the GitHub Release assetspackages[*].contents[]