From 56c257a47f82e007fe87e63ee496bfda8b1ee78f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 10 Dec 2025 20:10:12 +0000 Subject: [PATCH 1/3] Initial plan From 0bb3f6e6bb797d3598b3ee7222def9d41e49af23 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 10 Dec 2025 20:18:24 +0000 Subject: [PATCH 2/3] Add fetchTags: false to all checkout steps in runtime CI YAML files Co-authored-by: elinor-fung <47805090+elinor-fung@users.noreply.github.com> --- eng/common/core-templates/job/publish-build-assets.yml | 1 + eng/pipelines/common/evaluate-paths-job.yml | 1 + eng/pipelines/common/global-build-job.yml | 1 + eng/pipelines/common/templates/runtimes/xplat-job.yml | 1 + eng/pipelines/coreclr/templates/perf-job.yml | 1 + eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml | 1 + eng/pipelines/libraries/run-test-job.yml | 1 + eng/pipelines/libraries/stress/http.yml | 2 ++ eng/pipelines/libraries/stress/ssl.yml | 2 ++ 9 files changed, 11 insertions(+) diff --git a/eng/common/core-templates/job/publish-build-assets.yml b/eng/common/core-templates/job/publish-build-assets.yml index 6b5ff28cc70633..3efe72ca757cc9 100644 --- a/eng/common/core-templates/job/publish-build-assets.yml +++ b/eng/common/core-templates/job/publish-build-assets.yml @@ -83,6 +83,7 @@ jobs: - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - checkout: ${{ parameters.repositoryAlias }} fetchDepth: 3 + fetchTags: false clean: true - task: DownloadBuildArtifacts@0 diff --git a/eng/pipelines/common/evaluate-paths-job.yml b/eng/pipelines/common/evaluate-paths-job.yml index 696e9ac909f8f8..cadab9bdda2344 100644 --- a/eng/pipelines/common/evaluate-paths-job.yml +++ b/eng/pipelines/common/evaluate-paths-job.yml @@ -34,6 +34,7 @@ jobs: - checkout: self clean: true fetchDepth: 2 + fetchTags: false - ${{ if ne(parameters.paths[0], '') }}: - ${{ each path in parameters.paths }}: diff --git a/eng/pipelines/common/global-build-job.yml b/eng/pipelines/common/global-build-job.yml index 1fe318e984fa8b..1bcaf274c2cd95 100644 --- a/eng/pipelines/common/global-build-job.yml +++ b/eng/pipelines/common/global-build-job.yml @@ -166,6 +166,7 @@ jobs: - checkout: self clean: true fetchDepth: $(checkoutFetchDepth) + fetchTags: false - ${{ if and(eq(parameters.isOfficialBuild, true), notin(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator')) }}: - template: /eng/pipelines/common/restore-internal-tools.yml diff --git a/eng/pipelines/common/templates/runtimes/xplat-job.yml b/eng/pipelines/common/templates/runtimes/xplat-job.yml index e22f8f968c4790..30c7a3c1cc8716 100644 --- a/eng/pipelines/common/templates/runtimes/xplat-job.yml +++ b/eng/pipelines/common/templates/runtimes/xplat-job.yml @@ -113,5 +113,6 @@ jobs: - checkout: self clean: true fetchDepth: $(checkoutFetchDepth) + fetchTags: false - ${{ parameters.steps }} diff --git a/eng/pipelines/coreclr/templates/perf-job.yml b/eng/pipelines/coreclr/templates/perf-job.yml index 743a0b6b21aeeb..fb6d9e7b3e2f23 100644 --- a/eng/pipelines/coreclr/templates/perf-job.yml +++ b/eng/pipelines/coreclr/templates/perf-job.yml @@ -183,6 +183,7 @@ jobs: SourceFolder: $(Build.SourcesDirectory)/dotnet-runtime - checkout: git://internal/dotnet-performance@${{ parameters.perfBranch }} path: performance + fetchTags: false # Extra steps that will be passed to the performance template and run before sending the job to helix (all of which is done in the template) - script: | $(Build.SourcesDirectory)/eng/common/msbuild.sh $(Build.SourcesDirectory)/eng/testing/performance/add_properties_to_pipeline.proj /t:SetVariables diff --git a/eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml b/eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml index 25baed9956a058..25fadd9250a1b6 100644 --- a/eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml +++ b/eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml @@ -31,6 +31,7 @@ extends: - checkout: self clean: true fetchDepth: 1 + fetchTags: false lfs: false - powershell: | diff --git a/eng/pipelines/libraries/run-test-job.yml b/eng/pipelines/libraries/run-test-job.yml index 82017494a4bb5b..9406c5799b4edb 100644 --- a/eng/pipelines/libraries/run-test-job.yml +++ b/eng/pipelines/libraries/run-test-job.yml @@ -86,6 +86,7 @@ jobs: - checkout: self clean: true fetchDepth: $(checkoutFetchDepth) + fetchTags: false - ${{ if ne(variables['System.TeamProject'], 'public') }}: - ${{ if ne(parameters.osGroup, 'windows') }}: diff --git a/eng/pipelines/libraries/stress/http.yml b/eng/pipelines/libraries/stress/http.yml index 9beb1e26c2fc2f..f2f9eac3608d5c 100644 --- a/eng/pipelines/libraries/stress/http.yml +++ b/eng/pipelines/libraries/stress/http.yml @@ -43,6 +43,7 @@ extends: - checkout: self clean: true fetchDepth: 5 + fetchTags: false - bash: | $(dockerfilesFolder)/build-docker-sdk.sh -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION) && \ @@ -120,6 +121,7 @@ extends: - checkout: self clean: true fetchDepth: 5 + fetchTags: false lfs: false - powershell: | diff --git a/eng/pipelines/libraries/stress/ssl.yml b/eng/pipelines/libraries/stress/ssl.yml index ed1306990e294b..696493ef75f9d8 100644 --- a/eng/pipelines/libraries/stress/ssl.yml +++ b/eng/pipelines/libraries/stress/ssl.yml @@ -42,6 +42,7 @@ extends: - checkout: self clean: true fetchDepth: 5 + fetchTags: false - bash: | $(dockerfilesFolder)/build-docker-sdk.sh -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION) @@ -72,6 +73,7 @@ extends: - checkout: self clean: true fetchDepth: 5 + fetchTags: false lfs: false - powershell: | From 4ee0afa5e96b9285a24dfdcb02582638427dc9b1 Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Wed, 10 Dec 2025 12:34:44 -0800 Subject: [PATCH 3/3] Update eng/common/core-templates/job/publish-build-assets.yml --- eng/common/core-templates/job/publish-build-assets.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/eng/common/core-templates/job/publish-build-assets.yml b/eng/common/core-templates/job/publish-build-assets.yml index 3efe72ca757cc9..6b5ff28cc70633 100644 --- a/eng/common/core-templates/job/publish-build-assets.yml +++ b/eng/common/core-templates/job/publish-build-assets.yml @@ -83,7 +83,6 @@ jobs: - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - checkout: ${{ parameters.repositoryAlias }} fetchDepth: 3 - fetchTags: false clean: true - task: DownloadBuildArtifacts@0