Repository navigation
ci: let native push runs finish to save caches - #12896
Merged
Merged
Conversation
#12884 cancelled superseded CI / Native pushes. Only v1 pushes save the shared Rust caches, and cold macOS and Windows builds take longer than the usual gap between merges, so both post-merge pushes were cancelled before those platforms saved a cache. Every PR since has built macOS and Windows cold. Cancel only superseded PR runs again; a newer push still replaces an older pending one.
Contributor
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.
Failure
#12884 made
CI / Nativecancel supersededv1pushes. Onlyv1pushes save the shared Rust dependency caches, and the post-step that saves them runs at the end of each platform's build job.After #12884 merged, both completed
v1pushes were cancelled by the next merge after 16.9 and 8.8 minutes. Linux saved its caches, but cold macOS and Windows builds take 17–21 minutes, so neither saved a shared cache. Every PR since has built those platforms cold: Windows alone took 20.9 minutes in #12888's run, longer than the previous 19.5-minute PR median. Warm Linux now finishesBuild and testin 6.6–7.0 minutes.Cancelling pushes also helped less than #12884 claimed. PR runs use a separate concurrency group, so they never waited behind push runs.
Decision
Cancel only superseded PR runs in
CI / Native. Push runs finish, so each platform saves its cache; a newer push still replaces an older pending run, sov1does not build every intermediate merge.CI / Imageskeeps cancelling superseded pushes because it does not write the Rust caches.Validation
cargo cipassed on Linux ARM64: formatting, Clippy, 1,297 tests, doctests, schema check, bundle verification, and 112 lifecycle tests.git diff --checkpassed.v1push should createnative-deps-v2-darwin_arm64-*andnative-deps-v2-windows_amd64-*cache entries. Their absence would mean this did not fix the cold builds.