[AppService] az webapp create/list-runtimes: Change Node.js 26 runtime identifier. - #33864
Draft
aamos-company wants to merge 3 commits into
Draft
[AppService] az webapp create/list-runtimes: Change Node.js 26 runtime identifier.#33864aamos-company wants to merge 3 commits into
aamos-company wants to merge 3 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Thank you for your contribution aamos-company! We will review the pull request and get back to you soon. |
aamos-company
force-pushed
the
developer/amberamos/standardizenode
branch
from
August 7, 2026 15:35
514c768 to
eb2b19b
Compare
aamos-company
force-pushed
the
developer/amberamos/standardizenode
branch
from
August 7, 2026 15:59
eb2b19b to
216e574
Compare
aamos-company
force-pushed
the
developer/amberamos/standardizenode
branch
from
August 7, 2026 19:37
7b56e06 to
dca47d4
Compare
Collaborator
|
AppService |
Safdar Ahmed (Safdarahmedd)
approved these changes
Aug 12, 2026
…andardized name for the config
aamos-company
commented
Aug 13, 2026
| @@ -7990,6 +7716,13 @@ def _format_windows_display_text(cls, display_text): | |||
| t = re.sub(r"\(.*\)", "", t) # remove "(LTS)" | |||
| return t.replace(" ", "|", 1).replace(" ", "") | |||
|
|
|||
| @staticmethod | |||
| def _standardize_node_runtime_name(runtime_name): | |||
Contributor
Author
There was a problem hiding this comment.
recognizes these case-insensitive forms:
NODE|26
NODE|26-lts
NODE|26LTS
All become:
NODE|26'
For all versions >=26
aamos-company
commented
Aug 13, 2026
| @@ -8302,7 +8036,7 @@ def _parse_major_version_linux(self, major_version, parsed_results, seen_runtime | |||
| major_version, linux=True, java=False, include_eol=self._include_eol) | |||
| for minor_version in minor_versions: | |||
| settings = minor_version.stack_settings.linux_runtime_settings | |||
| runtime_name = settings.runtime_version | |||
| runtime_name = self._standardize_node_runtime_name(settings.runtime_version) | |||
Contributor
Author
There was a problem hiding this comment.
If the stacks API returns:
NODE|26-lts
the resulting runtime object is:
display_name: NODE|26
configs:
linux_fx_version: NODE|26
github_actions_version: 26.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
az webapp create,az webapp list-runtimesDescription
Use NODE|26 as the standard Node.js 26 runtime identifier for both Windows and Linux App Service plans by dropping LTS / -lts from the identifier. LTS is lifecycle metadata, not part of the Node version itself. Existing identifiers for Node.js 24 and earlier remain unchanged and supported.
Previously:

Testing Guide
azdev test TestStackRuntimeNodeStandardization
azdev style appservic
The added tests verify:
• Node 26 displays as NODE|26 on both platforms.
• Linux configuration is exactly NODE|26 .
• Windows configuration remains ~26 .
• NODE|26-lts and NODE|26LTS resolve successfully.
• Node 24 identifiers remain unchanged.
• Current and LTS API entries are deduplicated.
• GitHub Actions returns NODE|26 and version 26.x .
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.