Skip to content

ci: run release-plz update in pull requests - #2194

Merged
muscariello merged 4 commits into
mainfrom
ci/release-plz-update-in-prs
Oct 9, 2026
Merged

muscariello merged 4 commits into
mainfrom
ci/release-plz-update-in-prs

Conversation

@muscariello

@muscariello muscariello commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Fixes #2165.

New release-plz update job on pull requests and merge-queue entries (skipped on push, where release-rust.yaml runs the real thing). Same release-plz version as the release workflow; no Rust setup needed.

Semver checks are off: they take ~30 min, and release-plz can only disable them in its config, so the job runs from a copy with semver_check = false. As a result it doesn't catch cargo-semver-checks failures like the Sep 29 one (yanked dependency).

Before merge, check that every published crate resolves its dependencies
from crates.io (where cargo-semver-checks failed on main over a yanked
version), then run release-plz update with semver checks off. Takes
minutes, not the half hour a full semver check does.

Fixes #2165

Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
@muscariello
muscariello requested a review from a team as a code owner October 9, 2026 13:59
@muscariello muscariello changed the title ci: check release-plz's version computation in pull requests ci: run release-plz update in pull requests Oct 9, 2026
Drop the custom dependency-resolution script; run release-plz update with
semver checks off, on a detached checkout (supported since 0.3.169).

Signed-off-by: Luca Muscariello <muscariello@ieee.org>
@muscariello
muscariello added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit 43fdc14 Oct 9, 2026
18 checks passed
@muscariello
muscariello deleted the ci/release-plz-update-in-prs branch October 9, 2026 14:43
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.

Run release-rust checks also in PR checks

2 participants