{CI} Optimize codegen report to support module data and run on manual and Batch CI triggers due to increased execution time#31660
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @wangzelin007, |
️✔️AzureCLI-BreakingChangeTest
|
|
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>
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
There was a problem hiding this comment.
Pull Request Overview
This PR optimizes the code generation report by adding module-level statistics support and updating the pipeline to run on both manual and batch CI triggers.
- Introduces new helper functions (load_module_stats, analyze_stats, print_results, analyze_and_report) in codegen_report.py to gather and report module statistics.
- Updates the azure-pipelines.yml file to create module lists, set timeouts, and adjust azdev setup and report commands for improved CI execution.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| scripts/ci/codegen_report.py | New functions added to load, analyze, and output module stats to improve reporting. |
| azure-pipelines.yml | Adjusted CI job conditions, added module-related file generation, and updated azdev commands. |
Related command
Description
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.