Repository navigation
fix(plugins): bound signature candidates, not all OCI referrers - #3778
Conversation
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
CI timing summaryLatest completed GitHub Actions runs for
Wall-clock time spans the earliest included workflow creation through the latest completion. Aggregate runner time adds each job's execution time, so concurrent jobs are counted separately.
Longest jobs (top 10)
Updated automatically when a PR workflow finishes. |
|
This is a |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Quality Gate
Readiness✅ Fewer than 150 changed files Reviews✅ CodeRabbit approval (current head) ✅ Review threads resolved or dismissed MeasuresCurrent commit: Quality Gate details
Atmos performanceNo significant regressions detected against the newest compatible snapshot. Describe affected
All other benchmarks
Full results are available in the comparison artifacts. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3778 +/- ##
==========================================
- Coverage 87.98% 87.97% -0.01%
==========================================
Files 3575 3575
Lines 324081 324081
==========================================
- Hits 285128 285114 -14
- Misses 27145 27156 +11
- Partials 11808 11811 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
|
These changes were released in v1.235.1-nightly.46088695586. |
Take main's fix for the MSAL lock tests (#3778), which supersedes the rename-based replacement this branch added in e6abb73. Also annotate the filelock identity check's os.Stat for gosec G703, which the merge's lint run flagged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
what
Read at most 32 Sigstore bundle candidates instead of rejecting an entire OCI referrer index above 32 entries. Ignore other artifact types when counting that budget. Keep the per-bundle and aggregate byte limits, subject/digest checks, cache limits and downstream signature policy unchanged.
why
A fresh signed installation of official
auth-secrets:1.1.0fails withplugin payload exceeds size limit: its immutable indexsha256:f1e3b85705f5ecf0340acf0259d952031ac0e83d2a02c51175158919fcd6f3abwas observed with 41 Sigstore referrers. The installer rejects it before examining any signature. Cached use and a signed offline restore of the same bytes work.The candidate cap still bounds downloads; this does not promise exhaustive discovery of a trusted signer beyond the first 32 candidates.
references
Validation: regression tests fail on original main and pass with the fix; signature package race tests and vet pass, package coverage is 99.0%, and
Fetchcoverage is 100%. Tests cover excess signatures, unrelated referrers, exact fetched bytes and the unchanged integrity/size rejection paths.Summary by CodeRabbit