Skip to content

Carry a Spent Budget's Body-Listed Findings Through the Merge Gate #2613

Closed

Description

@ptr727

Problem

#2549 (for #2534) changed local-strict-review "Disposing of Findings" so that a spent edit budget hands each remaining introduced finding to the pull request. The body lists each one with its class, and the review loop "then gives each one an outcome under pr-review-conduct before it merges, whether or not a hosted reviewer raises it again."

Nothing on the path to the merge carries that obligation:

  • drive-pr "The Drive Loop" step 2 opens the pull request with no instruction to write that list.
  • pr-review-conduct Merge Gate item 3 covers only findings a reviewer raised, such as threads, issue-level comments, suppressed findings, and outside-diff findings.
  • scripts/pr_review.py reads review bodies and never the pull request's own body.

So a drive can reach a green Merge Gate and merge with a body-listed introduced finding that never got an outcome. Outcomes 2 and 3 in "Every finding ends in one of five outcomes" also assume a thread, and a body-listed finding has none, so the rule does not say where its outcome is recorded.

Found by the local strict-review pass on #2549 after it merged develop. The maintainer chose to merge #2549 as it stood (#2556), so this follow-up was filed instead of editing that pull request again.

Done when

  • The drive-pr loop writes the remaining-findings list into the body when a budget is spent.
  • The Merge Gate in pr-review-conduct names body-listed findings as items needing an outcome before merge, and says where an outcome is recorded when there is no thread.
  • Generated copies are rebuilt with build_dist.py.
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

    introducedskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions