servo / homu

A bot that integrates with GitHub and your favorite continuous integration service
MIT License
329 stars 48 forks source link

r-'ing a testing PR will not cancel it #156

Open kennytm opened 6 years ago

kennytm commented 6 years ago

Repro steps:

  1. r+ a PR
  2. Wait for it to enter the "⏳ Testing commit" (pending) phase
  3. r- it before the test completes

Expected behavior:

Actual:

This new behavior is introduced after (excluding) 0979fe7, so still cc @alexrs 😄

alexrs commented 6 years ago

Thanks for reporting it! I'll look into it.

alexrs commented 6 years ago

@kennytm Can you show me a PR where this happens?

kennytm commented 6 years ago

@alexrs It is a bit messy but you could check https://github.com/kennytm/test-term-coloring/pull/7#issuecomment-376501042 and https://github.com/kennytm/test-term-coloring/pull/8#issuecomment-376501042.

The testing on PR 8 should begin right after 08:22Z.

alexrs commented 6 years ago

I've been busy lately, but I'll look into this ASAP.

KiChjang commented 6 years ago

I believe that if you add a force along with r-, homu would have the correct behavior, so we can instead make r- imply force, but that doesn't sound very safe to me.

alexrs commented 6 years ago

I've been comparing 0979fe7with the latest master (https://github.com/servo/homu/compare/0979fe7151a43fabd4925187ab1f97100bf4d400...master) and I don't see where this problem could have been introduced...