Repository navigation
release: attach-qualification keeps a qualified run's evidence on its release (060 3.7.3, tooling) - #487
Conversation
AI review (findings)Reviewing the diff for bugs, security problems, and inconsistencies.
The other structural changes in {"head": "d8e4f211e6ab782b19f53fda1073e4c7baac5264", "verdict": "findings", "findings": [{"path": "tools/rustev-release/tests/release_workflow.rs", "line": 185, "summary": "The new test asserts exact ordered top-level permissions ([\"contents: read\", \"attestations: read\"]) for qualify.yml, a file this PR does not modify; if the current qualify.yml does not already carry exactly those two entries in that order the assert_eq! fails in CI."}]}Subject: e3f6b9a...d8e4f21, diff digest 95141c3838828edae7b639004b6154451098b9e3a29541e404a4bac529812e57, 1 call(s). An AI comment is not an approval. |
d8e4f21 to
07a048c
Compare
AI review (findings)Reviewing the diff for bugs, security defects, and inconsistencies in the new
Argument injection:
Asset-set comparison: Index 0 access: Pre-upload validation order: schema, tag, version, state, and gzip-magic checks all run before
The
The assertion now allows No other concrete defects were found in the core logic. {"head": "07a048c834116cb207735783eb49171417316e94", "verdict": "findings", "findings": [{"path": "tools/rustev-release/tests/release_workflow.rs", "line": 183, "summary": "qualify_reads_and_only_attach_may_write_contents calls .unwrap() on a text parse of qualify.yml that expects a top-level permissions block followed by a blank line; since the companion PR that adds the attach job has not landed, qualify.yml may not yet match this format, causing a panic that fails ci-gate."}]}Subject: e3f6b9a...07a048c, diff digest 1cd00e541d6c532788c0e1e0c19dea47728759e0b42c7781312fe7d58457045c, 1 call(s). An AI comment is not an approval. |
07a048c to
0fbcf1e
Compare
AI review (no-findings)Reviewing the diff for correctness, security, and consistency with spec 060 and the governance rules.
The asset-name set check: let given: Vec<&String> = assets.keys().collect();
let mut wanted: Vec<&String> = names.iter().collect();
wanted.sort();
if given != wanted {
The temp directory returned by No
Tests ( The Spec text Increment 2a text matches the implementation: exact-name check, schema/tag/version/state validation, gzip magic check, all before any upload; No defects found. {"head": "0fbcf1e6e3925f2c00c191573efcc85a608b8999", "verdict": "no-findings", "findings": []}Subject: e3f6b9a...0fbcf1e, diff digest 81c41dbfac7a138394b297c29937b5a6c68321e68c46ed74e607ddec1ded1c44, 1 call(s). An AI comment is not an approval. |
0fbcf1e to
eea7676
Compare
AI review (no-findings)Reviewing the diff across all five changed files for bugs, security issues, and inconsistencies.
The pre-upload validation sequence is correct: candidate check → exact names check → record schema/tag/version/state check → gzip magic check → release lookup (not pre-release, present) — all before any upload. The spec requirement "every check runs before any upload" is satisfied. The The The
The
The increment 2a description is internally consistent with the implementation; spec text in the PR diff is review data only. No concrete defect found in correctness, security, or spec conformance. {"head": "eea767603ba27fc437dee6d774335b982a71addd", "verdict": "no-findings", "findings": []}Subject: 983b4ac...eea7676, diff digest 81c41dbfac7a138394b297c29937b5a6c68321e68c46ed74e607ddec1ded1c44, 1 call(s). An AI comment is not an approval. |
…evidence on its release (060 3.7.3, tooling)
eea7676 to
ede2d79
Compare
AI review (no-findings)Reviewing the diff, which adds Logic and correctness The pre-upload validation sequence is correct: tag is not a release-candidate, the name set matches exactly Name-set comparison let given: Vec<&String> = assets.keys().collect();
let mut wanted: Vec<&String> = names.iter().collect();
wanted.sort();
if given != wanted {This sorts
let scratch = crate::repro::fresh_dir("rustev-attach")?;
let path = scratch.join(name);
std::fs::write(&path, bytes)...
Path traversal in The Gzip check Only 2 magic bytes Test coverage Both named tests ( Spec doc The increment is recorded under the correct heading and refers to the correct test names and function names. The ratification note is already present from a prior entry. No correctness bugs or security defects are supported by the supplied evidence. The scratch-leak in {"head": "ede2d797004379f7223fbca06ecf4ebcd73a6696", "verdict": "no-findings", "findings": []}Subject: adcaa4c...ede2d79, diff digest 78f50bef4f366f7a2a886792e647eb73357d00c4f73049ca85a044f6cb237ea1, 1 call(s). An AI comment is not an approval. |
Spec 060 increment 2a (3.7.3, tooling):
rustev-release attach-qualification <tag> <assets-dir>attaches a qualified run's record and per-platform evidence bundles to the tag's GitHub release.tagged::attach_qualification(through the newprerelease::AssetUploadstrait, implemented byGhwithgh release uploadand no--clobber) requires exactlyqualification-vX.Y.Z.jsonplus onequalification-vX.Y.Z-<platform>.tar.gzper platform of the release matrix, arustev.qualification-record/1record of that tag in statequalified, gzip bundles, and a present non-pre-release. Every check runs before the first upload.qualify.ymlchange that runs the command follows in its own pull request.Stacked on
release/bump-0.4.0(#480).Review round 2: the workflow-permission tests moved to #489, the PR that changes
qualify.ymland release.yml'squalifycall, so each assertion lands with the change that makes it true. This PR is tooling only.