Error tip includes an extra 'Azure' when inputting an invalid tag in tags.jsonc which differs from portal behavior

Open
#1,164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the validation error by editing tags.jsonc for a resource group with an invalid tag such as azuwww<, then trace the tag validation and error-message entry points in the extension. Compare the message with the portal behavior and verify that reserved words and invalid characters retain their intended validation behavior after the wording is corrected.

Written by the indexing model from the issue text.

Description

AT-CTI

OS: All
Build Version: 20250619.1
Regression: Not a regression

Repro Steps:

  1. Create a resource group -> Right click it -> Edit Tags... -> input an invalid tag (azuwww<) in tags.jsonc
  2. Check the error tip

Expect:
Error tip should not include 'Azure' and should match the portal's behavior
Image

Actual:
There is an extra 'Azure' in error tip which differs from portal behavior

Image

MoreInfo:

  1. Certain reserved keywords such as azure, Microsoft, and windows are not flagged as invalid during input in the tags.jsonc file.
  2. The error appears after saving, which may lead to confusion or inconsistent validation experience compared to other invalid characters (e.g., <, %, &), which are flagged immediately.
Dominant language
TypeScript
Stars
78
Forks
55
Avg merge
16h 49m
Merged PRs (30d)
139

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.

More from microsoft/vscode-azureresourcegroups

All issues in microsoft/vscode-azureresourcegroups

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.