[AI Manager] Add short namespace alias for model deployments - #10327
Conversation
|
Hi Jessie (@techworldhello), |
There was a problem hiding this comment.
🟢 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
--nsargument 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.2b2title is seven characters long, but its reStructuredText underline has only six+characters. This produces aTitle underline too shortwarning 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.
28287ea to
bb7f91c
Compare
|
[Release] Update index.json for extension [ aimanager-1.5.2b2 ] : https://dev.azure.com/msazure/One/_build/results?buildId=180634203&view=results |
|
AI Manager |
🤖 PR Validation —⚠️ Review suggested
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
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.