-
Notifications
You must be signed in to change notification settings - Fork 4
Merge Queue Notes
To get merge queues working:
- Setup branch rules with
Require merge queue
andRequire status checks to pass
(with our github actions selected)
(this was a head scratcher for me since PRs were getting merged before the failing tests finished!)
merge queue | status checks |
---|---|
- Create one (or more) workflows; see:
- merge queue dart_mq.yml
- presubmit dart_prtest.yml
In the GitHub examples, they only talk about the first PR failing and being removed.. but what if the first one passes, does it retest?
Answer: No, it merges to head! The subsequent PRs are removed, the second (failing) is removed, the third (failing because it includes the second pr) is retested and later merges!
Three PR's in the queue:
The second PR fails. The PR status page says it has failed and offers some information, but the button to remerge is still green (?) - we need to be vigilant around this.
The third PR gets rescheduled. Not shown here: the merge queue did show it as failing, but that's because it included the second pr's changes that were failing. The PR's page does not show the gory details of being re-added and re-testing.
The first PR just landed, as if the queue wasn't there. Neat!