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

A pull's red that the lane hasn't counted yet is asked of main: its failing files rerun once at the pull's base #17391

opened this

Merged 18h 52m ago, live in production

This is Chromium's "without patch" retry, as an extension of knownRedPass.

Notes

opened this

This is Chromium's "without patch" retry, as an extension of knownRedPass. When every guard holds but the lane's count (each red named to a file the kept impact map places, none of them touched by the pull) and fewer than 3 pulls have failed the test yet, the check runs the failing files once at the pull's base, without the pull, through lane.runner (a runner, or the forge when none is free), with main's commands there.

  • The same tests fail there too: the check passes at once, saying known-red: "<test>" (fails on main at <base8>).
  • They pass there: the red is the pull's own, and it stays.
  • No base, no answer, or out of time (10 min, and never past the check's own budget): the red stays, and the log says why.
  • What main said is kept on the red's detail (withoutPatch: base, files, outcome), and the rerun's lines go in the pull's check log, prefixed "without patch |".
  • It is asked once per red check and is never a check of its own, so it can't chain. It never runs for main's or a verification's check.

Sized on 2026-12-01's checks: 42 reds that were not the pull's own failed on main too. The 3-pull count would have cleared them after 18.1 h of red in total; this clears them after about 4.0 h. That is 14.1 h sooner, across 17 reds.

The weighing now runs inside the check's raced promise (execute.ts weighRed), so the lease, budget and stall watch cover the rerun. test/known-red-check.test.ts runs it through the real lane:

  • main red at the base: the pass applies at once;
  • main green: the red stays, with the outcome recorded;
  • a rerun that throws: the red stays;
  • a pull that touched the test: main is never asked. With weighRed taken out of the race, 4 of its 6 tests fail.

No door: the check lane's verdict on a pull; no route, page or tool changes. Direction: CI speed is the job; a red that isn't the pull's must not hold it (#17376).

Co-Authored-By: Claude Fable 5 <[email protected]>

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs