Repository navigation
ci: run CI on maintenance branches and keep semver blocking there (#937) - #968
Merged
Merged
Conversation
After the #937 move, this branch becomes `v2.x`. Pushes and pull requests there take their workflows from `v2.x` itself, but rust, lint, wasm and binary-size only triggered on `main`, and policy only on pushes to `main`. The release gate needs successful push runs of all six on the tagged commit, so a 2.x patch from `v2.x` could not be released. - rust, lint, wasm, binary-size: push and pull_request on `main` and `v[0-9]*`. - policy: push on `main` and `v[0-9]*`. The semver check stays a hard gate on a maintenance branch (`*.x`); only a major-version development branch (e.g. `v3`) keeps it advisory. Its baseline (latest reachable tag) is the latest 2.x release on `v2.x`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2a7QngaFzuCVt5umd1qoh
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Step 0 of the #937 branch move. After the move this branch becomes
v2.x, and pushes and pull requests there take their workflows fromv2.xitself.Problem:
rust,lint,wasmandbinary-sizetriggered only onmain, andpolicyonly on pushes tomain. So after the rename,v2.xwould get no CI. A 2.x patch release fromv2.xwould also fail the release gate (.github/release/release.sh), which needs a successful push run of all six required workflows on the tagged commit.Change
rust,lint,wasm,binary-size: trigger on pushes and pull requests tomainandv[0-9]*(ascoverage-gatesalready does).policy: also triggers on pushes tov[0-9]*. The semver check stays a hard gate on a maintenance branch (*.x); it is advisory only for a major-version development branch such asv3. The baseline is the latest reachable tag, which onv2.xis the latest 2.x release (todayv2.0.12).Nothing changes for
maintoday, or for pushes and PRs tov3, which usev3's own workflow copies. This lands before the rename, sov2.xnever runs without CI.Codex (gpt-6-astra) review: no findings against the change. It checked that all six release-gate workflows cover
v2.xand that thecontinue-on-errorexpression is valid and evaluates as intended.Refs #937 (not closing).
🤖 Generated with Claude Code
https://claude.ai/code/session_01H2a7QngaFzuCVt5umd1qoh