Skip to content

feat: Add MergeAsync and GetMergeAsyncResult support - #4491

Open
ymh3090 wants to merge 6 commits into
google:masterfrom
ymh3090:feat/merge-async
Open

feat: Add MergeAsync and GetMergeAsyncResult support#4491
ymh3090 wants to merge 6 commits into
google:masterfrom
ymh3090:feat/merge-async

Conversation

@ymh3090

@ymh3090 ymh3090 commented Aug 26, 2026

Copy link
Copy Markdown

Adds support for the asynchronous pull request merge endpoints, needed for merging stacked pull requests (the existing Merge method doesn't support stacks).

  • PullRequestsService.MergeAsyncPUT /repos/{owner}/{repo}/pulls/{pull_number}/merge-async
  • PullRequestsService.GetMergeAsyncResultGET /repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}

Docs:

Closes #4485

@google-cla

google-cla Bot commented Aug 26, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ymh3090

ymh3090 commented Aug 26, 2026

Copy link
Copy Markdown
Author

recheck

1 similar comment
@ymh3090

ymh3090 commented Aug 26, 2026

Copy link
Copy Markdown
Author

recheck

@ymh3090

ymh3090 commented Aug 26, 2026

Copy link
Copy Markdown
Author

hi, @gmlewis !
I've signed the Google CLA, but the cla/google check is still failing after a recheck. Could you take a look?

@gmlewis gmlewis changed the title feat: add MergeAsync and GetMergeAsyncResult support feat: Add MergeAsync and GetMergeAsyncResult support Aug 26, 2026
@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Aug 26, 2026
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.53%. Comparing base (34cec4f) to head (1a2d3d1).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4491   +/-   ##
=======================================
  Coverage   98.53%   98.53%           
=======================================
  Files         195      195           
  Lines       17691    17709   +18     
=======================================
+ Hits        17431    17449   +18     
  Misses        260      260           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @ymh3090!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.

cc: @stevehipwell - @alexandear - @Not-Dhananjay-Mishra

@alexandear alexandear left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please improve naming for consistency.

Comment thread github/pulls.go Outdated
Comment thread github/pulls.go Outdated
ymh3090 and others added 4 commits August 26, 2026 22:06
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
@ymh3090
ymh3090 requested a review from alexandear August 26, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NeedsReview PR is awaiting a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support /merge-async endpoint

3 participants