Skip to content

[agentfabric] Migrate commands to 2026-11-03 preview API - #10547

Closed
Kshitija Murudi (kmurudi) wants to merge 1 commit into
Azure:mainfrom
kmurudi:agentfabric-november-api
Closed

Kshitija Murudi (kmurudi) wants to merge 1 commit into
Azure:mainfrom
kmurudi:agentfabric-november-api

Conversation

@kmurudi

Copy link
Copy Markdown
Contributor

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, and az agentfabric policy-group (all 19 API commands and four waits).

Migrate to 2026-11-03-preview using AAZ model commit 252280694c21aa992cb42a4fe938ff7d90031abb (companion Azure/aaz PR link pending). Generated from the contract promoted by Azure/azure-rest-api-specs-pr#31028, source commit 76fc915fccfbf04b016d79a2184bc0cc44fb530a. Comparison against latest RPSaaSMaster is pending; keep this PR in draft.

  • Add nested MCP matching conditions, TLS Inspect/Bypass rules, optional URL rule actions, 3–256 character resource names, and optional conditional AKS attach.
  • Preserve command names/aliases, customer-owned inspection connections and secret handling, AKS GET-then-PATCH customization, tags-only Policy Group PATCH, and read-only member commands. Preserve ACI, AKS, and Agent Fabric Sandbox response variants.
  • Generate the read-only member wait from the November show model, since default AAZ generation only emits waits for groups with mutating long-running operations.
  • Bump extension to 1.0.0b2 and update related documentation and regression coverage. No index change.

Validation of head bb508db897a91acbcf97f1043ab5c5d21a8e852a, performed locally on October 28 (not fresh CI results):

  • python -m pytest src\agentfabric\azext_agentfabric\tests\latest -k 'not aks_lifecycle' -q --disable-warnings — passed: 26 tests and 46 subtests.
  • python -m pytest src\agentfabric\azext_agentfabric\tests\latest\test_agentfabric_scenario.py -k aks_lifecycle -q --disable-warnings -o faulthandler_timeout=90 — passed: 1 test.
  • python -m azdev style agentfabric — passed: pylint and flake8.
  • python scripts\ci\test_index.py -q — passed: 9 tests run, 2 skipped.
  • From src\agentfabric: python setup.py --quiet build --build-base <session-artifacts>\wheel-build bdist_wheel --bdist-dir <session-artifacts>\wheel-staging --dist-dir <session-artifacts>\wheels — passed; wheel inspection verified version 1.0.0b2, all 23 November commands, and no member mutations.
  • git diff --check — passed. Deterministic regeneration and preservation of baseline argument aliases were checked.
  • python -m azdev linter agentfabric — environment-blocked during initialization (NoneType command-string error); not passed. The installed global testsdk was incompatible; passing tests used the existing local CLI testsdk, with AKS core sources and restored dependencies in a session-local validation environment.

The original October lifecycle recordings are unchanged. A replay-only processor normalizes the November API query version solely for those historical NetworkSecurity requests. Playback establishes compatibility, not live November service validation. Independent unit tests assert actual November operation versions, including inherited operations and all waits, and new request/response shapes. No live Azure deployments or resources were created.

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:

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.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.

Regenerate all existing commands and waits from November AAZ models. Preserve custom enrollment behavior and read-only member commands; add contract coverage and retain original recordings for documented compatibility playback.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Nov 2, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution Kshitija Murudi (@kmurudi)! We will review the pull request and get back to you soon.

@kmurudi

Copy link
Copy Markdown
Contributor Author

Closing this draft because it was opened from pre-restart local work. It is superseded by a fresh reimplementation from updated main and RPSaaSMaster, which will use a different branch. The existing branch and commit are preserved for recovery.

@yonzhan

Copy link
Copy Markdown
Collaborator

agentfabric

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

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants