Skip to content

fix(source-control): babysit --auto on a merge-queue base reports auto-merge enabled, not queued #5953

Description

@kyle-sexton

Problem

babysit's --auto path still runs gh pr merge --auto --squash --match-head-commit. On a branch that requires a merge queue, gh enables auto-merge/enqueues, and the result reads autoMergeEnabled while the PR sits in the queue. Telemetry that assumes "merged" misreads it.

Evidence

Suggested fix

On a queue base, report queued and confirm the merged state on later cycles, as the async enqueue path does.

Found while working on #5935.

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

    needs-triageNot yet classified. Floor until a type and one priority tier are set.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions