Issue 286
bug: Copilot automatic PR review fails on every PR since 2026-10-22 12:12 UTC
Back to our planDone
bugcipriority: medium
Problem
Copilot's automatic PR review fails on every PR since 2026-10-22 ~12:12 UTC with "Copilot encountered an error and was unable to review this pull request." It is not to be disabled (owner, 2026-10-23); the goal is an evidence-based diagnosis and a tested fix.
Evidence so far (verified)
- Sharp boundary. 37 Copilot reviews succeeded in October (18th: 2, 19th: 4, 20th: 9, 21st: 13, 22nd: 9). The last success was #224 (job finished 2026-10-22 11:12 UTC). Every review since has failed: #228 at 12:16 UTC onward, 23 in a row through #284 (15 on the 22nd, 8 on the 23rd).
- Same job, same setup. The dynamic workflow "Running Copilot Code Review" (
dynamic/agents/copilot-pull-request-reviewer) runs identical steps in passing and failing runs; all setup steps pass, and only "Processing Request (Linux)" fails. Passing runs spent 7–10 minutes there; the first failures about 3 minutes; today's 18–24 seconds. - Not our content. Control test: #184 was reviewed successfully on 2026-10-21 and hasn't changed since (head
c15d6c2). Re-requesting Copilot's review on it at 2026-10-23 18:33 UTC failed the same way in 24 seconds (run 40004271704). - No repo-side Copilot configuration changed. No
.github/copilot-instructions.md,.github/instructions/, Copilot setup workflow or MCP config exists; themainruleset has nocopilot_code_reviewrule (so automatic review is set in the owner's Copilot settings); the commits that landed onmainbetween the last success and the first failure (#222, #223, #224) touch only app code and docs. - Public incidents checked. A "Copilot Code Review unable to complete reviews" incident was reported on 2026-09-28 (resolved by a revert); none found yet for 2026-10-22. GitHub's default-policy enforcement for Copilot features rolls out 2026-10-22 to 10-26, but it applies to Copilot Business and Enterprise.
Not yet verified (hypotheses)
- Premium-request allowance used up on the owner's Copilot plan (code review spends premium requests; the boundary follows a busy two days). Needs the billing page.
- Account or policy setting changed around 2026-10-22 (Copilot code review or automatic review setting, plan change).
- GitHub service problem limited to some accounts. The step log should say which.
Blocked here: the job log is stored on a host this agent's sandbox can't reach, and account-level billing and Copilot settings APIs aren't available to it. Next step: read them in the owner's browser.
Acceptance criteria
- Not done: The failing step's actual error message is captured here
- Not done: Premium-request usage, plan and Copilot code review settings are checked and recorded
- Not done: The cause is identified as service, configuration or entitlement, with evidence
- Not done: A fix is applied and tested by re-requesting review on #184 (control) and one new PR; or, if external, a GitHub Support ticket is filed with this evidence
- Not done: Automatic review stays enabled throughout
Area
ci
Priority
Medium
Generated by Claude Code, opens in a new tab