Repository navigation
Retry Copilot errors once before releasing the review gate - #477
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9801bd91-91e6-4ba3-994f-a6c6212a360a
Pull request dashboard statusMerged · refreshed 2026-10-16 23:51 UTC Status above doesn't look right?
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused change has relevant regression coverage and no identified blocking issues.
0 open findings
What changed in this PR
Treats Copilot error notices as failed attempts so the dashboard can retry reviews without a new commit.
Changes:
- Excludes exact error notices from completed-review status.
- Adds regression coverage for retries, delivery confirmation, and routing.
- Documents retry behavior and unchanged safeguards.
| File | Description |
|---|---|
| pull-request-dashboard/README.md | Documents retries and gate timeout behavior. |
| .github/scripts/pull-request-dashboard/test_dashboard.py | Tests same-head retries across existing routes. |
| .github/scripts/pull-request-dashboard/test_copilot_review.py | Tests error classification and delivery behavior. |
| .github/scripts/pull-request-dashboard/RATIONALE.md | Explains failed-attempt handling and safeguards. |
| .github/scripts/pull-request-dashboard/copilot_review.py | Filters error notices from completed reviews. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Stop automatic requests and release the Copilot gate after two error notices on the current head. Keep required checks and unresolved findings blocking, and explain exhausted retries in the live status. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a1dc5421-f8bf-4a1d-bafa-ae90bad468af
trask
marked this pull request as ready for review
October 16, 2026 03:58
maryliag
approved these changes
Oct 16, 2026
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.
Treat Copilot's "encountered an error" notice as a failed attempt rather than a completed review, allowing one automatic retry per commit. After a second error notice, stop requests for that commit and release the Copilot gate. Required checks and unresolved Copilot findings still apply.
Retry on the next eligible refresh without requiring a new commit, including for PRs already routed to reviewers. A new commit resets the budget, and the status comment explains when retries stop.
Observed on open-telemetry/opentelemetry-java-instrumentation#20633.