From d7e05f01c68537bbc20dd2df92058bf318609911 Mon Sep 17 00:00:00 2001 From: Naga Nandyala Date: Tue, 24 Nov 2026 09:37:15 +1100 Subject: [PATCH 1/2] {CI} Increase codegen coverage timeout Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9ab7325d966..ccbebe3e2b5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1157,7 +1157,7 @@ jobs: - job: CodegenCoverage condition: in(variables['Build.Reason'], 'BatchedCI', 'IndividualCI') - timeoutInMinutes: 180 + timeoutInMinutes: 210 displayName: "Codegen Coverage" continueOnError: true pool: From c30f8b0a4890fc787d19383d5916fbd5f74d3a5a Mon Sep 17 00:00:00 2001 From: Naga Nandyala Date: Tue, 24 Nov 2026 10:53:50 +1100 Subject: [PATCH 2/2] {CI} Remove codegen coverage job Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- azure-pipelines.yml | 49 --------------------------------------------- 1 file changed, 49 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ccbebe3e2b5..493e0ae775b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1154,52 +1154,3 @@ jobs: if [ "${#secret_files[@]}" -gt 0 ]; then exit 1 fi - -- job: CodegenCoverage - condition: in(variables['Build.Reason'], 'BatchedCI', 'IndividualCI') - timeoutInMinutes: 210 - displayName: "Codegen Coverage" - continueOnError: true - pool: - name: ${{ variables.ubuntu_pool }} - steps: - - task: UsePythonVersion@0 - displayName: 'Use Python 3.11' - inputs: - versionSpec: '3.11' - - template: .azure-pipelines/templates/azdev_setup.yml - - bash: | - set -ev - . env/bin/activate - # clone azure-cli-extensions - cd .. - git clone --depth 1 -b main https://github.com/Azure/azure-cli-extensions.git ./azure-cli-extensions - azdev extension repo add ./azure-cli-extensions - azdev extension add "*" - pip install msrestazure markupsafe==2.0.1 - # Some extension will change the dependence, so run `azdev setup` again after all extensions installed. - azdev setup -c ./s -r ./azure-cli-extensions - - mkdir -p /tmp/module_stats - - find /mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/ -mindepth 1 -maxdepth 1 -type d -printf "%f\n" | grep -v '^__pycache__$' > /mnt/vss/_work/1/s/scripts/ci/core_modules.txt - echo "=== Core Modules ===" - cat /mnt/vss/_work/1/s/scripts/ci/core_modules.txt - - find /mnt/vss/_work/1/azure-cli-extensions/src/ -mindepth 1 -maxdepth 1 -type d -printf "%f\n" | grep -v '^__pycache__$' > /mnt/vss/_work/1/s/scripts/ci/extension_modules.txt - echo "=== Extension Modules ===" - cat /mnt/vss/_work/1/s/scripts/ci/extension_modules.txt - - for module in $(cat /mnt/vss/_work/1/s/scripts/ci/core_modules.txt); do - azdev statistics list-command-table $module --statistics-only > /tmp/module_stats/${module}.json || true - done - - for module in $(cat /mnt/vss/_work/1/s/scripts/ci/extension_modules.txt); do - azdev statistics list-command-table $module --statistics-only > /tmp/module_stats/${module}.json || true - done - azdev statistics list-command-table --statistics-only > /tmp/codegen_report.json || true - python /mnt/vss/_work/1/s/scripts/ci/codegen_report.py - env: - BUILD_ID: $(Build.BuildId) - BUILD_BRANCH: $(Build.SourceBranchName) - enabled: true