Repository navigation
ci: shorten the release flow and reuse release distributions - #1132
Merged
Merged
Conversation
…ions - Skip Verify's suites on Release Please pull requests whose changes are only the manifest, changelog and version lines of the package and lock files; the trusted release checks still post the required Verify status. - Refresh Cargo.lock with cargo update --workspace and cargo metadata --locked instead of compiling the workspace. - Move the wheel matrix, maturin settings and smoke tests into a reusable Build Distributions workflow used by Verify, a new Release Distributions check on release pull requests, and Publish. Publish reuses a successful Release Distributions run only when its commit has the release tag's tree, and otherwise builds from the tag. - Replace the smoke test's removed native function with a current one. - Run Release Performance on every push to main instead of gating release pull requests; a regression fails the run and opens or comments on one performance-regression issue.
…mit and diff release files as text
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.
Why
Releases spent most of their time rebuilding things that had already been checked. Release pull requests reran every Verify suite for version-only changes, compiled the workspace just to refresh
Cargo.lock, and Publish rebuilt every wheel from scratch. The release performance gate also blocked release pull requests instead of tracking main.Changes
Cargo.lockwithcargo update --workspaceandcargo metadata --lockedinstead of compiling.AGENTS.md: native profiling, applicability and ceiling checks before building, output identity and measured-only claims.Verification
semantic_help_catalogue()smoke test.make check-ciand the public-repository scanner pass locally.