Skip to content

Let an Earlier Partial Outrank an Unknown Head Reading in pr_review.py #3412

Closed

Description

@ptr727

coverage() in scripts/pr_review.py returns a head round's unknown reading before it checks partial_on_record. Suppose an earlier Copilot round states partial coverage, and the only round on the head is a body the reader fails on, or a fleet-review marker it cannot believe. In that case status prints coverage=UNKNOWN and exits 0 with the "Merge Gate item 2 is unmet" note, not 42.

This fails closed, because UNKNOWN leaves Merge Gate item 2 unsatisfied. What it loses is the 42 hand-to-maintainer signal and the PARTIAL label that the usage text promises for a head stating nothing beside an earlier partial.

The fix is to let a recorded partial outrank a head unknown, with a test pairing an UNKNOWN head round with an earlier partial round. Raised by the local strict review of the pr_review split after that push's edit budget was spent.

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