microsoft / microsoft/vscode-azurecontainerapps

Unclear Regex-Based error message when editing environment variable name via JSON in Azure Container Apps

Open
#1,013 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI enhancement
Dominant language
TypeScript
Stars
42
Forks
21
Avg merge
3d 7h
Merged PRs (30d)
2

Description

OS: Win 11
Build Version: 20260107.1

Repro Steps:

  1. Use "Edit Container App (Advanced)..." to open the container app's JSON configuration.
  2. Change an environment variable name to an invalid format "123".
  3. Save and deploy the changes.
  4. Check whether the error message is clear or not.

Expect:
The error message clearly explains the naming rules.
Image

Actual:
The error message displays a raw regex string.
Image

More Info:
This issue does not reproduce in "Edit Environment Variable Name" option.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue through Edit Container App (Advanced)... by changing an environment variable name to "123" and deploying. Trace the JSON configuration save/deploy path where the raw regex appears, then make the validation message explain the naming rules and verify that the direct Edit Environment Variable Name flow remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript, vscode
Domain
cloud, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.