[POSTGRESQL] BREAKING CHANGE: az postgres flexible-server index-tuning: Remove support for command group#33344
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
Removes the legacy az postgres flexible-server index-tuning command group now that the feature has been superseded by autonomous-tuning, ensuring the CLI surface area matches the currently supported tuning experience.
Changes:
- Removed
postgres flexible-server index-tuningcommand group registration from the flexible server command table. - Removed all parameter registrations and help entries for the
index-tuningcommand group. - Removed the deprecated/redirect breaking-change registration and deleted the remaining scenario test coverage for
index-tuning.
Reviewed changes
Copilot reviewed 5 out of 6 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_autonomous_tuning.py | Deletes index-tuning scenario tests, leaving only autonomous-tuning coverage. |
| src/azure-cli/azure/cli/command_modules/postgresql/flexible_server_commands.py | Removes the index-tuning command group from the CLI command table. |
| src/azure-cli/azure/cli/command_modules/postgresql/_params.py | Removes argument contexts/flags for index-tuning. |
| src/azure-cli/azure/cli/command_modules/postgresql/_help.py | Removes help content for index-tuning commands. |
| src/azure-cli/azure/cli/command_modules/postgresql/_breaking_change.py | Removes the index-tuning deprecation/redirect registration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Updated the expected value for 'pg_qs.query_capture_mode' from 'all' to 'top' in the autonomous tuning settings test. - Added an additional check for 'pg_qs.query_capture_mode' to ensure it reflects the correct value after setting changes.
az postgres flexible-server index-tuning: Remove support for index-tuning command groupaz postgres flexible-server index-tuning: Remove support for command group
az postgres flexible-server index-tuning: Remove support for command groupaz postgres flexible-server index-tuning: Remove support for command group
az postgres flexible-server index-tuning: Remove support for command groupaz postgres flexible-server index-tuning: Remove support for command group
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
az postgre flexible-server index-tuningDescription
Removes support for
index-tuningcommand group, which was replaced byautonomous-tuningas announced by #32546Testing Guide
History Notes
[POSTGRESQL] BREAKING CHANGE:
az postgres flexible-server index-tuning: 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.