homu icon indicating copy to clipboard operation
homu copied to clipboard

critical: a try build can trigger a merge to master

Open bryanburgers opened this issue 6 years ago • 3 comments

It appears that sometimes, the result of a try build can trigger a merge to master. This seems to occur when the PR is approved between when the try build is started and when the Homu gets notified that the try build finished.

See: https://github.com/rust-lang/rust/pull/61763#issuecomment-501305359

Potential steps to reproduce (haven't tried this yet, but it fits with what happened on the referenced issue comment):

  1. Start a try build (e.g. @botname try)
  2. Approve the build (e.g. @botname r+)
  3. Wait until the try build succeeds

bryanburgers avatar Jun 12 '19 16:06 bryanburgers

Sounds like #3 in the other direction. Perhaps disallow r+ when state is pending && try?

kennytm avatar Jun 12 '19 17:06 kennytm

I think this is what caused the buggy toolchain yesterday? Cc https://github.com/rust-lang/rust/issues/113713

RalfJung avatar Jul 16 '23 11:07 RalfJung

Sounds like the dual issue to https://github.com/rust-lang/homu/issues/214.

RalfJung avatar Mar 20 '24 10:03 RalfJung