Repository navigation
Conversation
While a check runs, `devops pr monitor` waits with `gh pr checks --watch --interval` within the time left, and reads the pull request again when gh ends, in place of reading the whole verdict each interval. The Copilot settle time, the exit codes and the read-failure rule stay.
Owner
Author
|
Closed: vetting found it adds a second wait beside the custom loop (+129/−27) and moves reads out of the pacing ledger; evidence on #7509. |
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.
While a check runs,
devops pr monitoranddevops pr waitnow wait withgh pr checks <n> --watch --interval <s>in a process limited to the time left, and read the pull request again when gh ends. Before, they read the pull request, checks, threads, files and reviews again each interval. A watch past the timeout gives exit 3.The monitor waits an interval itself only for a head with no check yet, a check that still runs after a watch, and an active Copilot review or settle time, because gh has no watch of reviews. After a watch it reads at once, but watches again only after an interval, so no loop runs with no pause.
No
--fail-fast(it ends at the first failure, against the #998 rule to name every blocker) and no--required(3 of 29 checks on PR #7481). A live run on PR #7518 waited 72 s in gh for the last check, then exited 2.Closes #7509
Change:
openspec/changes/archive/2026-11-28-7509-monitor-watch-gh/