Repository navigation
Reduce CodeQL build workload and increase timeouts - #10854
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
|
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. |
Contributor
There was a problem hiding this comment.
🟢 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
ViktorHofer
approved these changes
Nov 10, 2026
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.