develop.
Integration branch with sub-PRs
Why an integration branch
CI, the AI reviews and the initiative gates only run on pull requests targetingdevelop (or
release and master). A PR targeting any other branch only kicks off the lightweight title and
label jobs, never CI. That is why:
PRs stacked directly on
develop caused the most expensive days of October: every merge forced a
rebase and a new CI run on every PR that followed.
Recipe
1
Register the tasks
In the initiative’s
tracker.yml, add one task per sub-PR (or per area). They will all point to
the final PR.2
Create the integration branch
3
One sub-PR per part
4
Update the branch only when needed
Bring
develop into the integration branch only if there is a conflict, or right before
the final PR:5
Final PR to develop
prs. Follow the Level 2 recipe from the
draft onward: pr-check, one initiatives:review, ready, one push per round.When not to use an integration branch
- When the parts are independent of each other: then they are several Level 2s, not a Level 3.
- When the work lasts more than two weeks or changes something users can see: it is a Level 4.
Checklist
- Integration branch
feature/<scope>/<name>fromdevelop. - Sub-PRs
…-part-Ntargeting the integration branch, ≤ ~600 lines, with a human review. -
developis brought in only on conflicts or before the final PR. - Final PR to
developas a draft, declaring every task. - One push per review round on the final PR.