Automatically start expired pull request build on "Auto-complete"
This suggestion is migrated to Developer Community. Please use below link to view the current status.
Currently if we use "Auto-complete" option inside of pull request that has expired build. It will wait until that build is restarted manually and successfully completed. It would be nice if expired pull request build would started automatically when "Auto-complete" option is used.
William Welsh commented
Not having this discourages small pull requests from the logjams it creates.
+1 for this one.
And there should be an option to auto-cancel / re-queue builds that already are in the queue / being built when a PR goes trough and would expire them.
Or at least leave an option for us to choose whether we need to auto-start the build or not.
Having this available will be very beneficial for productivity. Please consider it.
This really should be a thing. Currently not having this is slowing down our developer velocity.
Having this feature would instantly stop discussons on gated pull requests (Speed vs. Quality). Now, developers are annoyed with repeated clicking on expired builds. Please consider this feature soon for upcoming releases.
Михайло Бондаренко commented
+1 for this feature
IMHO, Kyle Burns has the right solution to a very frustrating problem ! A much needed feature.
If you have many features ready for the merge this might result in heavy traffic with unneccessary builds. Therfore it might be an option to trigger 1 "Auto-Complete" and "expired build" Pull request per repository at a time.
This may be done nightly in a defines time interval.
Ross Ellerington commented
+1 for this feature
Jonathan Juras commented
One of the most frustrating things about using automatic PR completion is that they turn out to be very manual in nature. Having to requeue the build (when that requirement is the only outstanding one) is exceeding frustrating, and can generate a lot of developer angst when they can't see their changes merged in to master after several days (because of constant build expiration).
This is probably the biggest game changer for the VSTS pipeline on our project.
Yu Meng commented
Also would be great if it could try rebasing onto or merging (based on a setting) with the branch tip automatically.
Kyle Burns commented
This would be a very useful feature for teams that are using gated pull requests. To conserve build agent resources and limit time waiting in line, it may be good to limit the automatic re-queuing of the build to the first (FIFO) PR that is in an "Approved" or "Approved with Suggestions" status and has auto complete option set