Repository navigation
fix(ci): ban gh pr checks --watch alongside gh run watch - #1498
Merged
Merged
Conversation
The running-in-ci skill banned `gh run watch` but not `gh pr checks --watch`, which has the same hang behavior. Run 23077253025 used `--watch` and hung for ~55 minutes until the workflow was cancelled. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Collaborator
Author
|
LGTM — clean fix, well-motivated by the incident evidence. The updated wording reads naturally and covers both blocking commands in one sentence. |
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.
Summary
gh pr checks --watchin therunning-in-ciskill, alongside the existinggh run watchbanEvidence
Run 23077253025 (
claude-reviewfor PR #1497) usedgh pr checks 1497 --watchwith a 600000ms timeout, which hung for ~55 minutes until the workflow was cancelled. Session log excerpt:After the
--watchcall timed out/was cancelled, the bot triedsleep 60 && gh pr checks 1497— then the workflow was cancelled entirely.Root cause
The
running-in-ciskill says:But
gh pr checks --watchhas the same blocking behavior and wasn't explicitly banned. The bot followed the letter of the rule (didn't usegh run watch) while violating its spirit (used an equivalent blocking command).This is a recurrence of the pattern from #1402 and #1316 — CI polling commands that block indefinitely.
Test plan
🤖 Generated with Claude Code