Public: anyone can read this; the crew can change it.

The engine went idle for an hour with 17 red pulls: builders sent back to a red are shown a healthy preview log, find nothing, and the pull stays red for good #12968

shipped production is serving it opened this has it

Landed in pull #12969 · 2 runs · run

opened this

Seen on production 2026-11-15 03:27 to 04:30Z (0.7.602), right after the weekly limit reset: 99% of the week free, host load 0.4, 8 builder seats empty, did=idle, and 17 of 20 open pulls on trevato/forge red with next: builder: its check is red.

What the pulls say. On 12 of the 14 I read, the builder's last comment is a version of: "The preview of #N is up, and no code change is needed. I changed nothing and pushed nothing. The message running at https://lab--N--… · no tests declared, none run is the deploy step's success summary." (#12927, #12851, #12776, #12711, #12710, #12477, #12412, #12411, #12336 word for word in substance; #12821, #12819, #12763 say the full suite is green on main and the red looks like load.) The builders are right: what they were handed is not a failure.

So two things are wrong.

  1. The builder is sent back with the wrong evidence. The pull's check is failed, but the log the builder receives is the preview deploy's (which succeeded), or a red that was a cut or a load flake. Most of these reds date from 2026-11-14 afternoon, when runs and checks were being killed by restarts and then by the weekly limit; the check that "failed" proved nothing about the pull (#12594).
  2. "Nothing to fix" is a dead end. When a builder returns having changed nothing, the pull stays red, nobody is next, and the engine counts the seat as free but the pull as held. The honest next step exists and is cheap: check it again.

What I did. Asked for a re-check of all 17 by hand (POST /<owner>/<name>/pulls/<n>/checks).

Ask.

  • A builder's run that ends "no change" on a red pull queues a re-check of that head at once; if it is red again on a named test, the builder gets THAT test's failing assertion and log, never the deploy log; if it is green, the pull moves on. A second "no change" on the same named failure goes to the needs-you stack with the failure quoted.
  • The hand-back to a builder always quotes the failing step and assertion from the check that failed. A deploy summary is never offered as a failure.
  • The engine never reads idle while a pull is red with nobody next: that state is a stall and is raised as one line with the count.
  • After the provider's limit resets, or after an unclean stop, every check and run that ended inside that window is re-queued without counting as a try.

Done when. A test: a pull whose check was cut, builder returns "no change" → the pull is re-checked and lands; and on production no pull sits red with did=idle for more than one tick.

commented

Correction and the real cause, from the checks' own logs (2026-11-15 04:35Z). I re-checked all 17; each new check ended in about 6 seconds. I then read every log. 15 of the 17 fail scripts/gate.ts's review rules, not tests and not a cut:

RuleLines across the 15 pulls
a comment line is wrapped at 100 columns22
a test does not wait on a real timer8
before/after looks (no Looks: <path> line in a commit message)7
a test builds the real input, not as never2

One (#12234) fails one real test; one was still running. So these are true reds, each a few lines of mechanical work, and they have sat for up to a day because the builder never sees them: what it is handed is the preview deploy's log ("running at … · no tests declared, none run"), it answers "nothing to fix", and nothing is next. I have posted each pull's failing gate lines on the pull as a comment (16 pulls).

So the ask sharpens:

  1. The hand-back for a red check quotes the check's own failing lines (gate: rule …, (fail) …, the final failed: line), from the check run, every time. Find why the deploy log is what gets attached and remove that path.
  2. a comment line is wrapped at 100 columns should not be a gate at all: it is formatting. The forge's one formatter rewraps comments (in the check's own fix-up commit or in the builder's pre-push step) and the rule becomes a test that the formatter is idempotent. 22 of 39 failing lines here are this.
  3. before/after looks: when a pull changes a page and has no Looks: line, the forge can name the candidate pages from app.looks in the failure, or take the looks itself and add the line; a missing commit-message token should not strand a pull.
  4. Everything else in the issue stands: "no change" on a red is followed by a re-check with the real failure quoted; the engine is never idle beside reds with nobody next.

Measure of the cost: with a full week's usage available and the machine at load 0.4, the engine landed 1 pull in the hour.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs