Skip to content

Update ServiceGroup extension to stable API 2026-08-01 - #10435

Open
Meghana Gupta (meghanagupta95) wants to merge 1 commit into
Azure:mainfrom
meghanagupta95:meghanagupta95-service-groups-api
Open

Meghana Gupta (meghanagupta95) wants to merge 1 commit into
Azure:mainfrom
meghanagupta95:meghanagupta95-service-groups-api

Conversation

@meghanagupta95

Copy link
Copy Markdown
Member

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

Related command

az service-group

Updates the ServiceGroup extension to stable API 2026-08-01, adds criticality support, handles the GA service's float-form criticality responses, and removes the preview-only list-ancestors command. The extension version is bumped to 1.0.0b2 with refreshed live recordings and playback coverage.

Validation

  • azdev style servicegroup — passed
  • azdev test servicegroup — 5 passed
  • Live CRUD and nested hierarchy scenarios — passed
  • python scripts/ci/test_index.py -q — passed (9 tests, 2 skipped)
  • Wheel build and CLI registration smoke checks — passed

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install azdev required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

- add criticality support and GA live/playback coverage
- remove the preview-only list-ancestors command

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 17:12
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@meghanagupta95

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 10435 in repo Azure/azure-cli-extensions

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.

Copilot review overview

🟢 Approval recommended

The API migration, command removal, serialization changes, documentation, and test coverage are consistent with the stated scope.

Review effort: Balanced
Findings: None

What changed in this PR

Updates ServiceGroup to stable API 2026-08-01, including GA criticality handling and removal of the preview-only ancestor command.

Changes:

  • Migrates all commands to the stable API and adds criticality support.
  • Removes list-ancestors and its associated documentation/tests.
  • Bumps the extension version and refreshes contract, scenario, and playback coverage.
File Description
src/​servicegroup/​setup.py Bumps version to 1.0.0b2.
src/​servicegroup/​README.md Documents criticality and removes ancestor usage.
src/​servicegroup/​HISTORY.rst Records release changes.
src/​servicegroup/​azext_servicegroup/​_help.py Updates CLI examples and command help.
src/​servicegroup/​azext_servicegroup/​aaz/​latest/​service_group/​__init__.py Removes ancestor command registration.
.../​_create.py Uses the stable API and supports criticality.
.../​_delete.py Uses the stable API.
.../​_list_ancestors.py Removes the preview-only command.
.../​_show.py Uses the stable API and handles float criticality.
.../​_update.py Adds criticality updates using the stable API.
.../​_wait.py Uses the stable API and handles float criticality.
.../​tests/​latest/​test_servicegroup_contract.py Verifies API and criticality schemas.
.../​tests/​latest/​test_servicegroup_scenario.py Adds playback-enabled criticality coverage.
.../​recordings/​test_servicegroup_crud.yaml Refreshes CRUD playback for the GA API.
.../​recordings/​test_servicegroup_create_with_nested_parent.yaml Refreshes nested hierarchy playback.
.../​recordings/​test_servicegroup_list_ancestors.yaml Removes obsolete ancestor recording.
.../​recordings/​test_servicegroup_create_with_parent.yaml Removes obsolete recording.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants