Skip to content

pr-queue: warn when delete-on-merge is off; one rerun test guards nothing (#250 lens minors) #253

Closed

Description

@scuttletoby

Lens follow-ups from #250 (stacked PRs no longer closed when a merged branch is deleted, a private project issue). Neither lens found a blocker; these are the minors left.

  1. The queue (and <project> ready's arm step in the game-project adapter) now relies on the repository's "Automatically delete head branches" setting but never checks it. With the setting off, merged branches pile up silently. Do: the queue reads delete_branch_on_merge once per run and prints a clear warning (not a failure) when it is off; README.md:32 says so.
  2. pr_queue.test.py test_a_second_arm_after_the_branch_is_gone_changes_nothing passes with --delete-branch put back, so it guards nothing. Either make it fail without the fix or rename it as a description of the rerun case.

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