homu icon indicating copy to clipboard operation
homu copied to clipboard

bors should not try to merge a PR if the CI has failed

Open varkor opened this issue 6 years ago • 7 comments
trafficstars

In the rare occasions we might want to merge even if CI has failed, we should explicitly command @bors to ignore the CI failure.

varkor avatar Sep 27 '19 00:09 varkor

Why would this ever be the case? I'm quite confused -- is there some context here? Bors does check the CI status (otherwise, you know, there'd be no point...?)

Mark-Simulacrum avatar Sep 27 '19 00:09 Mark-Simulacrum

Sorry, I thought someone indicated otherwise, and I must have misunderstood.

varkor avatar Sep 27 '19 06:09 varkor

Discussed briefly on Discord. Turns out @varkor presumably meant that if the PR CI fails, we should not then go and try to test on auto branch CI, since that's probably a waste of time.

Mark-Simulacrum avatar Sep 27 '19 16:09 Mark-Simulacrum

Yeah, it would be great if bors either waited until PR CI passed before adding the PR to the queue, or else de-queued PRs (auto-bors r-) when PR CI fails.

RalfJung avatar Dec 03 '19 08:12 RalfJung

Maybe easier to implement - if bors could show on the queue that PR CI failed, it would at least let people know it wouldn't be included in rollups: https://github.com/rust-lang/rust/pull/84716#issuecomment-829706626

jyn514 avatar Apr 30 '21 00:04 jyn514

Or better: if CI fails, then it automatically gets r-ed

Oh that was said

jackh726 avatar Apr 30 '21 01:04 jackh726

Another approach to this is r+ await (#120).

camelid avatar Apr 30 '21 02:04 camelid