Repository navigation
ci: remap two-line workflows to main (3.x) and v2.x for the branch move (#937) - #971
Merged
Merged
Conversation
…ve (#937) Lands right after the rename of main to v2.x and v3 to main. Scheduled workflows run from the default branch only: - The ten two-line schedules map their old main cron to v2.x; every other event (the 3.x cron, push, PR) uses main. Dispatch defaults are main. - deterministic-schedules: 3.x only, on PRs to main and nightly on main. - smoke: the original suite checks out v2.x. - bench: binding refs default to main; production history, alerts and start points key on main/v2.x. Runs created before BRANCH_MOVED_AT are read under their new names ((v3) as main, (main) as v2.x) so each line's alert streak continues; tests in .github/bench/branch-move.test.cjs. - fuzz/fuzz-corpus: corpus caches under a new corpus-<branch> prefix, with a one-time restore from each line's old cache. - policy: semver is a hard gate on *.x maintenance branches; on main it is advisory against the previous commit until v3.0.0 final. The weekly cargo-deny run checks main and v2.x. Dependabot also targets v2.x. - bindings.sh patches the crates.io source too, so benchmarks keep measuring the checkout after bindings pin the published crate (#929). - Branch-model docs (CLAUDE.md, CONTRIBUTING, ROADMAP, PHILOSOPHY, BINDING_BENCHMARKS).
#937) A maintenance (*.x) baseline is the latest tag of that major reachable from the base, so a PR whose head reaches a newer line's tag cannot pick it. A push to a development branch is compared with github.event.before, so every pushed commit is reported (first parent for a new branch).
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
v3 became main at 2026-12-01T10:52:03Z (confirmed by the cutover script).
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 1 of the #937 branch move. Merge only right after the rename (
main→v2.x,v3→main), which retargets this PR tomain. Before merging, setBRANCH_MOVED_ATinbench.ymlto the actual rename time.maincron tov2.x. Every other event (the 3.x cron, push, PR) usesmain, and dispatch defaults aremain.deterministic-schedulesstays 3.x only: it runs on PRs tomainand nightly onmain. The original smoke suite checks outv2.x.main, and production history, alerts and start points key onmain/v2.x. Runs created beforeBRANCH_MOVED_ATare read under their new names ((v3)asmain,(main)asv2.x; binding logs'History branch: v3), so each line's alert streak continues across the move. New tests are in.github/bench/branch-move.test.cjs; all 50 bench tests pass. The Bencher branches and branch-titled issues are renamed at the cutover (runbook).corpus-<branch>prefix, with a one-time restore from each line's old cache (v3→main,main→v2.x).*.xbranches, with the line's latest tag from the base as baseline. Onmainit is advisory until v3.0.0 final: a PR is compared with its base, a push withgithub.event.before(fetched after a force push, or reported unavailable). The weekly cargo-deny run checksmainandv2.x, and Dependabot also targetsv2.x.bindings.shalso patches the crates.io source, so benchmarks keep measuring the checkout once bindings pin the published crate (release: set the v3 crate version for the 3.0.0-alpha prerelease #929). Tested on minigraf-python with both a git and a registry pin.Codex (gpt-6-astra) reviewed the step 1 changes and the fixes for its findings. Companion PRs: minigraf-java (bench builder patch) and minigraf-docs (preview
git_ref).Refs #937 (not closing).