{AKS} Add interactive AI-powered deubugging tool az aks agent#9059
{AKS} Add interactive AI-powered deubugging tool az aks agent#9059yanzhudd merged 10 commits intoAzure:mainfrom
Conversation
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| aks agent | cmd aks agent added |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull Request Overview
This PR enables the AI-powered debugging tool az aks agent for Azure Kubernetes Service by uncommenting previously disabled code and updating dependencies.
Key changes:
- Enables the
az aks agentcommand for interactive AI-powered cluster troubleshooting - Updates the holmesgpt dependency to version 0.12.5
- Refines error messaging format in the agent prompt system
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| setup.py | Bumps version to 18.0.0b27 and updates holmesgpt dependency to 0.12.5 |
| commands.py | Uncomments the az aks agent command registration to enable the feature |
| _params.py | Uncomments parameter definitions for the agent command and re-enables imports |
| _help.py | Uncomments comprehensive help documentation for the agent command |
| agent/prompt.py | Updates error message format for cluster context failures |
| HISTORY.rst | Adds changelog entry for the new agent feature |
|
36aa28c to
dbee46c
Compare
d689392 to
7ed7f5d
Compare
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
could you please add some tests for the new command? |
|
@yanzhudd I have added UT, please take another look, thanks. |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
[Release] Update index.json for extension [ aks-preview-18.0.0b28 ] : https://dev.azure.com/msazure/One/_build/results?buildId=135035918&view=results |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install wheel==0.30.0required)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.