Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 10, 2025

Adds fetchTags: false to Azure Pipelines checkout steps to skip fetching git tags during repository checkout, reducing network overhead and improving checkout performance.

Changes

  • Updated 8 YAML files containing 10 total checkout steps in eng/pipelines/:
    • Pipeline templates: base-job.yml, xplat-job.yml, build-job.yml
    • Stress test pipelines: http.yml, ssl.yml (2 occurrences each)
    • Path evaluation and build jobs: evaluate-paths-job.yml, global-build-job.yml
    • Official build jobs: prepare-signed-artifacts.yml

Note: Changes to eng/common/ templates were excluded as those are shared infrastructure files managed separately.

Example

- checkout: self
  clean: true
  fetchDepth: $(checkoutFetchDepth)
  fetchTags: false  # Added to skip tag fetching
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.

Copilot AI changed the title [WIP] Update checkout step to specify fetchTags: false Add fetchTags: false to all checkout steps in CI YAML files Dec 10, 2025
Copilot AI requested a review from elinor-fung December 10, 2025 22:56
@elinor-fung elinor-fung changed the title Add fetchTags: false to all checkout steps in CI YAML files [release/8.0-staging] Add fetchTags: false to all checkout steps in CI YAML files Dec 10, 2025
@elinor-fung
Copy link
Member

cc @agocke

Copilot AI changed the title [release/8.0-staging] Add fetchTags: false to all checkout steps in CI YAML files Add fetchTags: false to checkout steps in pipeline YAML files Dec 10, 2025
Copilot AI requested a review from elinor-fung December 10, 2025 23:14
@elinor-fung elinor-fung marked this pull request as ready for review December 10, 2025 23:19
Copilot AI review requested due to automatic review settings December 10, 2025 23:19
@elinor-fung elinor-fung changed the title Add fetchTags: false to checkout steps in pipeline YAML files [release/8.0-staging] Add fetchTags: false to checkout steps in pipeline YAML files Dec 10, 2025
@elinor-fung elinor-fung added this to the 8.0.x milestone Dec 10, 2025
@elinor-fung elinor-fung added the Servicing-consider Issue for next servicing release review label Dec 10, 2025
Copy link
Contributor

Copilot AI left a comment

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 adds fetchTags: false to all Azure Pipelines checkout steps in the runtime CI configuration to optimize checkout performance by avoiding unnecessary git tag fetching operations.

Key changes:

  • Added fetchTags: false parameter to 10 checkout steps across 8 pipeline YAML files
  • Changes are consistently applied to all checkout operations in pipeline templates and job definitions
  • Maintains existing checkout configuration parameters (clean, fetchDepth, lfs where applicable)

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/official/jobs/prepare-signed-artifacts.yml Added fetchTags parameter to signed artifacts preparation checkout step
eng/pipelines/libraries/stress/ssl.yml Added fetchTags parameter to both Linux and Windows SSL stress test checkout steps
eng/pipelines/libraries/stress/http.yml Added fetchTags parameter to both Linux and Windows HTTP stress test checkout steps
eng/pipelines/libraries/base-job.yml Added fetchTags parameter to libraries base job template checkout step
eng/pipelines/installer/jobs/build-job.yml Added fetchTags parameter to installer build job checkout step
eng/pipelines/common/templates/runtimes/xplat-job.yml Added fetchTags parameter to cross-platform runtime job template checkout step
eng/pipelines/common/global-build-job.yml Added fetchTags parameter to global build job checkout step
eng/pipelines/common/evaluate-paths-job.yml Added fetchTags parameter to path evaluation job checkout step

@rbhanda rbhanda modified the milestones: 8.0.x, 8.0.24 Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Servicing-consider Issue for next servicing release review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants