ci: centralize release versioning with independent change fragments - #44
Merged
Merged
Conversation
This was referenced Sep 25, 2026
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.
Problem
Every published-code PR currently edits the same version, lockfile and changelog header. Merging one PR immediately conflicts with its peers even when their code changes are independent.
Change
Feature PRs add independent
changes/<id>.fix|feature|breaking.mdfiles and keep the current release version.scripts/prepare_release.pyaggregates fragments into one release PR, selects PATCH or MINOR, updates the version/changelog and consumes the fragments;uv lockcompletes preparation.The existing
version-bumpstatus name is retained for branch protection. CI checks new fragments, protects existing notes from deletion outside releases, validates release versions/notes/lock consistency, and no longer permits the old label bypass. Tag validation rejects pending fragments or a stale project lock. Development snapshots are identified by commit SHA; package versions identify releases.The same shared commit is included in #42, #43 and #40 so those PRs use the new gate immediately. Their only release metadata changes are independent fragments. Merge this workflow PR first for a smaller subsequent review; it is also safe if a migrated feature PR merges first.
Validation