Skip to content
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

Task validation doesn't take into account multi-version extensions #478

Open
jessehouwing opened this issue Jan 7, 2025 · 0 comments
Open

Comments

@jessehouwing
Copy link
Contributor

jessehouwing commented Jan 7, 2025

We publish the Azure DevOps Extension tasks with both the latest as well as older versions in the vsix, so for each task there can be multiple versions. This is done for backwards compat support for older Azure DevOps Server versions.

The extension therefore contains multiple task.jsons for each task

PublishExtension
\v4
   \task.json <- Node 10 & Node 16 support
\v5
   \task.json <- Node 16 and Node 20 support

But we still get a warning that PublishExtension\v4 depends on an older Node version.

From the perspective of the extension, the PublishExtension task supports the latest Task Handler.

Example here:
https://github.com/microsoft/azure-devops-extension-tasks/tree/main/BuildTasks/PublishExtension

I would not expect to see a deprecated runner warning for these tasks. And it should certainly not be turned into an error later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant