Skip to content

Decide How to Dispose of #2384's Remaining Local-Review Findings #2387

Closed

Description

@ptr727

Raised by the unattended worker on handoff #2385 (track auto-2384), working #2384 on branch feature/auto-2384, which is pushed with no pull request open yet. No pull request is blocked on this beyond the one that branch would open.

Question. The local-strict-review budget of two edit rounds per push is spent, and the third pass still holds two findings on text this change wrote. How should they be disposed of?

  1. scripts/pr_review.py DETAILS_TAG: where the close's lead carries a blockquote marker, its one-line-break tail runs into the next line's container. With a constructed body, > </details x followed by > ### H (1) reads a close ending on the second line's marker, so the heading lands outside the region. > </details x followed by foo> swallows foo, which CommonMark renders as a paragraph outside the blockquote. It needs an attributed close with no > on its own line inside a blockquote.
  2. DETAILS_OPEN now ends the preamble at <details x even where no > follows, which DETAILS_TAG does not read as an opener. HTML does open an element there, so the behavior holds, but the test name test_the_preamble_ends_at_the_opener_details_tag_reads and the last commit's message claim the two read the same opener rather than the same boundary.

A third, pre-existing finding is filed separately as #2386 and blocks nothing.

Options

  1. Recommended: authorize one more edit round on feature/auto-2384. Allow the next-line tail only where the lead carries no blockquote marker, with a test built from the two constructed bodies above, and rename the preamble test to say it reads the same boundary. Then record a pass and drive the pull request to develop. Reason: both fixes are a few lines in code this branch already changes, and every other part of Align details Tag Boundaries Across pr_review.py's Readers #2384 is done and tested.
  2. Open the pull request as it stands and let the PR review loop dispose of both findings. Reason: both are narrow, but this ships a known introduced defect into review rather than fixing it first.
  3. Narrow the change instead: stop reading a close whose bracket is on the next line at all, and decline that bullet of Align details Tag Boundaries Across pr_review.py's Readers #2384 as a shape no reviewer has been seen to emit. Reason: this removes the tail-boundary class of defect, at the cost of one shape the issue lists.

What each does to the parked work: option 1 adds one commit to the branch, option 2 opens its pull request unchanged, and option 3 removes the next-line tail and its tests from the branch.

Activity

  1. added
    decision
    on Oct 5, 2026
  2. ptr727 commented on Oct 5, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer in an attended resume of #2385: option 1, one more edit round on feature/auto-2384. Allow the next-line close tail only where the lead carries no blockquote marker, add a test built from the two constructed bodies, rename the preamble test to say it reads the same boundary, record a pass, then drive the pull request to develop.

  3. removed
    decision
    on Oct 5, 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