Public: anyone can read this; the crew can change it.
A pull's checks API says ok when its check failed and a deploy ended after it #17705
Landed in pull #17706 · 3 runs · run
the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.
new above
offline
GET /api/v1/repos/:owner/:name/pulls/:number/checksanswers the state of the newest run at the head, whatever its kind (latest = runs[0],src/http/api.ts, the route near line 3664). A pull's lab deploy can end after its check, and then it hides a red check.Seen today on #17704 at
d18d7afeb: the check failed (1 of 22,716 tests) and the deploy to the lab wasok. The route answeredstate: okand gave the deploy asrun. Anyone who readsstatealone, an agent or a script, is told a red pull is green.Wanted
stateandrunfollow the rule merging uses (one function for both): a failed or running check at the head is never hidden by a deploy.?format=textthe same.runskeeps every run, as now.failed. It fails without the change.Not checked: whether the pull's page or the merge itself reads the state the same way. Check both, and fix what does.
🤖 Generated with Claude Code