Skip to content

[BUG]: Error message for missing task handler can be a lot more specific #5441

@jessehouwing

Description

@jessehouwing

What happened?

A number of tasks have recently been upgraded to Node 20 or Node 24 and task authors have dropped support for Node 10 and Node 16 completely.

On an older agent the error message says:

##[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details.

Which is not true, the operating system isn't the issue here, the lack of a Node handler with a high enough version is.

Similarly the Linux agent says that the task isn't supported, because it probably only works on linux.

This may have been the case way back when, but doesn't hold true anymore.

The error message should probably list which execution handlers are supported by this agent and which ones the task declares.

Versions

All current and past agent versions

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

No response

Version controll system

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions