Azure / Azure/azure-cli

Data delay in command `az tag list`

Open
#17,772 2 comments 0 reactions 1 assignee Claimed by @Grayer123 View on GitHub
act-identity-squad ARM Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**

Recently, it is found that there is a issue with test `test_tag_scenario`, the following errors are reported:

```
AssertionError: Actual value '[...] != Expected value falsy (None, '', []) or string in ['[]', '{}', 'false']'
```
or
```
Message: The predefined tag name 'cli_test_tag' cannot be deleted. There are one or more tag values associated with this tag name. Please delete all the associated tag values before deleting the tag name.
```

After investigating the causes, the following problems are found in the command of `az tag`: it takes a long time to sync to `az tag list` after executing `az tag remove-value\az tag add-value\az tag create\az tag delete`, this seems to be a data delay.

@Grayer123 Hi, could you please take a look at this issue~

**To Reproduce**

**Expected behavior**

**Environment summary**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.