8000 ci: run CI on maintenance branches and keep semver blocking there (#937) by adityamukho · Pull Request #968 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

ci: run CI on maintenance branches and keep semver blocking there (#937) - #968

Merged
adityamukho merged 1 commit into
mainfrom
ci/937-v2x-ci
Dec 1, 2026
Merged

adityamukho merged 1 commit into
mainfrom
ci/937-v2x-ci

Conversation

@adityamukho
Copy link
Copy Markdown
Collaborator

Step 0 of the #937 branch move. After the move this branch becomes v2.x, and pushes and pull requests there take their workflows from v2.x itself.

Problem: rust, lint, wasm and binary-size triggered only on main, and policy only on pushes to main. So after the rename, v2.x would get no CI. A 2.x patch release from v2.x would 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 to main and v[0-9]* (as coverage-gates already does).
  • policy: also triggers on pushes to v[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 as v3. The baseline is the latest reachable tag, which on v2.x is the latest 2.x release (today v2.0.12).

Nothing changes for main today, or for pushes and PRs to v3, which use v3's own workflow copies. This lands before the rename, so v2.x never runs without CI.

Codex (gpt-6-astra) review: no findings against the change. It checked that all six release-gate workflows cover v2.x and that the continue-on-error expression is valid and evaluates as intended.

Refs #937 (not closing).

🤖 Generated with Claude Code

https://claude.ai/code/session_01H2a7QngaFzuCVt5umd1qoh

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
codecov Bot commented Dec 1, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adityamukho
adityamukho merged commit afb7c6a into main Dec 1, 2026
20 checks passed
@adityamukho
adityamukho deleted the ci/937-v2x-ci branch December 1, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
0