Skip to content

Allow a Third Edit Round on the Unrecorded-Request Note in auto-1904 #1978

Closed

Description

@ptr727

Handoff: #1977, track auto-1904, for #1904. Branch feature/auto-1904 is pushed at 638b779f. No pull request is open yet, so this decision blocks the feature -> develop pull request that branch would open.

Question

The branch's third local strict review pass raised one introduced finding after two edit rounds had already answered earlier passes, which is the point local-strict-review "Disposing of Findings" stops editing and hands what remains to the maintainer. Counts across the three passes: 10 findings, 9 introduced and fixed or declined with evidence, 1 introduced open, 0 pre-existing, 0 style.

The open finding: in scripts/pr_review.py wait, when the repo-wide quota signal and an unrecorded request coincide, only the quota note: line prints, and it advises --ignore-quota-signal. The run then exits 48 rather than 47, and a rerun with that flag skips the poll again and exits 48 again, so the one remedy the output names does nothing. The fix is small: print the 48 note instead of the quota note whenever the request recorded nothing, since 48 outranks 47, and assert the note text in test_an_unrecorded_request_outranks_the_repo_wide_quota_signal.

Options

  1. Recommended: authorize one more edit round for this finding. It is a note-ordering fix confined to the branch's own new code, and the text it corrects is advice a caller would act on. The lane then resumes: the fix, another local pass, and the feature -> develop pull request driven as usual.
  2. Open the pull request as it stands and file the finding as a follow-up issue. The exit code is already right in this case, and only the note text misleads. The cost is merging a known misleading hint to develop.
  3. Drop the lane. Close the branch unmerged and leave #1904 open for an attended session. That discards working detection that the tests already cover.

Activity

  1. added
    decision
    on Sep 28, 2026
  2. ptr727 commented on Sep 28, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer in an attended session: option 1, one more edit round: print the exit-48 note instead of the quota note when the request recorded nothing, and assert the note text in the test. Work continues under handoff #1977.

  3. removed
    decision
    on Sep 28, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions