Skip to content

fix(github): Fail closed when a poll reads no head commit - #6300

Merged
dan-petty merged 2 commits into
mainfrom
fix/4927-pr-monitor-reports-ready-when-a-poll-reads-no-check
Nov 18, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4927-pr-monitor-reports-ready-when-a-poll-reads-no-check

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A poll that read no head commit left the checks unread with no blocker, so the verdict reported the pull request ready while a check of the head commit had failed. _judge_checks now holds a checks_unread blocker when the payload gives no head commit SHA, so pr ready, check-readiness and the monitor all fail closed; the monitor sets checks_failed and exits 1. A commit that reports no check where a workflow can start one keeps its pending wait.

Closes #4927

Change: openspec/changes/archive/2026-11-18-4927-pr-monitor-reports-ready-when-a-poll-reads-no-check/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/github GitHub Projects v2, Views, Milestones, Labels, and PR automation labels Nov 18, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 18, 2026 14:39
@dan-petty
dan-petty merged commit 79d5747 into main Nov 18, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/4927-pr-monitor-reports-ready-when-a-poll-reads-no-check branch November 18, 2026 14:40
dan-petty pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.177.0](v0.176.1...v0.177.0)
(2026-11-18)


### Features

* **research:** Map pins to OSV names and list rendered images
([#6285](#6285))
([475700d](475700d))
* **research:** Store fetched research pages in Qdrant
([#6301](#6301))
([22832c2](22832c2))


### Bug Fixes

* **cli:** Name the test-run timeout and drop the traceback
([#6296](#6296))
([c49fd02](c49fd02))
* **deps:** check the tools lock requirement files for advisories
([#6261](#6261))
([ff42fbe](ff42fbe))
* **github:** Fail closed when a poll reads no head commit
([#6300](#6300))
([79d5747](79d5747))
* **k8s:** Ignore the CNPG monitoring ConfigMap as an Argo CD orphan
([#6306](#6306))
([058ce30](058ce30))
* **k8s:** send direct embedding calls to embedding Service
([#6293](#6293))
([e0a7aad](e0a7aad))
* **roadmap:** do not create empty groups for whole-suite criteria
([#6303](#6303))
([43f67e0](43f67e0))
* **roadmap:** Name the gh command and the full title when a create
fails ([#6302](#6302))
([3f9e060](3f9e060))
* **roadmap:** sync delivery PR title and type with staged plan proposal
([#6297](#6297))
([9b73219](9b73219))
* **telemetry:** Use the delta_to_cumulative name of the collector
processor ([#6308](#6308))
([0083d3d](0083d3d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/github GitHub Projects v2, Views, Milestones, Labels, and PR automation type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(github): pr monitor reports ready when a poll reads no check

1 participant