Skip to content

Reduce CodeQL build workload and increase timeouts - #10854

Merged
akoeplinger merged 1 commit into
mainfrom
akoeplinger-codeql-build-settings-followup
Nov 10, 2026
Merged

akoeplinger merged 1 commit into
mainfrom
akoeplinger-codeql-build-settings-followup

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Windows CodeQL jobs are running close to or hitting their timeouts.

Skip test execution, validation-only stages, and final asset publishing during CodeQL builds, while retaining intermediate pipeline artifacts and diagnostic logs. Increase internal CodeQL timeouts from 300 to 600 minutes per repository and from 720 to 900 minutes per job; non-CodeQL limits remain unchanged.

@akoeplinger
akoeplinger requested review from a team as code owners November 10, 2026 09:10
Copilot AI balanced review requested due to automatic review settings November 10, 2026 09:10
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the CodeQL pipeline workload and timeout changes.

No open issues 🎉

What changed in this PR

This PR reduces CodeQL workload in the unified .NET build pipelines and increases timeout headroom to address Windows jobs approaching their limits.

Changes:

  • Skip test execution, test-result handling, validation-only stages, and final asset publishing for CodeQL builds.
  • Increase eligible internal CodeQL timeouts from 300 to 600 minutes per repository and from 720 to 900 minutes per job.
  • Preserve non-CodeQL timeout limits, intermediate pipeline artifacts, and diagnostic logs.
File Description
eng/​pipelines/​templates/​stages/​vmr-build.yml Excludes final asset publishing and validation stages from CodeQL builds.
eng/​pipelines/​templates/​stages/​source-build-and-validate.yml Skips the source-only validation stage for CodeQL builds.
eng/​pipelines/​templates/​jobs/​vmr-build.yml Raises CodeQL timeouts and skips tests and test-result handling.

Review effort: Balanced

@akoeplinger
akoeplinger merged commit 6f3134a into main Nov 10, 2026
5 of 11 checks passed
@akoeplinger
akoeplinger deleted the akoeplinger-codeql-build-settings-followup branch November 10, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants