Repository navigation
Say What a Held Wait's Exit 0 Does Not Prove - #3473
Conversation
The wait help and the scripts README said a held head exits 0 with its required checks settled and every workflow run completed. Two paths the code takes release without either: a payload with no commit matching the head reads no run and no check, and a required check not yet registered holds only a BLOCKED merge, so a DIRTY merge, or a BEHIND one with some check posted, releases while one is missing. Name both, as the promotion review asked. The exit code itself stays for #3471 to decide. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ld Wait Help The local review pass found the new help left out a DRAFT merge with some check posted, which releases the same way a BEHIND one does, and did not name the two conditions under which even a BLOCKED merge skips the hold for an unregistered required check: base branch rules that were not read, and a CHECKS TRUNCATED rollup. Name both, and split the long sentence that carried them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The second local pass found the list of merges that can exit 0 with a required check unregistered still left out a BLOCKED merge missing the rules read or an untruncated rollup. Say that any merge short of the holds just named can release, rather than listing merge states. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
🟡 Changes recommended
Most assessments identify unresolved documentation gaps concerning payload visibility, unmet required checks, and additional release paths.
2 open issues
What changed in this PR
This documentation-only pull request clarifies that a held wait returning exit code 0 does not prove that every required check or workflow run was observed.
Changes:
- Updates
scripts/pr_review.pyhelp text with the documented exceptions and limitations. - Aligns
scripts/README.mdexit-code guidance with the held-wait implementation. - Describes unreadable payloads, unmet required checks, truncated rollups, and merge-state exceptions.
| File | Summary |
|---|---|
scripts/README.md |
Documents the revised held-wait exit semantics and limitations. |
scripts/pr_review.py |
Updates CLI help for held-head exit 0 behavior. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3473 +/- ##
========================================
Coverage 80.98% 80.98%
========================================
Files 25 25
Lines 8895 8895
========================================
Hits 7204 7204
Misses 1691 1691
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Copilot found the help and the README promise every workflow run on the head has completed, while runs_open reads only the head's last 50 check suites and those of its first CHECKS_WINDOW rollup contexts. Say what the read reaches. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
…nd Nine Fixes to Main (#3472) ## Summary Promotes the pull requests merged into develop since release 2.0.1166. - [#3444](#3444): keeps untracked files out of the pre-commit snippet's prose gate. - [#3446](#3446): exempts the BuildKit `check=` parser directive in the prose gate. - [#3448](#3448): compares intent staleness against the hub's own copy and names the moved canonical. - [#3450](#3450): says only the prose gate is diff-scoped in the commit hook. - [#3453](#3453): reclassifies HolidayLights as an operational config repository in the registry. - [#3455](#3455): classifies the remaining subprocess failures by status rather than by prose. - [#3464](#3464): splits the semicolon series in WORKFLOW.md's filesystem output-seam bullet. - [#3466](#3466): audits a caller's `workflow-model` input against the registry. - [#3469](#3469): emits one snapshot shape from the skills report's cannot-read paths. - [#3462](#3462): splits `pr_review.py`'s pure check and round readers into the leaf modules `pr_review_checks.py` and `pr_review_rounds.py`. - [#3470](#3470): holds a covered held `wait` while any workflow run on the head has not completed. - [#3473](#3473): answers this promotion's review. The `wait` help and `scripts/README.md` now say what a held head's exit `0` does not prove: a `CHECKS UNREADABLE` payload, the conditions the unregistered-required-check hold reads, and the reach of the completed-run read. The exit code itself stays for #3471. Closes #3370 Closes #3372 Closes #3371 Closes #3369 Closes #3378 Closes #3454 Closes #3332 Closes #1759 Closes #3451 ## Constituent coverage Each change this promotion carries had coverage on its own pull request into develop, at its merged head: | Pull request | Merged head | Coverage | | --- | --- | --- | | [#3444](#3444) | `a61d1e2a` | attested local pass at the merged head, base `develop` | | [#3446](#3446) | `0a0efea1` | attested local pass at the merged head, base `develop` | | [#3448](#3448) | `c2c71ea7` | attested local pass at the merged head, base `develop` | | [#3450](#3450) | `4ec37c34` | attested local pass at the merged head, base `develop` | | [#3453](#3453) | `f20a543c` | a Copilot round on the merged head, its one changed file, no open findings | | [#3455](#3455) | `85f0ce60` | attested local pass at the merged head, base `develop` | | [#3464](#3464) | `fcd48e2d` | attested local pass at the merged head, base `develop` | | [#3466](#3466) | `3426a19c` | attested local pass at the merged head, base `develop` | | [#3469](#3469) | `ea4b0bb7` | attested local pass at the merged head, base `develop` | | [#3462](#3462) | `236eceab` | attested local pass at the merged head, base `develop` | | [#3470](#3470) | `3545ba46` | attested local pass at the merged head, base `develop` | | [#3473](#3473) | `46010530` | attested local pass at the merged head, base `develop`, and a Copilot table on an earlier head naming exactly the changed files | 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Summary
Answers the finding the develop -> main promotion #3472 raised on the
waithelp that #3470 wrote. The help andscripts/README.mdsaid a held head exits0with its required checks settled and every workflow run completed. Two paths inheld_checks_openrelease without either:CHECKS UNREADABLE, reads no run and no check.BLOCKEDmerge whose base branch rules were read and whose rollup is notCHECKS TRUNCATED. An empty rollup holds onlyBLOCKED,BEHIND, orDRAFT. Short of those holds, a merge with some check posted, or aDIRTYone with none, releases with a required check unregistered.The help and the README's exit table and held-wait paragraph now say this. The exit code itself is unchanged and stays for #3471 to decide, whose done-when allows either a new exit or help naming each exception. This change does the second without closing that decision.
Verification
OPERATIONS.md"Local Verification" command: 2940 tests, OK, 7 skipped, on the first commit. Thetest_pr_review*.pyset, 525 tests, OK, on the second.prose_lint.py --diffagainst the merge base, with and without--check sentence-length: clean.DRAFTcase, the unnamed rules-read and truncation conditions, and an incomplete list of releasing merges, each fixed here. The third found nothing.🤖 Generated with Claude Code