From a956942bb81bedf73ebd3b0ecdadea1820449707 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 02:04:19 +0000 Subject: [PATCH 1/4] Update helix queues to Windows.11.Client and add Windows.Server2025.Amd64 for Cosmos tests Agent-Logs-Url: https://github.com/dotnet/efcore/sessions/b8c6dcb6-8841-408d-9f30-c65e9d2054d3 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com> --- azure-pipelines-internal-tests.yml | 44 +++++++++++++++++++++++++++++- azure-pipelines-public.yml | 32 +++++++++++++++++++++- eng/helix.proj | 6 ++-- 3 files changed, 78 insertions(+), 4 deletions(-) diff --git a/azure-pipelines-internal-tests.yml b/azure-pipelines-internal-tests.yml index ef88dc4ef13..1ffd779803f 100644 --- a/azure-pipelines-internal-tests.yml +++ b/azure-pipelines-internal-tests.yml @@ -230,7 +230,49 @@ extends: - name: _HelixBuildConfig value: $(_BuildConfig) - name: HelixTargetQueues - value: Windows.10.Amd64 + value: Windows.11.Client + - name: _HelixAccessToken + value: $(HelixApiAccessToken) + steps: + - task: NuGetCommand@2 + displayName: 'Clear NuGet caches' + condition: succeeded() + inputs: + command: custom + arguments: 'locals all -clear' + - template: /eng/common/templates-official/steps/enable-internal-sources.yml + - template: /eng/common/templates-official/steps/enable-internal-runtimes.yml + - template: /eng/common/core-templates/steps/get-delegation-sas.yml + parameters: + federatedServiceConnection: 'dotnetbuilds-internal-read' + outputVariableName: 'dotnetbuilds-internal-container-read-token' + expiryInHours: 3 + base64Encode: false + storageAccount: dotnetbuilds + container: internal + permissions: rl + - script: restore.cmd -ci /p:configuration=$(_BuildConfig) $(_InternalRuntimeDownloadArgs) + displayName: Restore packages + - script: .dotnet\dotnet build eng\helix.proj /restore /t:Test /p:configuration=$(_BuildConfig) /bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog $(_InternalRuntimeDownloadArgs) + displayName: Send tests to helix + env: + HelixAccessToken: $(_HelixAccessToken) + SYSTEM_ACCESSTOKEN: $(System.AccessToken) + DotNetBuildsInternalReadSasToken: $(dotnetbuilds-internal-container-read-token) + + - job: Helix_Windows_Cosmos + displayName: 'Helix Windows Cosmos' + timeoutInMinutes: 180 + pool: + name: $(DncEngInternalBuildPool) + demands: ImageOverride -equals 1es-windows-2022 + os: windows + variables: + - skipComponentGovernanceDetection: true + - name: _HelixBuildConfig + value: $(_BuildConfig) + - name: HelixTargetQueues + value: Windows.Server2025.Amd64 - name: _HelixAccessToken value: $(HelixApiAccessToken) steps: diff --git a/azure-pipelines-public.yml b/azure-pipelines-public.yml index 500c7be10b8..146df308d6d 100644 --- a/azure-pipelines-public.yml +++ b/azure-pipelines-public.yml @@ -152,7 +152,37 @@ stages: - name: _HelixBuildConfig value: $(_BuildConfig) - name: HelixTargetQueues - value: Windows.10.Amd64.Open + value: Windows.11.Client.Open + - name: _HelixAccessToken + value: '' + steps: + - task: NuGetCommand@2 + displayName: 'Clear NuGet caches' + condition: succeeded() + inputs: + command: custom + arguments: 'locals all -clear' + - script: restore.cmd -ci /p:configuration=$(_BuildConfig) $(_InternalRuntimeDownloadArgs) + displayName: Restore packages + - script: .dotnet\dotnet build eng\helix.proj /restore /t:Test /p:configuration=$(_BuildConfig) /bl:artifacts/log/$(_BuildConfig)/SendToHelix.binlog $(_InternalRuntimeDownloadArgs) + displayName: Send tests to helix + env: + HelixAccessToken: $(_HelixAccessToken) + SYSTEM_ACCESSTOKEN: $(System.AccessToken) + + - job: Helix_Windows_Cosmos + displayName: 'Helix Windows Cosmos' + timeoutInMinutes: 180 + pool: + name: $(DncEngPublicBuildPool) + demands: ImageOverride -equals 1es-windows-2022-open + variables: + - skipComponentGovernanceDetection: true + - Codeql.SkipTaskAutoInjection: true + - name: _HelixBuildConfig + value: $(_BuildConfig) + - name: HelixTargetQueues + value: Windows.Server2025.Amd64.Open - name: _HelixAccessToken value: '' steps: diff --git a/eng/helix.proj b/eng/helix.proj index da0da19701a..6b7bcd5e0cd 100644 --- a/eng/helix.proj +++ b/eng/helix.proj @@ -18,7 +18,7 @@ - Windows.10.Amd64.Open;OSX.15.Amd64.Open;OSX.15.ARM64.Open;Ubuntu.2204.Amd64.XL.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-sqlserver-amd64;Ubuntu.2204.Amd64.XL.Open;Ubuntu.2204.Amd64.Open + Windows.11.Client.Open;Windows.Server2025.Amd64.Open;OSX.15.Amd64.Open;OSX.15.ARM64.Open;Ubuntu.2204.Amd64.XL.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-sqlserver-amd64;Ubuntu.2204.Amd64.XL.Open;Ubuntu.2204.Amd64.Open false efcore/localbuild/ t001 @@ -72,7 +72,9 @@ - + + + $(PreCommands); set Test__Cosmos__SkipConnectionCheck=true From 7f209a7cf391219a9467f5f5ec33f44bc62609c8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 04:02:58 +0000 Subject: [PATCH 2/4] Rename Windows.11.Client to Windows.11.Amd64.Client in helix queues Agent-Logs-Url: https://github.com/dotnet/efcore/sessions/a5e78394-98da-493b-aab1-4ccbfb23584d Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com> --- azure-pipelines-internal-tests.yml | 2 +- azure-pipelines-public.yml | 2 +- eng/helix.proj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines-internal-tests.yml b/azure-pipelines-internal-tests.yml index 1ffd779803f..18e782cabb4 100644 --- a/azure-pipelines-internal-tests.yml +++ b/azure-pipelines-internal-tests.yml @@ -230,7 +230,7 @@ extends: - name: _HelixBuildConfig value: $(_BuildConfig) - name: HelixTargetQueues - value: Windows.11.Client + value: Windows.11.Amd64.Client - name: _HelixAccessToken value: $(HelixApiAccessToken) steps: diff --git a/azure-pipelines-public.yml b/azure-pipelines-public.yml index 146df308d6d..c62b0ed3b3d 100644 --- a/azure-pipelines-public.yml +++ b/azure-pipelines-public.yml @@ -152,7 +152,7 @@ stages: - name: _HelixBuildConfig value: $(_BuildConfig) - name: HelixTargetQueues - value: Windows.11.Client.Open + value: Windows.11.Amd64.Client.Open - name: _HelixAccessToken value: '' steps: diff --git a/eng/helix.proj b/eng/helix.proj index 6b7bcd5e0cd..36a5f802244 100644 --- a/eng/helix.proj +++ b/eng/helix.proj @@ -18,7 +18,7 @@ - Windows.11.Client.Open;Windows.Server2025.Amd64.Open;OSX.15.Amd64.Open;OSX.15.ARM64.Open;Ubuntu.2204.Amd64.XL.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-sqlserver-amd64;Ubuntu.2204.Amd64.XL.Open;Ubuntu.2204.Amd64.Open + Windows.11.Amd64.Client.Open;Windows.Server2025.Amd64.Open;OSX.15.Amd64.Open;OSX.15.ARM64.Open;Ubuntu.2204.Amd64.XL.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-sqlserver-amd64;Ubuntu.2204.Amd64.XL.Open;Ubuntu.2204.Amd64.Open false efcore/localbuild/ t001 From 1ba4dac2118f2ad8e1dad3deda83122e1fee076a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Apr 2026 19:02:29 +0000 Subject: [PATCH 3/4] Set Test__Cosmos__DefaultConnection in Windows.Server2025 Helix precommands Agent-Logs-Url: https://github.com/dotnet/efcore/sessions/3eb5e30f-bba6-45bc-9d69-1083ef3da797 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com> --- eng/helix.proj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/helix.proj b/eng/helix.proj index 36a5f802244..1ca9c3aca28 100644 --- a/eng/helix.proj +++ b/eng/helix.proj @@ -75,7 +75,7 @@ - $(PreCommands); set Test__Cosmos__SkipConnectionCheck=true + $(PreCommands); set Test__Cosmos__DefaultConnection=https://localhost:8081; set Test__Cosmos__SkipConnectionCheck=true From 0315f61f033ca232c9e82e25a12802ec70bc7564 Mon Sep 17 00:00:00 2001 From: Andriy Svyryd Date: Fri, 24 Apr 2026 12:46:50 -0700 Subject: [PATCH 4/4] Test Cosmos emulator --- eng/helix.proj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/helix.proj b/eng/helix.proj index 1ca9c3aca28..d6e9e084e41 100644 --- a/eng/helix.proj +++ b/eng/helix.proj @@ -75,7 +75,7 @@ - $(PreCommands); set Test__Cosmos__DefaultConnection=https://localhost:8081; set Test__Cosmos__SkipConnectionCheck=true + $(PreCommands); echo === Starting Cosmos Emulator ===; echo Waiting 120s for emulator startup...; powershell -Command "Start-Sleep -Seconds 120"; set Test__Cosmos__DefaultConnection=https://localhost:8081; set Test__Cosmos__SkipConnectionCheck=true