Skip to content

GraphQL mutation error handling requires a go-infra change - #2654

Closed
Quim Muntal (qmuntal) with Copilot wants to merge 1 commit into
microsoft/mainfrom
copilot/detect-graphql-mutation-failure
Closed

Quim Muntal (qmuntal) with Copilot wants to merge 1 commit into
microsoft/mainfrom
copilot/detect-graphql-mutation-failure

Conversation

Copilot AI commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

PR approval and auto-merge mutations can return HTTP 200 with GraphQL errors, causing the sync command to report success despite failure.

  • Changes: None. The affected implementation is in microsoft/go-infra/gitpr/gitpr.go, outside this repository.
  • Required fix: Detect GraphQL response errors and propagate them to the caller instead of treating HTTP success as mutation success.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI changed the title [WIP] Fix GraphQL mutation failure in auto-merge approval process GraphQL mutation error handling requires a go-infra change Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect GraphQL mutation failure in bot infra: failure enabling auto-merge or approving PRs

2 participants