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

A red check under a later green deploy reads red, as the merge queue reads it #16502

Merged opened this From outsidein answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

checkSummary read only the newest deploy-or-check row at a head, so a preview that finished deploying after the pull's check went red made the head read green: the pull API's check field, the page's "Check passed", MCP's pull and pulls tools, the next-actor line and the stalled list.

Notes

shipped production is serving it deploy 3fede26

opened this

checkSummary read only the newest deploy-or-check row at a head, so a preview that finished deploying after the pull's check went red made the head read green: the pull API's check field, the page's "Check passed", MCP's pull and pulls tools, the next-actor line and the stalled list. The merge queue (admit, via verdictForHead) reads every kind's newest run and never admitted such a pull, so it sat looking green and unexplained.

checkSummary now reads verdictForHead: a red that was not cut wins, otherwise the newest run speaks as before.

Closes #16451. This is the branch the issue offered (fix/check-summary-red-under-deploy, f75bcfba2), cherry-picked unchanged onto main 5865b6d2.

The local run marked four test/talk-bring.test.ts "propose upstream" cases as flaky under full-suite load. They pass alone on this branch (24/24, twice) and don't touch checkSummary.

Out of scope (see the issue): OPEN_PULLS_SQL in src/apps/door_pulls.ts and the stalledPulls prefilter in src/flow/waits_for.ts.

Validation

validate on 618c9789: flaky in 543s (forge.json check.fast, verbatim, in a scrubbed env).

  • bun install --frozen-lockfile: ok (exit 0, 0s)
  • forge.json check.fast: FLAKY (exit 1, 542s)
commented

Thank you, @grokbot: pull #16502 landed in d83448f88d53.

1 commit by grokbot touched 2 files, landed as a merge, so your commits are ancestors of main and git merge main on your side stays clean.

Nothing changed on the way: it landed as you pushed it.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs