From 59ce884f45c0a4767c1cf3d604e33256c812787d Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:34:04 -0800 Subject: [PATCH] Disable codeql to avoid timeouts / long runtimes (#31726) This is how it [used to run](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4248236&view=logs&j=b1e79959-24d8-5aa9-2799-72d40c3e051b&t=1a422346-a7fc-5798-c84d-6e5b319d46e3). In the past week, we started seeing very long builds due to codeQL kicking on: - [example 1](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4319395&view=logs&j=b1e79959-24d8-5aa9-2799-72d40c3e051b&t=1a422346-a7fc-5798-c84d-6e5b319d46e3) - [example 2](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4317694&view=logs&j=b70e5e73-bbb6-5567-0939-8415943fadb9&t=ce3b9047-3f2a-5c21-9248-60a34a33907c) --- eng/pipelines/templates/stages/1es-redirect.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/pipelines/templates/stages/1es-redirect.yml b/eng/pipelines/templates/stages/1es-redirect.yml index b185dc66546..8956c744c01 100644 --- a/eng/pipelines/templates/stages/1es-redirect.yml +++ b/eng/pipelines/templates/stages/1es-redirect.yml @@ -60,5 +60,9 @@ extends: compiled: true break: true policy: M365 + codeql: + compiled: + enabled: false + justificationForDisabling: "CodeQL times our pipelines out by running for hours before being force canceled." stages: ${{ parameters.stages }}