Skip to content

check_release_tree.py: 11 more checker functions share the unguarded comment-detection pattern #919 fixed once #980

Closed

Description

@fdaviddpt

Adjacent finding from the #919 lane's self-review (PR #978), routed by the scheduler.

#919 fixed one checker in .github/scripts/check_release_tree.py that decided "is this line a comment" with line.lstrip().startswith("#"), without tracking heredoc boundaries. That checker could therefore treat heredoc body lines as comments, and the reverse. The lane reports that 11 other checker functions in the same file use the same unguarded pattern.

Reasoned, not verified for each function: whether each of the 11 can actually be reached with heredoc content in our shipped tree.

Ask: audit the 11 sites. Either route them through the heredoc-aware helper #978 introduced, or record per site why the heredoc case cannot reach it. Add a test per class of input.

[AI-generated]

Activity

  1. added
    priority:low
    filed-by-loop
    lane-other
    cohort-22
    on Oct 8, 2026
  2. self-assigned this
    on Oct 8, 2026
  3. added a commit that references this issue on Oct 8, 2026
  4. removed their assignment
    on Oct 8, 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

    cohort-22filed-by-looplane-otherpriority:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions