Skip to content

[AI Manager] Add short namespace alias for model deployments - #10327

Merged
Ethan Yang (necusjz) merged 1 commit into
Azure:mainfrom
techworldhello:wangjessi/shorten-namespace-flag
Sep 11, 2026
Merged

[AI Manager] Add short namespace alias for model deployments#10327
Ethan Yang (necusjz) merged 1 commit into
Azure:mainfrom
techworldhello:wangjessi/shorten-namespace-flag

Conversation

@techworldhello

@techworldhello Jessie (techworldhello) commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes
⚠️ None
⚠️Azure CLI Extensions Breaking Change Test
⚠️aimanager
rule cmd_name rule_message suggest_message
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment add cmd aimanager namespace modeldeployment add update parameter namespace_name: updated property options from ['--namespace-name'] to ['--namespace-name', '--ns']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment delete cmd aimanager namespace modeldeployment delete update parameter namespace_name: updated property options from ['--namespace-name'] to ['--namespace-name', '--ns']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment list cmd aimanager namespace modeldeployment list update parameter namespace_name: updated property options from ['--namespace-name'] to ['--namespace-name', '--ns']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment show cmd aimanager namespace modeldeployment show update parameter namespace_name: updated property options from ['--namespace-name'] to ['--namespace-name', '--ns']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment update cmd aimanager namespace modeldeployment update update parameter namespace_name: updated property options from ['--namespace-name'] to ['--namespace-name', '--ns']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment wait cmd aimanager namespace modeldeployment wait update parameter namespace_name: updated property options from ['--namespace-name'] to ['--namespace-name', '--ns']

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

Related command

[AI Manager] Add short namespace alias for model deployments

Support --ns as an alias for --namespace-name
Bump extension version to 1.5.2b2
Add regression coverage and release notes

image

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.

Copilot AI lite review requested due to automatic review settings September 11, 2026 01:10
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi Jessie (@techworldhello),
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in pyproject.toml (or setup.py, if the extension has not migrated yet) as well.

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.

🟢 Approval recommended

Only a minor release-note formatting nit remains; no blocking issues were identified.

Pull request overview

Adds --ns as an alias for --namespace-name in model deployment commands, with regression coverage and release metadata updates.

Changes:

  • Registers the --ns argument alias.
  • Adds regression coverage.
  • Bumps the extension version to 1.5.2b2.
  • Updates release notes; the heading underline needs one additional +.
File summaries
File Description
src/aimanager/setup.py Bumps extension version to 1.5.2b2.
src/aimanager/HISTORY.rst Documents the new alias.
src/aimanager/azext_aimanager/tests/latest/test_modeldeployment.py Verifies alias registration.
src/aimanager/azext_aimanager/_params.py Adds --ns to model deployment namespace arguments.
Review details

Suppressed comments (1)

src/aimanager/HISTORY.rst:7

  • The new 1.5.2b2 title is seven characters long, but its reStructuredText underline has only six + characters. This produces a Title underline too short warning and can prevent the history from rendering correctly; use a seven-character underline as the later headings in this file do.
++++++
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

@techworldhello
Jessie (techworldhello) force-pushed the wangjessi/shorten-namespace-flag branch from 28287ea to bb7f91c Compare September 11, 2026 01:38
@necusjz
Ethan Yang (necusjz) merged commit 5a84fc7 into Azure:main Sep 11, 2026
24 checks passed
@techworldhello
Jessie (techworldhello) deleted the wangjessi/shorten-namespace-flag branch September 11, 2026 02:16
@azclibot

Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ aimanager-1.5.2b2 ] : https://dev.azure.com/msazure/One/_build/results?buildId=180634203&view=results

@yonzhan

Copy link
Copy Markdown
Collaborator

AI Manager

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