Fix Compute Tools Issues#2687
Draft
g2vinay wants to merge 1 commit into
Draft
Conversation
- COMP-02: VmDeleteCommand now uses DeleteVmAsync bool return to report 'not found' instead of always reporting success - COMP-03: Clarify --user-data requires Base64-encoded content; ARM API requires this format (docs/description update only) - COMP-04: vm/vmss update now correctly clears tags when --tags '' is passed; fix comma-separated tag delimiter mismatch in docs vs impl - COMP-06: DetermineOsType uses word-boundary token matching to avoid false positives (twin-ubuntu) and false negatives (VS Windows images like vs-2022-comm-latest-win11-n-gen2)
| - section: "Bugs Fixed" | ||
| description: | | ||
| Fixed multiple bugs in Compute VM/VMSS commands: | ||
| - `vm delete` now correctly reports 'not found' when the target VM does not exist instead of always reporting success. |
Contributor
There was a problem hiding this comment.
This one is technically a breaking change
alzimmermsft
approved these changes
May 20, 2026
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.
Fixed multiple bugs in Compute VM/VMSS commands:
-
vm deletenow correctly reports 'not found' when the target VM does not exist instead of always reporting success.-
vm updateandvmss updatenow correctly clear all tags when--tags ''is passed; fixed comma-separated tag delimiter mismatch between documentation and implementation.-
DetermineOsTypenow uses word-boundary token matching: no longer misidentifies images with 'win' mid-word (e.g., 'twin-ubuntu') as Windows, and now correctly identifies Visual Studio on Windows images (e.g., 'vs-2022-comm-latest-win11-n-gen2') as Windows.