You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Carry a File Table Past the Compare Endpoint's 300-File Ceiling #2767
scripts/pr_review.py status reads a carried file table (coverage=carried:table) only where carry_holds finds the pull request changing the same set of files at both commits. That set comes from changed_at, a REST compare, which returns None once the list reaches COMPARE_FILE_CAP (300), since the compare endpoint caps its file list there without flagging it.
So on a pull request changing between 300 and 3000 files, a round covering the head that carries no table of its own can never be answered by an earlier round's table. status exits 45 with "the change set could not be read at both commits", and the UNSTATED message tells the reader to run status again, for a cause no re-read clears.
Found by a local review pass on the change for #2758, which pages the head's own changed-file list to GitHub's 3000-file ceiling but leaves the compare read as it was.
Constructed case
A promotion carrying 400 changed files. Its first Copilot round carries a full file table, and a later round on a new head re-reviews a one-line delta with no table. Both compares return 300 files and changed_at returns None for each, so the carry is refused and status exits 45 on a change set that did not move.
Expected
Either read the change set at each commit in a way that reaches past 300 files, or say in the digest that the compare endpoint's ceiling refused the carry, so the remedy is not a re-run.
Activity
Page pr_review.py's Changed-File List Past 100 So a Large Promotion C…
Read a Carried Change Set Past the Compare Endpoint's 300-File Ceiling (