Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[release/9.0-staging] Add fetchTags: false to all checkout steps in CI pipelines - #122402

#122402
Merged
jeffhandley merged 3 commits into
release/9.0-stagingdotnet/runtime:release/9.0-stagingfrom
copilot/update-checkout-step-fetch-tagsdotnet/runtime:copilot/update-checkout-step-fetch-tagsCopy head branch name to clipboard
Jan 8, 2026
Merged

[release/9.0-staging] Add fetchTags: false to all checkout steps in CI pipelines#122402
jeffhandley merged 3 commits into
release/9.0-stagingdotnet/runtime:release/9.0-stagingfrom
copilot/update-checkout-step-fetch-tagsdotnet/runtime:copilot/update-checkout-step-fetch-tagsCopy head branch name to clipboard

Conversation

Copilot AI commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

Adds fetchTags: false to 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:

  • Core build pipelines: global-build-job.yml, xplat-job.yml, run-test-job.yml
  • Stress test pipelines: http.yml (2 checkouts), ssl.yml (2 checkouts)
  • Utility pipelines: evaluate-paths-job.yml, deploy-to-onefuzz.yml, publish-build-assets.yml
  • Performance pipelines: perf-job.yml (dotnet-performance repo checkout)

Example change

- checkout: self
  clean: true
  fetchDepth: $(checkoutFetchDepth)
  fetchTags: false  # Added
Original prompt

Update the checkout step in the runtime CI yml to specify fetchTags: false.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: elinor-fung <47805090+elinor-fung@users.noreply.github.com>
Copilot AI changed the title [WIP] Update checkout step to specify fetchTags: false Add fetchTags: false to all checkout steps in CI pipelines Dec 10, 2025
Copilot AI requested a review from elinor-fung December 10, 2025 20:21
Comment thread eng/common/core-templates/job/publish-build-assets.yml Outdated
@elinor-fung elinor-fung changed the title Add fetchTags: false to all checkout steps in CI pipelines [release/9.0-staging] Add fetchTags: false to all checkout steps in CI pipelines Dec 10, 2025
@elinor-fung
elinor-fung marked this pull request as ready for review December 10, 2025 20:54
Copilot AI review requested due to automatic review settings December 10, 2025 20:54
@elinor-fung

Copy link
Copy Markdown
Member

@agocke this in an infrastructure-only backport to decrease the amount of time spent in the checkout step in CI.

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.

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: false parameter 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

@elinor-fung elinor-fung added this to the 9.0.x milestone Dec 10, 2025

@jeffhandley jeffhandley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very cool, @elinor-fung. This can be treated as tell-mode; I'm marking it as Servicing-approved Approved for servicing release .

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@jeffhandley

Copy link
Copy Markdown
Member

/ba-g All of the failures are unrelated, associated with the macOS build queues.

@jeffhandley
jeffhandley merged commit e3f677c into release/9.0-staging Jan 8, 2026
127 of 155 checks passed
@jeffhandley
jeffhandley deleted the copilot/update-checkout-step-fetch-tags branch January 8, 2026 18:45
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure Servicing-approved Approved for servicing release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.