Repository navigation
[StorageSync] Bump API version to 2025-12-01 - #10442
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
4b095de to
c3b0cd8
Compare
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
There was a problem hiding this comment.
🟡 Changes recommended
The private endpoint list command does not follow the newly exposed pagination link, so multi-page results are truncated.
1 open finding
What changed in this PR
Updates three StorageSync AAZ commands to API version 2025-12-01.
Changes:
- Regenerates command schemas, error handling, and LRO behavior.
- Updates playback recordings and CLI compatibility metadata.
- Bumps the extension to version 1.0.2.
| File | Description |
|---|---|
setup.py |
Bumps extension version. |
HISTORY.rst |
Documents the API upgrade. |
test_storagesync.yaml |
Updates API versions and LRO playback. |
azext_metadata.json |
Raises minimum CLI version. |
_trigger_change_detection.py |
Updates API and final-state handling. |
private_endpoint_connection/_list.py |
Updates API and response schema. |
_check_name_availability.py |
Updates API and error format. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| _schema_on_200.next_link = AAZStrType( | ||
| serialized_name="nextLink", | ||
| ) |
|
/azp run Azure.azure-cli-extensions |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
JunKai-v The three-command API upgrade still has a pagination defect and unverified Location-based completion evidence. This is a review of upstream CI and author-provided evidence, not an Agent live-test run. Upstream CICurrent-head validation completed with no failed or pending checks. The author reports style, index tests and one playback test passing; that does not validate a real 2025-12-01 completion response. Test validation
That automated coverage result does not establish scenario coverage for this extension. Repository policy findings
Source verification correction: The description's shorthand Confirmed code findingPR-related — pagination silently truncates results. ⚖️ Risk assessment — 47/100 · Medium · High confidenceThe Medium rating is driven by public CLI behavior, dependency or supply chain, generated output.
|
0db8334 to
0bda4c3
Compare
|
/azp run Azure.azure-cli-extensions |
|
Commenter does not have sufficient privileges for PR 10442 in repo Azure/azure-cli-extensions |
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
|
[Release] Update index.json for extension [ storagesync-1.0.2 ] : https://dev.azure.com/msazure/One/_build/results?buildId=186066114&view=results |

🤖 PR Validation — ️✔️ All clear
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az storagesync check-name-availabilityaz storagesync private-endpoint-connection listaz storagesync sync-group cloud-endpoint trigger-change-detectionAddresses Azure/azure-cli#33971.
AAZ command models: Azure/aaz#1121
Changes
aaz-devagainstMicrosoft.StorageSyncstable/2025-12-01(spec tagpackage-2025-12), up from2022-06-01.check-name-availability: error format follows the new spec (ODataV4Format).private-endpoint-connection list: response schema addsnextLinkand read-onlyproperties.groupIds.trigger-change-detection: LRO now usesfinal-state-via: location, per the 2025-12-01 spec.azext_metadata.json:minCliCoreVersion2.55.0 -> 2.75.0 (set by the code generator).HISTORY.rstentry.test_storagesync.yamlupdated for playback:api-version=2025-12-01.2022-09-01->2024-11-01, storage2023-05-01->2025-08-01.operationresultsLocation URL thattrigger-change-detectionnow makes (final-state-via: location). This entry was hand-written (copied from the last recordedSucceededpoll), not captured live.Not in this PR (scope still being confirmed on the issue)
storagesync create/show/list/delete,sync-group,cloud-endpoint create/show/list/delete,server-endpoint,registered-server) still use the vendored SDK at2019-06-01.CloudEndpoints_Update(a newcloud-endpoint updatecommand) andchangeEnumerationIntervalDays.Testing
azdev style storagesync: Pylint PASSED, Flake8 PASSED.python scripts/ci/test_index.py -q: 9 tests OK (2 skipped).python -m pytest src/storagesync/azext_storagesync/tests/latest/test_storagesync_scenario.py(playback): 1 passed.General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install azdevrequired)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.jsonautomatically.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.