microsoft / vsts-azurevm-extension

MIT License
13 stars 6 forks source link

Make elastic pool logic async - Linux #208

Closed simonasaitta closed 1 year ago

simonasaitta commented 1 year ago

Changes to make elastic pool logic async and avoid stuck extensions in transitioning state. Some times dependencies take more than 5 minutes to install, when that happens the process gets killed by waagent. By spawning a different process we ensure that we will be able to update the extension status when it takes more than 5 minutes to complete.

At the moment the PR only contains changes for Linux, we will also need to do the same changes for Windows.