mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-06 09:17:33 +01:00
A CANCELLED check is not a verdict, it is noise. CI runs with `concurrency: cancel-in-progress`, so a newer run on the same ref kills an older one — and nothing ever re-runs it. The PR is then permanently not-green, the sweep skips it on every pass, and it sits in the queue until a human notices. #603 and #604 stranded exactly this way and had to be re-run by hand. Now a PR whose only non-green checks are cancelled gets those runs re-triggered, and a later sweep judges the real result. Deliberately narrow: if any check is a genuine FAILURE/TIMED_OUT/ERROR the retry is skipped entirely, so this can never paper over a real failure or loop on one. Verified against fixtures for cancelled-only, cancelled plus a real failure, and a failing external status (Snyk-style) — only the first retries. Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>