[VM] Fix az vm create --no-wait JSON decode failure in no-wait LRO path#33356
Draft
Copilot wants to merge 6 commits into
Draft
[VM] Fix az vm create --no-wait JSON decode failure in no-wait LRO path#33356Copilot wants to merge 6 commits into
az vm create --no-wait JSON decode failure in no-wait LRO path#33356Copilot wants to merge 6 commits into
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Collaborator
|
VM fix |
Agent-Logs-Url: https://github.com/Azure/azure-cli/sessions/d1b76e63-afd4-462e-92f9-40626d2cfbee Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/azure-cli/sessions/d1b76e63-afd4-462e-92f9-40626d2cfbee Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/azure-cli/sessions/d1b76e63-afd4-462e-92f9-40626d2cfbee Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/azure-cli/sessions/d1b76e63-afd4-462e-92f9-40626d2cfbee Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/azure-cli/sessions/d1b76e63-afd4-462e-92f9-40626d2cfbee Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix az vm create --no-wait JSON parsing error
[VM] Fix May 12, 2026
az vm create --no-wait JSON decode failure in no-wait LRO path
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.
Related command
az vm create --no-waitDescription
az vm create --no-waitstarted failing withExtra data: line 1 column 4 (char 3)after continuation-token format changes in newerazure-core/azure-mgmt-coreinteractions.This PR hardens CLI no-wait invocation by falling back to original polling settings when forced
polling=Falsetriggers JSON decode failure.No-wait invocation resilience (
azure-cli-core)sdk_no_waitto:polling=False(existing behavior),json.JSONDecodeError,Focused unit coverage
polling=Falsebehavior,pollingvalue on retry.Testing Guide
N/A
History Notes
[VM]
az vm create: Improve--no-waitrobustness by retrying with original polling settings on JSON decode failureThis 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.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
aka.ms/usr/bin/python python -m unittest azure.cli.core.tests.test_util(dns block)azcliprod.blob.core.windows.net/usr/bin/python python -m unittest azure.cli.core.tests.test_util(dns block)If you need me to access, download, or install something from one of these locations, you can either: