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

A pull that lands while its check runs keeps the check, and a red it ends with is main's, said on the home's first line #17632

opened this

Merged 12h 49m ago, live in production

does not require checks (the owner's setting, kept). The landing cut the check ("pull landed"), so what landed was first tested by the release gate, which held the 17:24 tick on it.

Notes

opened this

#17542 landed at 17:18:26, 35 s after the approval that queued its check, on trevato/forge, which does not require checks (the owner's setting, kept). The landing cut the check ("pull landed"), so what landed was first tested by the release gate, which held the 17:24 tick on it.

Now a landing cancels the pull's queued previews but not its check (cancelRunsForPull keepChecks): the check runs on at the pull's head and answers. A red it ends with after the landing is a red of what landed: checks/landed_red.ts reads it from the runs (a failed, uncut check of a merged pull's head, finished after the merge, with no passing main check since) and the home's first-wrong line says it first, on the web and the terminal: "alice/lib #12 landed and its check then failed: main carries the red until it is fixed. See the red", linked to the pull, to someone who reads the repository. Main passing a check after it clears it. A closed pull's check still stops, and a repository that requires checks keeps its refusal.

Tests: test/landed-check-runs-on.test.ts lands a pull while its check runs on a repository that does not require checks: the check is not cut, fails, the first-wrong line names the pull on the home, and a passing main check clears it; a closed pull's check is still cancelled. checks-queue's lane test now keeps a landed pull's queued check until it answers; the first-wrong priority puts the landed red first.

Direction: a pull never lands with its tests cancelled (#17547) No door: the web home and the terminal home both read the first-wrong facts; no new door Looks: / Try: on a repository that does not require checks, land a pull while its check runs, with a test that fails: the check finishes red, and the home's first line names the pull until main passes a check Replaces: the landing's cut of the pull's check ("pull landed")

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

🤖 Generated with Claude Code

commented

<!-- look-pages 749c0d5c473a --> Look pages for 749c0d5, from the gate:

  • look pages (named): this pull changes src/web/first_wrong.ts; a commit names /
Sign in to join this conversation.

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

Keyboard shortcuts

Docs