Repository navigation
ci: matrix benchmark-release + harden parallel_determinism (per #4419) - #4443
Merged
Merged
Conversation
- benchmark-release.yml: convert the single serial `cargo bench --workspace` step into a 7-cell matrix (checksums, core, engine, fast_io, matching, protocol, transfer). Each cell uploads a per-crate criterion artifact; a new publish job merges them and handles release-notes append + upload. Cuts wall time on tag pushes from 60-90 min serial to 15-30 min parallel. - parallel_determinism.yml: pin the four floating action references (actions/checkout, dtolnay/rust-toolchain, Swatinem/rust-cache, actions/upload-artifact) to SHAs matching the rest of the repo. The audit's parallel_determinism finding #2 (missing top-level `permissions: contents: read`) was already addressed in master, so this PR only covers the SHA pinning portion.
oferchen
force-pushed
the
ci/audit-followups-round-2
branch
from
May 18, 2026 01:12
723a68d to
34fa6d3
Compare
oferchen
added a commit
that referenced
this pull request
May 18, 2026
#4443) - benchmark-release.yml: convert the single serial `cargo bench --workspace` step into a 7-cell matrix (checksums, core, engine, fast_io, matching, protocol, transfer). Each cell uploads a per-crate criterion artifact; a new publish job merges them and handles release-notes append + upload. Cuts wall time on tag pushes from 60-90 min serial to 15-30 min parallel. - parallel_determinism.yml: pin the four floating action references (actions/checkout, dtolnay/rust-toolchain, Swatinem/rust-cache, actions/upload-artifact) to SHAs matching the rest of the repo. The audit's parallel_determinism finding #2 (missing top-level `permissions: contents: read`) was already addressed in master, so this PR only covers the SHA pinning portion.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
#4443) - benchmark-release.yml: convert the single serial `cargo bench --workspace` step into a 7-cell matrix (checksums, core, engine, fast_io, matching, protocol, transfer). Each cell uploads a per-crate criterion artifact; a new publish job merges them and handles release-notes append + upload. Cuts wall time on tag pushes from 60-90 min serial to 15-30 min parallel. - parallel_determinism.yml: pin the four floating action references (actions/checkout, dtolnay/rust-toolchain, Swatinem/rust-cache, actions/upload-artifact) to SHAs matching the rest of the repo. The audit's parallel_determinism finding #2 (missing top-level `permissions: contents: read`) was already addressed in master, so this PR only covers the SHA pinning portion.
4 tasks done
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
#4443) - benchmark-release.yml: convert the single serial `cargo bench --workspace` step into a 7-cell matrix (checksums, core, engine, fast_io, matching, protocol, transfer). Each cell uploads a per-crate criterion artifact; a new publish job merges them and handles release-notes append + upload. Cuts wall time on tag pushes from 60-90 min serial to 15-30 min parallel. - parallel_determinism.yml: pin the four floating action references (actions/checkout, dtolnay/rust-toolchain, Swatinem/rust-cache, actions/upload-artifact) to SHAs matching the rest of the repo. The audit's parallel_determinism finding #2 (missing top-level `permissions: contents: read`) was already addressed in master, so this PR only covers the SHA pinning portion.
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.
Summary
benchmark-release.yml: matrixcargo benchover per-crate cells (checksums,core,engine,fast_io,matching,protocol,transfer) so the 7 benches run in parallel rather than serial. A newpublishjob downloads the per-crate criterion artifacts, merges them, generates the step summary, and handles the release-notes append + upload that previously lived in the single job. Cuts wall time on tag pushes from 60-90 min serial to 15-30 min parallel.parallel_determinism.yml: pin the four floating action references (actions/checkout,dtolnay/rust-toolchain,Swatinem/rust-cache,actions/upload-artifact) to SHAs matching the rest of the repo.The audit's
parallel_determinism.ymlfinding #2 (missing top-levelpermissions: contents: read) is already present on master (lines 23-24), so this PR only covers the SHA-pinning portion of that finding.Test plan
cargo fmt --allclean (no Rust files touched)benchmark-release.ymlandparallel_determinism.yml