[POSTGRESQL] BREAKING CHANGE: az postgres flexible-server long-term-retention: Remove support for command group#33345
Conversation
️✔️AzureCLI-FullTest
|
❌AzureCLI-BreakingChangeTest
Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:
|
|
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 removes the deprecated az postgres flexible-server long-term-retention command group from the PostgreSQL command module, following the prior deprecation announcement (PR #32916).
Changes:
- Removed command-table registration for
postgres flexible-server long-term-retentionand its associated client factory. - Removed long-term-retention parameters, help text, and command implementation helpers.
- Removed the live scenario test and related linter exclusion for the removed command group.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/azure-cli/azure/cli/command_modules/postgresql/tests/latest/test_postgres_flexible_commands_ltr.py |
Removes the LTR scenario test now that the command group is removed. |
src/azure-cli/azure/cli/command_modules/postgresql/linter_exclusions.yml |
Drops the linter exclusion for the removed LTR list command. |
src/azure-cli/azure/cli/command_modules/postgresql/flexible_server_commands.py |
Removes registration of the LTR command group from the flexible server command table. |
src/azure-cli/azure/cli/command_modules/postgresql/commands/backup_commands.py |
Removes LTR-specific helper functions (pre-check, start). |
src/azure-cli/azure/cli/command_modules/postgresql/_params.py |
Removes argument definitions specific to the LTR command group. |
src/azure-cli/azure/cli/command_modules/postgresql/_help.py |
Removes help entries for the LTR command group and its commands. |
src/azure-cli/azure/cli/command_modules/postgresql/_client_factory.py |
Removes the LTR backups client factory. |
src/azure-cli/azure/cli/command_modules/postgresql/_breaking_change.py |
Removes the prior deprecation/breaking-change registrations for the LTR command group (now fully removed). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
az postgres flexible-server long-term-retention: Remove support for command groupaz postgres flexible-server long-term-retention: Remove support for command group
az postgres flexible-server long-term-retention: Remove support for command groupaz postgres flexible-server long-term-retention: Remove support for command group
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
Please fix CI so I can approve it again, seems merging dev count me as the last pusher. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
Please merge dev into this branch. |
Related command
az postgres flexible-server long-term-retentionDescription
Removes support for long-term-retention command group, which was announced as deprecated by #32916
Testing Guide
History Notes
[POSTGRESQL] BREAKING CHANGE:
az postgres flexible-server long-term-retention: Remove support for command groupThis 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.