Azure DevOps build agent warning — migration from Node6 execution handler to Node 10
Microsoft advice: Do nothing!
Pipelines run in Azure DevOps using the latest version of the build agent 2.195.1 at the time of writing, (or previous version 2.195.0) will currently show this warning:
##[warning]This task uses Node 6 execution handler, which will be deprecated soon. If you are the developer of the task — please consider the migration guideline to Node 10 handler — https://aka.ms/migrateTaskNode10. If you are the user — feel free to reach out to the owners of this task to proceed on migration.
This can create significant noise. The advice is to do nothing as it stands. Microsoft is working on updating to Node10, and then v14 which will remove the warnings. If you want to disable the warning, for now, you can do so:
How to disable warnings for Node 6 deprecation
To avoid noise in pipeline logs — you can disable Node 6 deprecation warnings by setting up DISABLE_NODE6_DEPRECATION_WARNING agent knob in one of 2 ways:
Set up
DISABLE_NODE6_DEPRECATION_WARNING
pipeline variable astrue
For self-hosted agents — set up environment variable
DISABLE_NODE6_DEPRECATION_WARNING
astrue