v4-next is a forward-looking branch that builds on top of v4. It contains everything in v4 plus additional features and changes that are staged for the next v4 release cycle.
next (v5 development)
│
v4 ──────────────► v4-next
(stable v4 releases) (next v4 features)
v4-nextis branched offv4and stays up to date with it automatically.- Changes merged to
v4flow intov4-nexton every merge via thepull-v4-into-v4-nextworkflow. - If a merge conflict occurs, a PR is automatically created for manual resolution.
There are three ways to land code in v4-next:
- Via v4: Any PR merged to
v4is automatically pulled intov4-next. - Backport from next: Add the
backport-to-v4-nextlabel to a PR targetingnext. On merge, the backport workflow will cherry-pick the changes intov4-nextvia a staging branch. - Direct PR: Open a PR directly targeting
v4-nextfor changes that are only relevant to the next release.
Every night at 5:00 AM UTC, nightly-release-tag-v4-next.yml creates a tag from v4-next in the format v{version}-nightly.{date}. This mirrors the nightly release process on next.
The existing backport infrastructure (backport.yml) works with v4-next out of the box:
- Label a PR with
backport-to-v4-nextto backport it. - On merge, the changes are cherry-picked onto a
backport-to-v4-next-stagingbranch. - If cherry-pick fails, ClaudeBox is dispatched to resolve conflicts automatically.
- A staging PR accumulates backported commits targeting
v4-next.
| Workflow | Trigger | Action |
|---|---|---|
pull-v4-into-v4-next.yml |
Push to v4 |
Merges v4 into v4-next; creates conflict PR if needed |
nightly-release-tag-v4-next.yml |
Daily at 05:00 UTC | Tags v4-next with v{version}-nightly.{date} |
backport.yml |
backport-to-v4-next label + PR merge |
Cherry-picks into v4-next via staging branch |