-
Notifications
You must be signed in to change notification settings - Fork 868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement]: Allow suppression of The container operating system doesn't support Node20.
warning
#5019
Comments
The container operating system doesn't support Node20. Using Node16 instead
warningThe container operating system doesn't support Node20.
warning
Hi @AdamYoblick. This warning can appear when Node20 shipped with the agent is used to execute tasks inside a container and the container OS does not support Node20. So, here is the current logic:
We probably can suppress warnings on the task execution if there already was fallback to Node16 on container startup. For now, you can set the |
Thank you so much for all the details, that makes sense. 😄 Unfortunately, we do not own the container nor the image used for generating these wheels, so we can't set any Docker labels. It would be nice to be able to suppress this warning, maybe with a yaml variable? |
+1 Our build hardware is in the process of being upgraded to RHEL8 so we cannot currently use Node 20. Our pipelines are being flooded with these warnings which is distracting from other genuine issues we may want to flag. A flag to disable this warning would be super useful. |
Task name
All tasks
Describe your feature request here
We generate some
manylinux
wheels for the Debugpy product. These wheels are created in a container with an old OS and old components (by design), for maximum backwards compat.The problem is that the azdo task runner uses Node20, and the container OS doesn’t support Node20, so the task reverts back to Node16, which is fine. But it spits out a warning (for EVERY task) which pollutes our build:
##[warning]The container operating system doesn't support Node20. Using Node16 instead. Please upgrade the operating system of the container to remain compatible with future updates of tasks: https://github.com/nodesource/distributions
For example, https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10402459&view=results
Note that this happens even after running the
UseNode
task, because this warning comes from the task runner itself.Can we please have a way to suppress this particular warning from our yaml?
The text was updated successfully, but these errors were encountered: