Skip to content

Copilot review runbook has no case for a quota refusal, so the coverage check waits forever #525

Closed

Description

@ptr727

.github/copilot-instructions.md under "Verify Review Covered Current Head" is careful that an empty result cannot read as success. It has no case for Copilot answering that it has reached a quota limit instead of reviewing.

When that happens no formal review ever lands, so path (1) never matches the head SHA. The quota message arrives as an issue comment whose body does not refer to the current changes, so path (2) is correctly not confirmed either. Both paths behave exactly as specified, and the outcome is an agent waiting for a review that is never coming. It is not transient, so the bounded retry workflow does not clear it.

Suggested clause: a Copilot response naming a quota or rate limit is a terminal outcome, not a pending one. Report it to the maintainer and stop waiting, because the fix is account-side and re-requesting does not change it.

Activity

  1. ptr727 commented on Aug 3, 2026

    @ptr727
    OwnerAuthor

    Adopted in #526, with one correction worth passing back.

    The suggested clause is right and is now in the runbook: a Copilot response naming a quota or a rate limit is terminal, so it ends the wait rather than extending it.

    The specific refusal is not in the record, though. On ESPHome-Config#76 the timeline reads review_requested 00:46:48Z then reviewed 00:48:54Z, so the review landed on the current head about two minutes after the request, and Copilot posted no comment there at all. No quota or rate-limit message appears on PhotoCleaner#35 either. The stall was the broken watcher of #524, with an external cause attached to it afterwards, which is why GOVERNANCE.md now also states that a cause nobody observed is not a diagnosis.

    So the detection is structural rather than keyed on the reported wording, since no sample of it exists: pr_review.py wait exits 40 on a reviewer comment postdating its newest review, which is the shape a refusal takes whatever it says, and prints the body whole.

  2. added a commit that references this issue on Aug 3, 2026
    2dde930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions