Skip to content

An Unrequested Copilot Round With a Short Table Cancels an Attested Local Pass #4056

Closed

Description

@ptr727

Summary

On a feature pull request into develop, an attested local pass reads as coverage=local until Copilot posts a round of its own. Once an unrequested Copilot round with an incomplete file table lands on the head, the digest reads coverage=none. pr_review.py merge then refuses with next=maintainer, although the attested pass still covers that head.

Evidence

  • Affected repository: ptr727/HomeAutomation-Config, pull request 1840, into develop, with hub pr_review.py at 1397e30a.
  • Before the round, status printed review_on_head=local coverage=local.
  • After Copilot's own round at Lite effort, whose table named 33 of the 47 changed files, status printed coverage=none and "no statement, file table, or attested local pass shows full coverage of this head".
  • wait --request asked for nothing, since a round already covers the head.
  • Expected: the review policy hands this head to the attested local pass, so a partial table from a round nobody requested does not unset that coverage.
  • Actual: the attestation stops counting, and only the maintainer can land the pull request.

Reproduction

Open a pull request into develop under the default policy with more changed files than a Lite round tabulates. Record and attest a local pass, then let Copilot auto-review that head.

Possible Fix

Where the policy hands a head to a local pass and an attestation covers that head, read coverage=local whatever an unrequested round's table names, unless that round states partial coverage. Findings from the round would still owe their outcomes.

Activity

  1. ptr727 commented on Nov 22, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-22): the branch merged as #4348 and was cleaned up, so this claim holds no files.

    Backlog burndown claim (round 4, group 2, 2026-11-22): branch burndown/r4-copilot-short-table, issues #4056, #4170.

    Predicted files: scripts/pr_review_rounds.py, tests/test_pr_review.py, scripts/README.md, .agents/skills/pr-review-conduct/SKILL.md. Generated trees .github/skills/ and .claude-plugin/ follow any .agents/skills/ edit.

  2. ptr727 commented on Nov 22, 2026

    @ptr727
    OwnerAuthor

    Already fixed, closed with the maintainer's approval (2026-11-22).

    #4047 (440cdacf, on main) fixed this. On the hub version this issue was measured at (1397e30a), coverage() read the attestation only where no head round carried a table (local_cover(pr) and not any(reading(n).table is not None for n in rounds)). #4047 dropped that clause about 40 minutes before this issue was filed.

    A probe built in this issue's exact shape has one unrequested head round whose table names 33 of 47 files, no coverage statement, an owner attestation, and base develop. It gives coverage=none on 1397e30a and coverage=local on current develop, with no policy and with the default policy. Two existing tests pin the fixed behavior: test_an_attested_head_beside_a_round_whose_table_skips_a_file_is_covered, and the partial-round exception in test_a_stated_partial_round_beside_a_round_whose_table_skips_a_file_is_not_covered.

    Found by the round-4 backlog-burndown group in #4348, which changed nothing for this issue.

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