Skip to content

Guidance for a large-volume pull request: split bulk records from the code that needs reviewing #1667

Closed

Description

@ptr727

A pull request that carries bulk records alongside code gets little or no review of the code, because the bulk crowds the reviewers out. The fleet has no guidance saying to split the two, so an agent filing records plus the script that produces them writes one pull request and loses the review on the half that needs it.

The measured case

ptr727/Financial-Modeling#378, "File the Stock-Plan Message Record and the Script That Declares It", read live:

changed files 412
additions 79,894
deletions 15
CodeRabbit skipped entirely: "This PR contains 409 files, which is 259 over the limit of 150"
Copilot 78 of 410 files reviewed, about 19%

The code in it was worth reviewing. Copilot's one review found a real defect in the new staging script, unsafe suffix handling and overly strict change detection on Windows. It found that inside its 19%; CodeRabbit never saw the file at all. Whether the code was covered came down to which files each reviewer happened to sample.

The title states the problem by itself: the record, and the script that declares it. Two things, one pull request, and only one of them is reviewable in any useful sense.

What the guidance should settle

  • The split, and which way round. Bulk records in one pull request, code in another. Which lands first matters: a script reviewed before its output exists is reviewed on its own terms, while records filed before the script that produced them are unexplained.
  • What counts as bulk. Archived source records, generated output, vendored trees, fixtures. The distinguishing property is that no reviewer judges the content line by line, which is also what .github/prose-gate-excludes already encodes for the prose gate, so the fleet has a precedent for a repository declaring its own non-authored paths.
  • A number, or a property. CodeRabbit's limit is 150 files, so a threshold could be concrete. A threshold invites sitting just under it, where a property ("this pull request carries content no reviewer reads") does not, and is harder to apply.
  • What an agent does when the two cannot be separated. Some changes are genuinely atomic. The guidance should say whether that is allowed, and if so what it costs: say so in the body, expect the bulk half unreviewed, and name what a human should look at.
  • Whether a reviewer skipping is a Merge Gate item. pr-review-conduct already treats a review that did not cover the head as not-green. A review skipped for size is the same state arriving by a different route, and today nothing says so.

Where it would live

pr-review-conduct owns opening a pull request and judging whether one is mergeable, so the rule belongs there, with drive-pr naming it at the moment it opens one. GOVERNANCE.md "PR Review Etiquette" is the section those package.

Raised by the ptr727/Financial-Modeling session while reporting an unrelated gate defect, and verified here against the live pull request rather than taken from the report, which had the Copilot figure as 7 of 408.

Activity

  1. added
    documentation
    agents
    on Sep 18, 2026
  2. ptr727 commented on Sep 18, 2026

    @ptr727
    OwnerAuthor

    ptr727, 2026-09-18: the split is already practice. It has been done a few times when importing a lot of documents into git, so this issue is writing down a pattern the fleet uses rather than proposing a new one.

    That changes what the work is. The questions the body raises about which way round the two pull requests go, and what counts as bulk, have been answered in practice already, so the guidance should be read off those imports rather than reasoned out from first principles. Naming one or two of them in this issue would give it its shape, and whoever picks it up should ask for them rather than invent a rule that contradicts what was actually done.

    It also raises the prior question of why the pattern has not been followed every time. An agent filing records plus the script that produced them does not know the practice exists, which is the case ptr727/Financial-Modeling#378 is. That points at where the rule has to live to be reached: at the moment a pull request is opened, in pr-review-conduct and named by drive-pr, rather than as advice somewhere an agent reads only if it already suspects it needs it.

  3. ptr727 commented on Oct 23, 2026

    @ptr727
    OwnerAuthor

    Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391, item 3: the prose and documentation backlog frozen by #1311 in September is closed rather than worked one issue at a time, keeping open only the issues where a document states something the shipped code or workflow does not do. This issue was read as wording, structure, restatement, or a gap in guidance rather than a falsified claim. Reopen with the sentence and the behavior it misstates if that reading is wrong.

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

    agentsdocumentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions