Skip to content

Support and verify merge-queue lifecycle #24

Description

@mchwang

PR #23 intentionally blocks guarded merging when an applicable GitHub ruleset contains merge_queue. gh pr merge can exit successfully after enqueueing while the pull request remains open, so treating command success as a completed merge is unsafe.

Add merge-queue lifecycle support before enabling this path:

  • model queued separately from merged;
  • keep the action disabled while queued;
  • poll or subscribe until GitHub confirms MERGED or reports queue removal/failure;
  • preserve the exact reviewed head and surface the terminal reason;
  • add controlled regressions for enqueue success, delayed merge, queue removal, head replacement, and retry.

Activity

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