Skip to content

release(060): the release deny policy skips rustev-serve's two transitive duplicates (031 3.9.2) - #529

Merged
bartekus merged 2 commits into
mainfrom
fix/serve-deny-skips
Nov 6, 2026
Merged

bartekus merged 2 commits into
mainfrom
fix/serve-deny-skips

Conversation

@bartekus

@bartekus bartekus commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

The v0.5.0-rc.1 release run (42193152213) failed image checks: with the image a release-set member (060 increment 5, #499), artifacts.sh scan-image gates on cargo-deny's bans for rustev-serve against tools/rustev-release/deny.toml (031 3.9.2).

Two transitive duplicates cannot be unified from this tree and are skipped with their reasons, as three already are:

  • base64 0.22.1: tonic 0.14 pins it; sigstore's pem 4 uses 0.23.
  • untrusted 0.7.1: aws-lc-rs 1.18 (under sigstore-crypto) pins it; ring 0.17 uses 0.9.

The third failure, five wildcard path dependencies in integrations/rustev-serve/Cargo.toml, is fixed in its own pull request because a manifest is a policy file (policy isolation). Advisories, licenses and sources are unchanged; multiple-versions = "deny" and wildcards = "deny" stay.

060's implementation record gains the follow-up paragraph; shards refreshed.

Checks: with both changes applied, cargo deny --manifest-path integrations/rustev-serve/Cargo.toml --config tools/rustev-release/deny.toml --locked check bans advisories licenses sources (cargo-deny 0.20.2): advisories ok, bans ok, licenses ok, sources ok. make gate passes.

…tive duplicates (031 3.9.2)

The v0.5.0-rc.1 run's image checks gate on cargo-deny's bans now that the image is a release-set member (060 increment 5). base64 0.22.1 (tonic 0.14) and untrusted 0.7.1 (aws-lc-rs 1.18 under sigstore-crypto) cannot be unified from this tree; they are skipped with their reasons, as three duplicates already are. The wildcard path dependencies are fixed in a separate pull request (a manifest is a policy file). Advisories, licenses and sources are unchanged.
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

AI review (findings)

Reviewing the two changed files.

specs/060-the-service-image-in-the-release/spec.md — The new paragraph documents "Increment 5 follow-up" and explains why [email protected] and [email protected] are added as skips. However, the sentence "the release deny.toml skips them with their reasons, as it already skips three: base64 0.22.1 ... and untrusted 0.7.1 ..." is internally inconsistent in two ways: (a) "already skips three" implies these entries are pre-existing, but the diff adds both entries in this same PR; (b) "three" is followed by only two named items. The diff shows these are additions, not pre-existing skips, so the word "already" and the count "three" are both wrong for what is described. This misrepresents what this PR actually does to deny.toml.

tools/rustev-release/deny.toml — The two new skip entries are well-formed, have reasons attributing them to specific pinning chains (tonic 0.14 → base64 0.22, aws-lc-rs 1.18 → untrusted 0.7), and reference spec 060. No security or structural defect is apparent.

{"head": "47e121f9230ccf0a2e2ba93bec5f9b8d84c7f770", "verdict": "findings", "findings": [{"path": "specs/060-the-service-image-in-the-release/spec.md", "line": 519, "severity": "low", "category": "correctness", "summary": "The spec text says 'already skips three: base64 0.22.1 … and untrusted 0.7.1' but those two entries are added by this same PR (not pre-existing), and the count 'three' does not match the two items listed."}]}

Subject: b3bcc5f...47e121f, diff digest 92cb7cde77cc92406d193f2a949fc713d8b3cce354e7134ff8d6112bde7c0e83, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus had a problem deploying to statecraft-review-exception November 6, 2026 09:28 — with GitHub Actions Error
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

AI review (no-findings)

Reviewing both changed files.

specs/060-the-service-image-in-the-release/spec.md

The added paragraph is an "Increment 5 follow-up" block inserted before the "Decisions at approval" section. The spec was ratified on 2026-11-03 (A-76). The new text documents a post-ratification implementation discovery: five wildcard path dependencies flagged by the bans scan and two transitive duplicate crates that cannot be unified. This is implementation progress tracking, not a normative change. The existing text already follows this same pattern (referencing A-80, #477, prior increment completions), indicating this spec is maintained as a living implementation log while implementation is in-progress. No normative requirement is altered. The reasoning is internally consistent with the referenced deny.toml change.

tools/rustev-release/deny.toml

Two new skip entries are added:

  • [email protected]: tonic 0.14 pins 0.22, sigstore's pem 4 uses 0.23. Version pin is exact, reason is specific.
  • [email protected]: aws-lc-rs 1.18 (sigstore-crypto) pins 0.7.1, ring 0.17 uses 0.9. Version pin is exact. The reason text abbreviates the version as "0.7" without the patch digit, but the crate specifier [email protected] is precise, so the skip itself is correct.

Both entries follow the same form and documentation style as the three pre-existing skips (windows-sys, getrandom, syn). The spec text confirms advisories, licenses, and sources sections are unchanged. No wildcard version skips are introduced.

No concrete defects found in correctness, security, authority, or ratification.

{"head": "e8389b400e50ece8c22cfb745f4741bab888a204", "verdict": "no-findings", "findings": []}

Subject: b3bcc5f...e8389b4, diff digest 926580f8932403b9e4fc80e0edbb4a8e83fdb4760ab47b6e33c82c3fb550de7e, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit 7fbca56 Nov 6, 2026
26 checks passed
@bartekus
bartekus deleted the fix/serve-deny-skips branch November 6, 2026 10:15
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