Repository navigation
docs(pstack): report PR check state at handback - #622
Open
jhonnyisaacc wants to merge 1 commit into
Open
jhonnyisaacc wants to merge 1 commit into
jhonnyisaacc wants to merge 1 commit into
Conversation
Handback used to post the URL with CI unknown, then a later turn called the work done while required checks were red. Read the printed check state once. Fix a failure the diff reproduces. Do not start a babysit for a pending check, a flake, or an infrastructure failure. Co-authored-by: Jhonny <jhonnyisaacc@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Agents handed back open PRs without reading CI. A later turn then said there was nothing left to do while required checks were red. Handback now runs one status-only pass and reports that state. Babysit stays opt-in.
What changed
gh pr checksorwatch-pr --status-onlywhen you hand the PR back, reports red and pending checks, and fixes a failure the diff reproduces.Scope
Blast Radius
Agents that follow Opening a PR spend one status query at handback and do not mark a change done while a required check is red or pending.
watch-pr --status-onlystill exits 0, so the playbook tells them to read the printed state.Verification
npm install --no-save ajv ajv-formats && node scripts/validate-plugins.mjspassed. All plugins validated successfully.runSimplein the watch-pr policy.--status-onlyreturns exit code 0 with the check rows in the printed verdict.