Gate minor bumps on upstream algorithms/ changes - #2
Merged
Conversation
Bump minor only when snowball algorithms/ differs from the previous pin; otherwise keep minor and increment patch. Share that gate in sync_from_snowball.py so local sync and daily CI stay consistent.
The 97b1acc snowball sync only touched NEWS and generators, not algorithms/. Keep minor 20260804 and use patch 1 instead of 20260805.0.
Restore 1.20260804.0 after the non-algorithm 97b1acc sync. Patch will be assigned when a release is triggered post-merge.
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
Stop treating every snowball
mainadvance as a stem-semantic release. Minor now advances only when upstreamalgorithms/changed vs the previous pin; other upstream movement (codegen, runtime, docs, …) keeps the previous minor and bumps patch.The gate lives in
scripts/sync_from_snowball.pyso localsyncand daily CI use the same policy. CI only adds major bumps fromcargo-semver-checksand extra patch bumps for tag/crates.io collisions.Test plan
python3 scripts/sync_from_snowball.py --skip-buildagainst an unchanged pin and check patch + 1