[ManagedCleanroom] Sync frontend commands with latest 2026-03-01-preview spec - #10411
Merged
Ethan Yang (necusjz) merged 2 commits intoSep 30, 2026
Merged
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The command layer, generated clients, documentation, tests, and release metadata are consistently updated.
Review effort: Balanced
Findings: None
What changed in this PR
Synchronizes Managed Cleanroom frontend commands with the latest 2026-03-01-preview API contract.
Changes:
- Regenerates synchronous and asynchronous frontend clients.
- Adds
--scale-skuand migrates run-result lookup to--run-id. - Updates response-shape tests, documentation, and version metadata.
| File | Description |
|---|---|
src/managedcleanroom/setup.py |
Bumps version to 1.0.0b10. |
src/managedcleanroom/HISTORY.rst |
Documents the release changes. |
src/managedcleanroom/azext_managedcleanroom/tests/latest/test_frontend_query.py |
Updates query response tests and covers scale SKU. |
src/managedcleanroom/azext_managedcleanroom/tests/latest/test_frontend_misc.py |
Updates audit and secret response tests. |
src/managedcleanroom/azext_managedcleanroom/tests/latest/test_frontend_collaboration.py |
Updates collaboration report tests. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/operations/_patch.py |
Refreshes generated patch scaffolding. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/operations/_operations.py |
Regenerates synchronous frontend operations. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/operations/__init__.py |
Refreshes generated operation exports. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/aio/operations/_patch.py |
Refreshes async operation patch scaffolding. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/aio/operations/_operations.py |
Regenerates asynchronous frontend operations. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/aio/operations/__init__.py |
Refreshes async operation exports. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/aio/_patch.py |
Refreshes async client patch scaffolding. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/aio/_configuration.py |
Refreshes generated async configuration. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/aio/_client.py |
Refreshes the generated async client. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/aio/__init__.py |
Refreshes async package exports. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/_utils/serialization.py |
Refreshes generated serialization utilities. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/_utils/__init__.py |
Updates generated utility metadata. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/_patch.py |
Refreshes client patch scaffolding. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/_configuration.py |
Refreshes generated client configuration. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/_client.py |
Refreshes the generated synchronous client. |
src/managedcleanroom/azext_managedcleanroom/analytics_frontend_api/__init__.py |
Refreshes package exports. |
src/managedcleanroom/azext_managedcleanroom/_params.py |
Adds scale SKU and deprecated job-ID aliases. |
src/managedcleanroom/azext_managedcleanroom/_help.py |
Documents updated query options and examples. |
src/managedcleanroom/azext_managedcleanroom/_frontend_custom.py |
Sends scale SKU and uses run-ID lookup. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
Member
|
/azp run |
Anant (anantshankar17)
approved these changes
Sep 30, 2026
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
|
Ethan Yang (@necusjz) / Eloy Durán (@alloy) / Scott Hanselman (@shanselman) : please review and complete this minor change as it's required for a release. |
Ethan Yang (necusjz)
approved these changes
Sep 30, 2026
Collaborator
|
[Release] Update index.json for extension [ managedcleanroom-1.0.0b10 ] : https://dev.azure.com/msazure/One/_build/results?buildId=183537515&view=results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related command
az managedcleanroom frontend analytics query runaz managedcleanroom frontend analytics query runresult showSummary
Follow-up to #10384. Brings the frontend (data-plane) commands in line with the latest
2026-03-01-previewfrontend spec.analytics_frontend_apiclient from the current frontend spec. The client's operations are unchanged exceptanalytics_runs_job_id_get(job_id), which is nowanalytics_runs_run_id_get(run_id)to match/analytics/runs/{runId}.--scale-sku(small,medium,large) toquery run. It is sent asscaleSkuonly when specified, so the service default (small) applies otherwise. It cannot be combined with--body, like the other run flags.query runresult shownow takes--run-id/-r.--job-id/-jstill works as a deprecated alias.id, run history, run result, audit events{value, nextLink}, secretsecretId, reportcgs/consortiumManager) and adds--scale-skucoverage.1.0.0b10.Validation
python -m pytest azext_managedcleanroom/tests/latest: 63 passed, 7 subtests passed.flake8(repo.flake8) andpylint(repopylintrc) on the extension: clean, 10.00/10.azdev linter --include-whl-extensions managedcleanroom: passed.--scale-skuappears in help,--scale-sku tinyis rejected,--job-idis accepted with a deprecation warning pointing to--run-id.Dependencies
azure-cleanroomdevelop,src/sdk/openapi/V2026_03_01_Preview/frontend.yaml(commitc367a8236)General Guidelines
azdev style <YOUR_EXT>locally? (flake8 + pylint with the repo configs)python scripts/ci/test_index.py -qlocally? (not applicable:src/index.jsonis unchanged)setup.pyandHISTORY.rst.