[release/9.0-staging] Add fetchTags: false to all checkout steps in CI pipelines#122402
Conversation
Co-authored-by: elinor-fung <47805090+elinor-fung@users.noreply.github.com>
|
@agocke this in an infrastructure-only backport to decrease the amount of time spent in the checkout step in CI. |
There was a problem hiding this comment.
Pull request overview
This PR optimizes CI pipeline performance by adding fetchTags: false to all checkout steps across the dotnet/runtime repository's Azure Pipelines configuration, preventing unnecessary git tag fetching during repository checkout operations.
Key changes:
- Added
fetchTags: falseparameter to 11 checkout steps across 8 pipeline YAML files - Changes span core build pipelines, stress test pipelines, fuzzing utilities, and performance test configurations
- Consistent formatting and indentation maintained across all modifications
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
eng/pipelines/common/global-build-job.yml |
Added fetchTags: false to the main build job checkout step |
eng/pipelines/common/templates/runtimes/xplat-job.yml |
Added fetchTags: false to the cross-platform runtime build checkout |
eng/pipelines/libraries/run-test-job.yml |
Added fetchTags: false to the library test execution checkout |
eng/pipelines/common/evaluate-paths-job.yml |
Added fetchTags: false to the path evaluation checkout (fetchDepth: 2) |
eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml |
Added fetchTags: false to the fuzzing deployment checkout |
eng/pipelines/coreclr/templates/perf-job.yml |
Added fetchTags: false to the dotnet-performance repository checkout |
eng/pipelines/libraries/stress/http.yml |
Added fetchTags: false to both Linux and Windows HTTP stress test checkouts |
eng/pipelines/libraries/stress/ssl.yml |
Added fetchTags: false to both Linux and Windows SSL stress test checkouts |
jeffhandley
left a comment
There was a problem hiding this comment.
Very cool, @elinor-fung. This can be treated as tell-mode; I'm marking it as
Servicing-approved
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
|
/ba-g All of the failures are unrelated, associated with the macOS build queues. |
Adds
fetchTags: falseto all Azure Pipelines checkout steps to skip fetching git tags during repository checkout, reducing CI checkout time and network overhead.Changes
Updated 11 checkout steps across 9 pipeline files:
global-build-job.yml,xplat-job.yml,run-test-job.ymlhttp.yml(2 checkouts),ssl.yml(2 checkouts)evaluate-paths-job.yml,deploy-to-onefuzz.yml,publish-build-assets.ymlperf-job.yml(dotnet-performance repo checkout)Example change
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.