Repository navigation
RAL-185: rally wait-green <PR or sha>, one command that waits for every check at a pinned head - #272
Merged
Merged
Conversation
…ry check at a pinned head From the watchman, after my home-made jq waiters never exited all night. Observed, recording nothing: it waits for every check on the base's tip and its first parent (check runs and commit statuses, so ci-local's too), pins a pull request's head, and exits 0 green, 1 red, 3 moved, 4 timed out, 2 on a usage error. The Rally block tells teams to use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
RAL-185, from the watchman, after my home-made jq waiters never exited all night and the merge queue waited on green pull requests. Their
[...]|length,(.statuses|length)applied.statusesto the array, so their test could never pass.rally wait-green <PR | full sha> --repo owner/repo: observed, recording nothing. It waits until every check has finished at the head, then prints what each ended as. Exits:--head);local/*too, unless--checknames them. A head whose GitHub checks finished before ci-local posted is still waiting, not green. The first parent covers a tip that was just merged and has no local statuses yet.src/init.rsand CLAUDE.md) tells teams to use it; docs/wait-green.md; the roadmap.ghwhose checks progress, including a just-merged tip without its local status;🤖 Generated with Claude Code