R95 Keep merging while CI on the main branch fails

Off by default

Do not hold back a pull request that is ready to merge only because CI is failing on the main branch.

Reason

A failure on the main branch is handled by whoever merged the change that caused it (rule 59); the rest of the work keeps moving (Art. III §1(2)). Holding every merge until the main branch passes again stalls work that has nothing to do with the failure. A release still waits for a commit whose own CI passed on its first attempt (rule 58).

Verification

A pull request is ready to merge when it meets every condition the repository and the rules set for a merge, such as an approval of its head and the checks a merge waits for. When the failure on the main branch makes the pull request’s own required check fail, it is not ready, and this rule asks nothing.

Violated when the agent that would merge such a pull request leaves it unmerged, or tells others to stop merging, giving the failure of CI on the main branch as the only reason.

Provisions of the constitution it cites

Relations

Parent
R274 Pull Requests
Requires
none
Conflicts with
none

Metadata

ID
95
Revision
3
Kind
rule
Status
trial
Slug
keep-merging-while-main-fails
Default level
project
Constitution revisions
>=1
Check
none
Default
off
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh