{Batch} Breaking Change Deprecation Warnings#32070
Conversation
️✔️AzureCLI-FullTest
|
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| batch pool list | cmd batch pool list added property deprecate_info_target |
||
| batch pool show | cmd batch pool show added property deprecate_info_target |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds breaking change deprecation warnings for Azure Batch pool commands to alert users about upcoming argument and output changes. The changes include deprecating specific arguments and output fields across batch pool operations.
- Deprecates
--target-communicationand--resource-tagsarguments in pool create/reset/set commands - Adds output deprecation warnings for specific fields in pool show/list commands
- Modifies argument configuration to support deprecation handling
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
_breaking_change.py |
New file containing deprecation registrations for arguments and output fields |
_params.py |
Updates resource_tags argument configuration with action=None parameter |
test_batch_transformers.py |
Minor whitespace formatting change |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Please fix CI issues |
dpwatrous
left a comment
There was a problem hiding this comment.
Changes look good once the whitespace issues are fixed.
|
@ReaNAiveD Could you please help review this PR as well? |
|
/azp run Azure.azure-cli |
|
Commenter does not have sufficient privileges for PR 32070 in repo Azure/azure-cli |
|
/azp run Azure.azure-cli |
|
Commenter does not have sufficient privileges for PR 32070 in repo Azure/azure-cli |
|
@zhoxing-ms Some of the checks have never finished running, do you know how we can re-run them? I don't seem to have permissions to do so |
f099204 to
f7370cc
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
f7370cc to
cc185f6
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Description
Add breaking change descriptions for arguments
--target-communicationand--resource-tagsin commandsaz batch pool create,az batch pool reset, andaz batch pool set. Also set output deprecation warnings fortargetNodeCommunicationMode,currentNodeCommunicationMode, andresourceTagsin commandsaz batch pool showandaz batch pool list.History Notes
This 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.