Repository navigation
[agentfabric] Migrate all commands to November preview API - #10548
Merged
Naga Nandyala (naga-nandyala) merged 2 commits intoNov 11, 2026
Merged
Naga Nandyala (naga-nandyala) merged 2 commits into
Naga Nandyala (naga-nandyala) merged 2 commits into
Conversation
Generate from Azure/aaz 4d8880d2 and refreshed RPSaaSMaster 7383c939. Retain all existing commands and waits, add nested policy and response coverage, and document the historical playback limitation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
|
Thank you for your contribution Kshitija Murudi (@kmurudi)! We will review the pull request and get back to you soon. |
Capture genuine November Fabric, Policy Group, member, egress, and AKS lifecycles with strict API matching. Wait for AKS teardown updates before deletion, align the FQDN example with AAZ models, and make schema boundary tests independent of CLI runtime regex enforcement. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the Agent Fabric CLI November API migration.
No open issues 🎉
What changed in this PR
Migrates the existing Agent Fabric CLI extension to 2026-11-03-preview, aligning all 19 API commands and four waits with the November contract while preserving aliases and custom AKS update behavior.
Changes:
- Adds MCP matching conditions, TLS inspection rules, optional rule actions, longer resource names, and conditional AKS attachment.
- Expands member response schemas and regression coverage, including strict API-version matching and synchronized AKS cleanup.
- Updates documentation, refreshes service recordings, and bumps the extension to
1.0.0b2.
| File | Description |
|---|---|
src/agentfabric/setup.py |
Bumps the extension version to 1.0.0b2. |
src/agentfabric/README.md |
Documents the November contract, features, and validation scope. |
src/agentfabric/HISTORY.rst |
Adds release notes for the migration. |
src/agentfabric/azext_agentfabric/tests/latest/test_agentfabric.py |
Tests API versions, payloads, response variants, and name limits. |
src/agentfabric/azext_agentfabric/tests/latest/test_agentfabric_scenario.py |
Adds policy examples, recording checks, and AKS cleanup synchronization. |
src/agentfabric/azext_agentfabric/tests/latest/recordings/test_agentfabric_member_read.yaml |
Refreshes member reads with November AKS workload responses. |
src/agentfabric/azext_agentfabric/tests/latest/recordings/test_agentfabric_egress_trust_bundle_list.yaml |
Refreshes trust-bundle list and show responses. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/policy_group/_wait.py |
Updates polling API, name limits, and policy response fields. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/policy_group/_update.py |
Updates API and response schemas while retaining tags-only PATCH. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/policy_group/_show.py |
Adds November MCP and TLS response fields. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/policy_group/_list.py |
Updates both list operations and policy response schemas. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/policy_group/_delete.py |
Updates the deletion API and name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/policy_group/_create.py |
Adds MCP matching, TLS rules, optional actions, and examples. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/member/_wait.py |
Updates polling and models ACI, AKS, and sandbox workloads. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/member/_show.py |
Expands member workload responses and updates API metadata. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/member/_list.py |
Expands listed member workload responses. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/egress_trust_bundle/_show.py |
Updates the singleton-read API and parent name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/egress_trust_bundle/_list.py |
Updates the collection-read API and parent name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/aks/_wait.py |
Updates association polling API and name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/aks/_update.py |
Makes the target ID optional in the generated PATCH schema. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/aks/_show.py |
Updates association-read API and name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/aks/_list.py |
Updates association-list API and parent name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/aks/_detach.py |
Updates detachment API and name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/aks/_attach.py |
Adds optional If-None-Match header support. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/_wait.py |
Updates Fabric polling API and name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/_update.py |
Updates Fabric PATCH API and name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/_show.py |
Updates Fabric-read API and name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/_list.py |
Updates resource-group and subscription list APIs. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/_delete.py |
Updates Fabric deletion API and name limits. |
src/agentfabric/azext_agentfabric/aaz/latest/agentfabric/_create.py |
Updates Fabric creation API and name limits. |
Review effort: Balanced
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
Naga Nandyala (naga-nandyala)
approved these changes
Nov 11, 2026
Collaborator
|
[Release] Update index.json for extension [ agentfabric-1.0.0b2 ] : https://dev.azure.com/msazure/One/_build/results?buildId=190562433&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.
🤖 PR Validation —⚠️ Review suggested
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az agentfabric,az agentfabric aks,az agentfabric member,az agentfabric egress-trust-bundle, andaz agentfabric policy-group: all 19 API commands and four waits.Dependency: Azure/aaz#1155, commit
27059f6d46d9af223bffe83df8b574bc16a8e6ca. The November FQDN example was corrected in AAZ first, then regenerated here; historical model versions remain unchanged.Freshly generated from main
d79d5bc724e7701a03ad7a74c064d06c260ad417, without copying/cherry-picking the superseded implementation or closed #10547. Ready for review; merge and release remain subject to normal repository approval.Source: RPSaaSMaster
7383c939bca038e922edf44005ac136fc35c9913,specification/networksecurity/resource-manager/Microsoft.NetworkSecurity/agentFabric/preview/2026-11-03-preview/agentFabric.json, SHA-25616408571bc0f993954ac764851256b524571ca4db16f0c13b1cef3047f53ddc1.Changes:
2026-11-03-preview, preserving aliases. Generate the read-only member wait from its show model because automatic AAZ waits require a mutating LRO.1.0.0b2;src/index.jsonandcustom.pyare unchanged.Jayson Tai feedback from #10370
Reviewed all ten JaysonTaiMicrosoft entries: five substantive comments, one
/azp run, and four empty review submissions including approval.Fresh recording evidence
All six resource scenarios passed live using CLI 2.91.0 in westcentralus. Existing resources were used only for member/egress reads; the existing AKS/Fabric enrollment stayed Succeeded/Premium. All six disposable test groups from successful/retried runs and both temporary AKS node groups were confirmed absent. No Content Safety credentials or inspection profiles were supplied.
Two unsuccessful attempts were preserved outside the PR: an invalid legacy FQDN selector and an AKS delete racing a post-detach update. Both causes were fixed and the scenarios re-recorded successfully; neither failed trace was relabeled as successful.
Validation for
635bf7d001fd1158237b2ebd7e749a88d02e3faf(session-local launchers use the CLI-bundled Python and standard SDK; live mode journals resources without altering responses):record_live.py src\agentfabric\azext_agentfabric\tests\latest\test_agentfabric_scenario.py -k 'AgentfabricResourceScenario and not aks_lifecycle' -q --disable-warnings: initial run 4 passed, 1 failed on the FQDN example; failed fixture excluded.record_live.py src\agentfabric\azext_agentfabric\tests\latest\test_agentfabric_scenario.py -k test_agentfabric_policy_group_lifecycle -q --disable-warnings: passed after AAZ correction, including all policy examples.record_live.py src\agentfabric\azext_agentfabric\tests\latest\test_agentfabric_scenario.py -k test_agentfabric_aks_lifecycle -q --disable-warnings: passed after teardown synchronization, including deletion.review_current_cli_tests.py src\agentfabric\azext_agentfabric\tests\latest -q --disable-warnings: 28 passed, 215 subtests passed, zero skipped, on Azure CLI 2.91.0; strict API matching, resource versions, waits, payloads, response variants, boundaries, and absence checks included.python -m azdev style agentfabric: passed, pylint and flake8.python -m azdev scan -d src\agentfabric -r --include '*.py' '*.yaml' '*.md' '*.rst' --query secrets_detected -o tsv: passed,false; pre-commit scan also passed.python scripts\ci\test_index.py -q: passed, 9 run, 2 skipped.git diff --check: passed.A wheel built from current head
635bf7d0was installed in isolation with Azure CLI 2.91.0. All 44 installed Python files matched the wheel; all five command groups and all 23 command help surfaces passed, including the corrected FQDN and November MCP/TLS examples. SHA-256:b9651d90075698c94d5633fe757f186098f7124857e381f0f6834befe25df2c8. Localazdev linterwas previously environment-blocked during initialization (NoneTypecommand-string error); the current head passes GitHub linter/style and Azure Pipelines integration/build tests for Python 3.10, 3.11, 3.12, 3.13, and 3.14, plus policy, index, credential, and breaking-change jobs. The optionalskip-version-caljob is skipped as expected. The automated parameter-addition warning above reflects the intentional optional--if-none-matchaddition.General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install azdevrequired)For new extensions:
Not applicable: this updates an existing extension.
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.