Large pull requests are being automatically abandoned, with the message below:
Message: Microsoft.VisualStudio.Services.TFS abandoned the pull request
Pull Request has entered a broken state and was abandoned. Reason: Failed to create an iteration for the Pull Request. Try reactivating the pull request. If issue persists over multiple reactivations, contact customer support.
For reference, we periodically perform large website upgrades that result in huge PRs, with anywhere from 50k - 90k changed files. This auto-abandon issue is new behavior, experienced for the first time in April 2025.
We have addressed the debugging steps below:
- Reactivate the Pull Request:
- Go to the PR in Azure DevOps.
- Click "Reactivate". This often resolves transient issues.
- We have done this multiple times, but the PR continues to get abandoned
- Check for Repository or Branch Issues:
- Ensure the source and target branches still exist.
- Confirmed
- Make sure there are no corrupted files or merge conflicts that could prevent iteration creation.
- There are merge conflicts, but this doesn't happen on other PRs with merge conflicts
- Review PR History:
- Look at the PR's activity log for any unusual events or errors.
- Not sure where to find activity/audit logs for PRs
- Check if any recent force-pushes or rebases might have caused inconsistencies.
- Confirmed
- Try Creating a New PR:
- If reactivation fails repeatedly, close the broken PR.
- Create a new PR from the same source branch to the target branch.
- Doesn't help - new PR experiences the same behavior
Any ideas or suggestions are greatly appreciated, thanks for your help!