Skip to content

{Compute} az sig image-definition create: Correct memory units from MB to GB in help - #34398

Open
William (william051200) wants to merge 1 commit into
Azure:devfrom
william051200:update-help-message
Open

William (william051200) wants to merge 1 commit into
Azure:devfrom
william051200:update-help-message

Conversation

@william051200

@william051200 William (william051200) commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ️✔️ All clear

Breaking Changes Tests Suppressions
️✔️ None ️✔️ 130/130 ️✔️ None

Related command

az sig image-definition create

Description

Resolve #33086

Correct the help descriptions for --minimum-memory and --maximum-memory from MB to GB. Argument parsing and numeric values remain unchanged.

Testing Guide

History Notes


This checklist is used to make sure that common guidelines for a pull request are followed.

@william051200 William (william051200) added the Request X Engineering Agent Ask the agent to triage this issue or review this PR label Nov 11, 2026
Copilot AI balanced review requested due to automatic review settings November 11, 2026 06:11
@x-engineering-agent

x-engineering-agent Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

X Engineering Agent Pull request review: Comments

William (@william051200) The two help corrections match the existing memory-GB example; argument parsing and request values remain unchanged. No additional semantic defect was confirmed. The release-metadata finding below remains actionable.

Check Status Detail
Upstream CI Failed 53 completed checks passed.
Agent live tests Not run This is a review-only PR.
Regression coverage Gap Gap detected for vm: production behavior changed without a focused test or recording…
Findings 1 high findings 1 high
Risk Risk 31/100 Medium Medium; owner review recommended

To address

Tick each item as you address it.

  • High Release artifact validator

    Details and fix

    src/azure-cli/azure/cli/command_modules/vm/_params.py:1508: Customer-visible Azure CLI behavior is not marked for generated release notes in the PR metadata.

    Remediation: Start the PR title with [Component] and describe the customer-facing change there. For multiple or overriding notes, use the PR description's History Notes section.

    Verify: Run the PR title/content check and confirm the metadata is accepted for automatic history generation.

Review details

Upstream CI

53 completed checks passed. There are no PR-related, not PR-related, or uncertain CI/live-test failures; the release-metadata finding is separate from CI.

Test validation

  • Agent live test: Not run; this is a review-only PR. Check author-provided test evidence and upstream CI separately.
  • Regression coverage: Gap detected for vm: production behavior changed without a focused test or recording change. No linked issue was found in the PR timeline; inspect the source issue and its required scenario manually.

The author's Testing Guide is empty; the description's bot validation table claims 130/130 tests. Neither establishes focused help-unit coverage. The generic coverage gap is not a confirmed regression or standalone missing-test finding. No recordings are needed: only help text changed, not service requests or responses. Focused verification, not executed: az sig image-definition create --help should show GB for both memory options. The described issue correction is satisfied; issue #33086's full acceptance criteria were unavailable.

Risk assessment

31/100 · Medium

The Medium rating is driven by public CLI behavior, no changed regression test.

  • Change scope: 1 changed file, 4 changed lines (+2 / -2), including 1 production file.
  • Affected components: vm
  • Risk drivers: public CLI behavior (+18); no changed regression test (+10)
  • Regression evidence: No changed regression test was detected for the production changes, increasing risk.
  • Confidence: High because changed-line patches were available for every production file.
  • Required review: Owning-squad review is recommended for vm before merge.

Ask the Agent

Tick a box to queue an action. Requires write access to this repository.

  • Re-review this PR
  • Run Agent live tests on this PR

X Engineering Agent · Reviewer · React with +1 or -1 to train the agent

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the change correcting memory argument help text from MB to GB.

No open issues 🎉

What changed in this PR

Corrects the memory units shown in help for az sig image-definition create, addressing #33086 and matching the existing GB-based values.

Changes:

  • Updates --minimum-memory and --maximum-memory help text from MB to GB.
  • Leaves argument parsing and numeric values unchanged.
File Description
src/​azure-cli/​azure/​cli/​command_modules/​vm/​_params.py Corrects both memory argument help descriptions to use GB.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

act-observability-squad Compute az vm/vmss/image/disk/snapshot Request X Engineering Agent Ask the agent to triage this issue or review this PR X Engineering Agent Reviewed Agent reviewed this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--minimum-memory and --minimum-memory - GB vs MB

6 participants