Skip to content

feat(ci): merge-train/spartan-v6#24516

Merged
ludamad merged 1 commit into
nextfrom
cb/merge-train-spartan-v6
Jul 3, 2026
Merged

feat(ci): merge-train/spartan-v6#24516
ludamad merged 1 commit into
nextfrom
cb/merge-train-spartan-v6

Conversation

@AztecBot

@AztecBot AztecBot commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Sets up the merge-train automation for a v6-next release line, mirroring the existing spartan-v5v5-next pattern, so public v6 work can run on merge-train/spartan-v6 targeting v6-next (forked off v5-next).

Changes

  • merge-train-create-pr.yml — generalize base-branch detection from a hard-coded *-v5 check to any -v<N> suffix (-v5v5-next, -v6v6-next; no change to v5 behavior). Add merge-train/spartan-v6 to the ci-full-no-test-cache list.
  • merge-train-next-to-branches.yml — add v6-next to the push trigger and a branch for it that auto-pulls v6-next into merge-train/spartan-v6.
  • merge-train-stale-check.yml — add a daily spartan-v6 stale-check job (BASE_BRANCH: v6-next, #team-alpha).

Deliberately out of scope

  • private-port-next label stays scoped to v5-next bases, so spartan-v6 PRs are not auto-forward-ported to next. v6-next is a staging line to be ported at release time, not per-PR.
  • notify-private-sync.yml is untouched — v6-next is public-first with no private mirror, so it must not dispatch a (non-existent) sync-upstream-v6-next.yml.
  • Nightly release-tag / spartan-bench are untouched — v6-next is not a release line yet.

Required branch-creation sequence (needs branch-push rights — not doable via the bot)

These workflows execute from the pushed branch's own copy, so the wiring must be present on v6-next before the train branch is created:

  1. Merge this PR to next and let it propagate to v5-next (the merge-train workflows are kept byte-identical across next/v5-next), or merge nextv5-next once this lands.
  2. Create v6-next off v5-next (now carrying the v6 wiring).
  3. Create merge-train/spartan-v6 off v6-next. create-pr will see the tip is already in v6-next and skip; the first real commit opens the train PR against v6-next.

Creating merge-train/spartan-v6 before step 2 completes would make create-pr fall back to base next and open a spurious full-diff PR — so keep the ordering.


Created by claudebox · group: slackbot

@AztecBot AztecBot added ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR. labels Jul 3, 2026
@ludamad ludamad marked this pull request as ready for review July 3, 2026 21:41
@ludamad ludamad requested a review from charlielye as a code owner July 3, 2026 21:41
@ludamad ludamad enabled auto-merge July 3, 2026 21:41
@ludamad ludamad changed the title ci: wire up merge-train/spartan-v6 → v6-next release line feat(ci): merge-train/spartan-v6 Jul 3, 2026
@ludamad ludamad added this pull request to the merge queue Jul 3, 2026
Merged via the queue into next with commit 47136aa Jul 3, 2026
77 of 82 checks passed
@ludamad ludamad deleted the cb/merge-train-spartan-v6 branch July 3, 2026 22:36
ludamad pushed a commit that referenced this pull request Jul 6, 2026
…v5-next) (#24538)

Follow-up to the merged v6 merge-train wiring (#24516 / #24517).
Generalizes the `private-port-next` auto-label in
`merge-train-create-pr.yml` from `v5-next`-only to any `v<N>-next` base,
so `merge-train/spartan-v6` PRs into `v6-next` are automatically
forward-ported by the private-port-next driver — matching the agreed v6
plan (v6-next work is forward-ported, not held).

```
-              if [[ "$base_branch" == "v5-next" ]]; then
+              if [[ "$base_branch" =~ ^v[0-9]+-next$ ]]; then
```

No change to v5 behavior (`v5-next` still matches). Hand-ported onto
`v5-next` so a `v6-next` forked off it carries the rule immediately;
companion PR opened against `next` to keep the two workflow copies
identical.

---
*Created by
[claudebox](https://claudebox.work/v2/sessions/706da64a13de6c13) ·
group: `slackbot`*
ludamad pushed a commit that referenced this pull request Jul 6, 2026
…24539)

Follow-up to the merged v6 merge-train wiring (#24516 / #24517).
Generalizes the `private-port-next` auto-label in
`merge-train-create-pr.yml` from `v5-next`-only to any `v<N>-next` base,
so `merge-train/spartan-v6` PRs into `v6-next` are automatically
forward-ported by the private-port-next driver — matching the agreed v6
plan.

```
-              if [[ "$base_branch" == "v5-next" ]]; then
+              if [[ "$base_branch" =~ ^v[0-9]+-next$ ]]; then
```

No change to v5 behavior (`v5-next` still matches). Companion to #24538
(same change on `v5-next`), keeping the `next`/`v5-next` copies of this
workflow identical.

---
*Created by
[claudebox](https://claudebox.work/v2/sessions/706da64a13de6c13) ·
group: `slackbot`*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants