document handling for Copilot internal errors during review#22
Merged
Conversation
When Copilot returns an error body (quota / internal failure) instead of inline comments, the right move is to re-request once and, if it errors again, treat the review as unavailable and continue with the next task rather than blocking on a check we can't influence. CI gates correctness. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The bot does run as a GitHub Actions workflow named "Running Copilot Code Review" — it just isn't attached to the PR through the standard pull_requests field, so `gh pr checks` doesn't surface it. The workflow's log carries the actual failure (errorType + statusCode), which is the only way to tell `rate_limit` (skip and move on) apart from a transient error (retry once). Document the lookup-by-branch query and the policy. Today's case: both PR #21 and #22 hit `errorType: rate_limit`, statusCode 429 ("reached your weekly rate limit, reset in ~3 hours"). Co-Authored-By: Claude Opus 4.7 (1M context) <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.
Summary
When Copilot returns an internal-error body (quota / service failure) instead of inline comments, re-request once and otherwise continue with the next task rather than blocking. CI gates correctness; Copilot is advisory.
Test plan
🤖 Generated with Claude Code