microsoft / microsoft/go

Handle GitHub response in auto-merge infra: "Pull request is not in the correct state to enable auto-merge"

Open
#344 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
431
Forks
44
Avg merge
21h 18m
Merged PRs (30d)
30

Description

Recently I saw Pull request is not in the correct state to enable auto-merge in two places:

My guess is that the PR was mergeable at the time, so auto-merge couldn't be queued up. But, I'm not sure why it wasn't enabled when the PR first got submitted, and there could be a completely different reason anyway.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the two Azure DevOps log links and their corresponding pull requests, microsoft/go-images#38 and microsoft/go#341, to determine when GitHub returned the auto-merge state error. Trace the auto-merge handling in this repository; done means the identified response is handled appropriately without failing the infrastructure workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, github, go
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.