Cancel not implemented - leads to blocked build queue ("The workflow instance accepted a stop request but did not complete")

Feb 17, 2014 at 2:54 PM
All the TFS Build Extensions do not seem to implement the cancel funkction..

For long lasting actions this a desaster.

If a build is canceled by the execution timeout, tfs will try for 30 secs to cancel the action.
If this does not work TFS Process blocks and waits for the user to STOP the Build.
Error Message is
"The workflow instance accepted a stop request but did not complete"

This can block the complete Build queue with this.

Please implement proper cancel functions especially for robocopy action
http://msdn.microsoft.com/en-us/library/system.workflow.componentmodel.activity.cancel(v=vs.110).aspx

See also http://stackoverflow.com/questions/13606721/handle-cancellation-request-in-custom-code-activity