Hi all,

With https://github.com/apache/druid/pull/20903 merged, a PR into master
can only be merged after its CI has passed. Until now, GitHub showed a
green merge button even when CI had not run or had failed.

How it works:

- CI has a single job, `quality-gate` that runs on every PR and fails
unless the whole CI run passed.
- #20903 added a "Require CI" ruleset to .asf.yaml file that makes
`quality-gate` a required status check on master. Release branches are not
affected.
- Committers can still bypass the rule. If CI is red for an unrelated
reason, such as a flaky test, you can still merge by choosing to bypass the
rules in the merge box. This works the same way as the existing "Require
review" ruleset.

What you may notice:

- An open PR whose last CI run started before #20878 was merged has no
quality-gate result. Push a new commit or merge master into the branch to
start a fresh run.
- A cancelled CI run also blocks the merge until a new run passes.

Since committers can always bypass the check, this doesn't change who can
merge what, so I'm sending it as an FYI rather than calling a vote. If you
run into problems, reply here or open an issue.

Thanks,
Andy

Reply via email to