We have a PR in TFS which cannot be completed or abandoned, because the button is grayed out/disabled. The tooltip on hover says:
Merge must finish before the Pull Request can be completed
Merge in progress ... [Abandon] [Restart Merge]
Screenshot (notice the grayed out button):
How do we complete it? Is there an unfinished merge in git? If so, how was the branch pushed in the first place? And why can't it be Abandoned at least?
Googling with the full error text doesn't yield any results, it hasn't been documented anywhere on the internet it seems.
If you have a merge that's blocked or stuck, you could try to click the triple-dot menu (...) next to the "Complete" button and choose the "Restart merge" option to start a new merge job.
The root cause was an issue with the job agents that perform merges running out of disk space.
If above is not work, also try to open two browsers and delete the source branch, then abandon your PR, then Undo the branch deletion. You could finally either reactivate the PR again or create a new one.
We have a open live site investigation regarding this issue. Please refer to the following for more information:
Issues with Pull Requests on Visual Studio Team Services - 03/17 -Mitigated
"Abandon" then "reactivate" the PR works for me.
First, What you need to do is open dropdown next to the "complete" button, then select "abandon". The wording on "complete" button will changed to "reactivate".
Then just click the "reactivate" button.
In my case the status is directly goes to completed.
Hope my explanation can help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With