microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
131 stars 57 forks source link

VSTS on-prem agent could have an out of order '_worker/tasks' directory content #188

Closed lukka closed 8 years ago

lukka commented 8 years ago

On MacOSX 10.11 and using an account on VSTS, using an on-prem vsts agent (installed by vsoagent-installer@0.4.0), the '_worker/tasks' directory could remain in an inconsistent state (e.g. tasks are partially downloaded due to network issue), and there is not way to restore the proper content of that directory but with its entire manual deletion. When the '_worker/tasks' directory is inconsistent some of the task's code misses entirely (or partially), leading to a sure failure of the 'Preparing tasks' build step, hence the build will fail too.

Please verify this conjecture and implement a mechanism to automatically identify an out of order '_worker/tasks' directory and restore its content.

bryanmacfarlane commented 8 years ago

This is fixed in the new agent @ https://github.com/Microsoft/vsts-agent

It's replacing this one