You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Narrow pr_review.py wait's Exit 44 to Required Checks Read From isRequired #2724
scripts/pr_review.py wait exits 44 (status=CHECKS_NOT_MERGEABLE) on any stuck check while the merge reads BLOCKED. It reads BLOCKED as a stand-in for "a required check gates this merge", and scripts/README.md justifies that as cheaper than reading the ruleset's contexts over another call, with the same rationale in a code comment above the 44 arm.
Since #2722, Q_FULL reads isRequired(pullRequestNumber:) on every rollup member in the same call, and the held-head poll already uses it. So a merge BLOCKED by an unresolved thread or a missing approval, carrying a failed check nothing requires, still exits 44, while the rationale cites a cost that no longer exists.
Done looks like
The 44 arm fires only where a stuck check is required, read from isRequired, and the merge reads BLOCKED.
The README paragraph and the code comment above the 44 arm state the new reading rather than the call-cost rationale.
A test pins that a stuck optional check on a BLOCKED merge does not take 44, and that a stuck required one still does.
Activity
Poll an Attested Head's Checks in pr_review.py wait (#2722)
Narrow pr_review.py wait's Exit 44 to Required Checks (#2727)