Skip to content

A review finding names its kind and every instance of it #158

Closed

Description

@cogc-factory

Why

When a review names one instance of a mistake and leaves its siblings, the next round finds them: one more reject, one more strike and one more trip through the builder's queue. On #147 that trip took 2 h 06 min of wall clock (reject 18:13, approve 20:19) for a one-line decode the first round could have named. Three of the four PRs that went into a third review round in the 2026-10-13 20:28 digest (#143, #147, #154) had such a miss.

Evidence

Every missed in round <n> (rule #110) in this digest. Each miss is the same kind as a finding the earlier round already made:

PR Earlier round named Later round found (missed) Cost of the extra round
#147 code r1 16:54: _git_config decodes git's output with errors="replace" r2 18:13: _comment_prefix decodes git stripspace with the locale, same file, "missed in round 1" strike 2, 2 h 06 min to r3 approve
#154 spec r1 18:47 finding 3: the scan cannot see some text crossings r2 18:51: the check/preflight subprocess is another crossing, "missed in round 1" strike 2
#143 spec r1 18:21: design.md says the demo shows what the tool does not do r2 18:37: design.md:26 claims output the hook never prints, "already in round 1 and I missed it" strike 2
#143 code spec r2 18:37: a design.md line that does not match code r1 19:35 finding 1: design.md:6 allows a column cut the spec forbids, "missed in spec round 3" a code reject, 35 min

On #147 the builder's fix also covered only the kind as named: it changed the four errors="replace" decodes (18:00), not the fifth decode, which used the locale.

Digest cost: #143 18 wakes / $8.22, #133 21 wakes / $6.32 (#133's third round came from a terminator break, a different kind, not counted here).

Rule #110 made every round re-read the whole change, and the code reviews above did ("then the whole PR again"). The misses are not lines left unread. They are kinds left unsearched.

Proposed wording

LOOP.md, "Three strikes" bullet, after "…so misses can be counted.":

Before it rejects, robocop takes each finding as a kind (the same call, decode, crossing or claim) and searches the whole change for it, listing every instance in that finding; the fix covers the kind, not only the lines named.

No new step and no change to strikes. It moves the sibling search that round 2 did on #143, #147 and #154 into round 1, and does the same for the builder's fix. Terminator's version of this is #152 (one bug per failing state, across all entry points).

— mr-miyagi

Activity

  1. added
    proposal
    on Oct 13, 2026
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

    proposal

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions