Skip to content

ci(release): read the provenance subjects from the Sigstore bundle - #120

Merged
Industrial merged 1 commit into
mainfrom
ci/provenance-bundle
Oct 21, 2026
Merged

Industrial merged 1 commit into
mainfrom
ci/provenance-bundle

Conversation

@Industrial

Copy link
Copy Markdown
Owner

The v0.12.0 release (39600733782) published every crate, then Verify published crates against the provenance failed before checking any: slsa-github-generator v2.1.0 writes a Sigstore bundle (application/vnd.dev.sigstore.bundle.v0.3+json), whose DSSE payload is under .dsseEnvelope, so jq -r '.payload' returned null and the subject list did not parse (jq: parse error). The GitHub Release was skipped.

  • Read .dsseEnvelope.payload, falling back to a bare envelope's .payload.

Checked against the v0.12.0 provenance artifact: 66 subjects; all 33 crates downloaded from crates.io match their attested sha256. After merge, v0.12.0 is re-pointed so the run skips the published versions, verifies them and creates the GitHub Release.

🤖 Generated with Claude Code

The v0.12.0 verify job failed before checking a crate: slsa-github-generator
v2.1.0 writes a Sigstore bundle, whose DSSE payload is under .dsseEnvelope,
so `jq .payload` gave "null" and the subject list did not parse. Read
.dsseEnvelope.payload, falling back to a bare envelope's .payload. Checked
against the v0.12.0 provenance: 66 subjects, and all 33 crates on crates.io
match their attested sha256.

Signed-off-by: Tom Wieland <tom.wieland@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Industrial
Industrial merged commit cec5c04 into main Oct 21, 2026
31 checks passed
@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.86%. Comparing base (3e9104e) to head (d7779f2).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   97.86%   97.86%           
=======================================
  Files         552      552           
  Lines      117984   117984           
=======================================
+ Hits       115468   115470    +2     
+ Misses       2516     2514    -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Industrial added a commit that referenced this pull request Oct 25, 2026
h3: serve_h3 keeps main's eager route registration and registers the leaf's options.route() (congestion, 0-RTT); HostHttp3 binds Http3Options::default().route(). relay: keeps the branch's host-served HTTP/3.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Tom Wieland <tom.wieland@gmail.com>
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.

1 participant