Skip to content

[BUG]: AzureFunctionApp@2 does not support (or at least not list) runtimeStack: "NODE|22", even though it is advertised as "GA" for Linux #21135

@heidemn-faro

Description

@heidemn-faro

New issue checklist

Task name

AzureFunctionApp

Task version

2

Issue Description

Compare:

https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureFunctionAppV2/task.json -> runtimeStack

        "NODE|14": "NODE|14",
        "NODE|16": "NODE|16",
        "NODE|18": "NODE|18",
        "NODE|20": "NODE|20",

...vs: https://learn.microsoft.com/en-us/azure/azure-functions/functions-versions?tabs=isolated-process%2Cv4&pivots=programming-language-typescript#languages

Image

When editing the settings in Azure Portal, Node 22 is also selectable (even though it doesn't have the "LTS" string attached - not sure why not).

Image

Am I missing something, or is there a particular reason why NODE|22 is not an allowed value?

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

Linux

Relevant log output

N/A - the task definition must be updated.

Full task logs with system.debug enabled

N/A

Repro steps

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions