Seen on production 2026-11-14. A bad release crash-looped the forge 12 times between 15:22 and 15:27Z. At 15:34Z, on 0.7.598 again: trevato/forge had 35 open pulls, 28 red, 0 queued, and each red pull's next step read builder: its check is red. The pull API showed check: {"state":"failed","baseOid":""}. An hour earlier the same repository had 10 to 11 red. Nothing re-queued them; I asked for a re-check of each by hand (POST /<owner>/<name>/pulls/<n>/checks, all 28 accepted and running).
Why it is wrong. A check that the forge itself killed proved nothing about the pull. Marking it red sends the pull to a builder, who spends a run looking for a fault that is not there, and it hides the real reds among the false ones. The forge already knows the difference: its own decisions in the log read retry=stop cause=environment.
Ask.
A check that ends because the forge stopped (a restart, a crash, the check's cell killed by the host) is cut, never failed: the pull's state stays what it was and the check is queued again at boot, in rank order. requeueAbandonedChecks should cover a crash loop: several restarts inside a minute must not exhaust a retry count.
A pull is only "red: back to its builder" on a check that RAN to a verdict on that head.
After a boot that follows an unclean stop, one line says how many checks were cut and re-queued.
An admin can re-check every pull whose last check was cut or failed inside a time window in one call (today that took 28 requests).
Done when. A test that kills the forge three times in a row during a pull's check ends with that check queued, the pull not red, and no builder run started for it.
Seen on production 2026-11-14. A bad release crash-looped the forge 12 times between 15:22 and 15:27Z. At 15:34Z, on 0.7.598 again:
trevato/forgehad 35 open pulls, 28 red, 0 queued, and each red pull's next step readbuilder: its check is red. The pull API showedcheck: {"state":"failed","baseOid":""}. An hour earlier the same repository had 10 to 11 red. Nothing re-queued them; I asked for a re-check of each by hand (POST /<owner>/<name>/pulls/<n>/checks, all 28 accepted and running).Why it is wrong. A check that the forge itself killed proved nothing about the pull. Marking it red sends the pull to a builder, who spends a run looking for a fault that is not there, and it hides the real reds among the false ones. The forge already knows the difference: its own decisions in the log read
retry=stop cause=environment.Ask.
cut, neverfailed: the pull's state stays what it was and the check is queued again at boot, in rank order.requeueAbandonedChecksshould cover a crash loop: several restarts inside a minute must not exhaust a retry count.Done when. A test that kills the forge three times in a row during a pull's check ends with that check queued, the pull not red, and no builder run started for it.