From b06762807246ef89d0757a01330ab4f5e9bfa529 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Thu, 20 Aug 2026 15:41:13 +0000 Subject: [PATCH 1/3] Update dependencies from build 327888 Updated Dependencies: Microsoft.DotNet.Arcade.Sdk (Version 11.0.0-beta.26411.119 -> 11.0.0-beta.26420.103) System.CommandLine (Version 3.0.0-rc.1.26411.119 -> 3.0.0-rc.1.26420.103) System.IO.Hashing, System.Security.Cryptography.Xml, System.Text.Json (Version 11.0.0-rc.1.26411.119 -> 11.0.0-rc.1.26420.103) [[ commit created by automation ]] --- eng/Version.Details.props | 10 ++++----- eng/Version.Details.xml | 22 +++++++++---------- eng/common/Get-GitHubAppToken.ps1 | 18 +++++++++++---- .../core-templates/job/helix-job-monitor.yml | 13 +++++++++++ .../core-templates/post-build/post-build.yml | 1 + .../core-templates/steps/publish-logs.yml | 22 +++++++++++++------ global.json | 6 ++--- 7 files changed, 62 insertions(+), 30 deletions(-) diff --git a/eng/Version.Details.props b/eng/Version.Details.props index 6186912400..6f534fc36d 100644 --- a/eng/Version.Details.props +++ b/eng/Version.Details.props @@ -6,11 +6,11 @@ This file should be imported by eng/Versions.props - 11.0.0-beta.26411.119 - 3.0.0-rc.1.26411.119 - 11.0.0-rc.1.26411.119 - 11.0.0-rc.1.26411.119 - 11.0.0-rc.1.26411.119 + 11.0.0-beta.26420.103 + 3.0.0-rc.1.26420.103 + 11.0.0-rc.1.26420.103 + 11.0.0-rc.1.26420.103 + 11.0.0-rc.1.26420.103 diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index eacb000902..c236ddbe14 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,28 +1,28 @@ - + - + https://github.com/dotnet/dotnet - 7cdb217445905f3342bbb0266a4497b9a014389a + 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 - + https://github.com/dotnet/dotnet - 7cdb217445905f3342bbb0266a4497b9a014389a + 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 - + https://github.com/dotnet/dotnet - 7cdb217445905f3342bbb0266a4497b9a014389a + 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 - + https://github.com/dotnet/dotnet - 7cdb217445905f3342bbb0266a4497b9a014389a + 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 - + https://github.com/dotnet/dotnet - 7cdb217445905f3342bbb0266a4497b9a014389a + 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 diff --git a/eng/common/Get-GitHubAppToken.ps1 b/eng/common/Get-GitHubAppToken.ps1 index 6b5899d7a2..9c7e3dcd6a 100644 --- a/eng/common/Get-GitHubAppToken.ps1 +++ b/eng/common/Get-GitHubAppToken.ps1 @@ -113,10 +113,13 @@ try { $installations = @() $page = 1 do { - $pageInstallations = @(Invoke-RestMethod ` + # Assign the response before wrapping it in @(). PowerShell otherwise + # preserves a top-level JSON array as one nested pipeline object. + $pageResponse = Invoke-RestMethod ` -Uri "https://api.github.com/app/installations?per_page=100&page=$page" ` -Headers $headers ` - -Method Get) + -Method Get + $pageInstallations = @($pageResponse) $installations += $pageInstallations $page++ } while ($pageInstallations.Count -eq 100) @@ -125,12 +128,19 @@ catch { Write-PipelineTelemetryError -Category 'Build' -Message "Failed to list GitHub App installations: $_. The signed JWT may be invalid or the App's Client ID ('$AppClientId') may be incorrect." exit 1 } -$installation = $installations | Where-Object { $_.account.login -ieq $InstallationOwner } | Select-Object -First 1 -if (-not $installation) { +$matchingInstallations = @($installations | Where-Object { $_.account.login -ieq $InstallationOwner }) +if ($matchingInstallations.Count -eq 0) { $found = ($installations | ForEach-Object { $_.account.login }) -join ', ' Write-PipelineTelemetryError -Category 'Build' -Message "No installation found for '$InstallationOwner'. App is installed on: $found" exit 1 } +if ($matchingInstallations.Count -ne 1) { + $matchingIds = ($matchingInstallations | ForEach-Object { $_.id }) -join ', ' + Write-PipelineTelemetryError -Category 'Build' -Message "Found multiple installations for '$InstallationOwner': $matchingIds" + exit 1 +} +$installation = $matchingInstallations[0] +Write-Host "Using installation $($installation.id) for '$($installation.account.login)'." try { $tokenResponse = Invoke-RestMethod ` diff --git a/eng/common/core-templates/job/helix-job-monitor.yml b/eng/common/core-templates/job/helix-job-monitor.yml index a65b50d0a7..81ecccdd17 100644 --- a/eng/common/core-templates/job/helix-job-monitor.yml +++ b/eng/common/core-templates/job/helix-job-monitor.yml @@ -84,6 +84,15 @@ parameters: type: boolean default: false +# Controls per-test output attachments. Defaults to Failed. +- name: testResultAttachmentMode + type: string + default: Failed + values: + - Failed + - All + - None + # Advanced: optional pipeline artifact (produced earlier in this run) that contains the tool # nupkg. When set, the artifact is downloaded and the tool is installed from the nupkg into # a local tool-path; this bypasses the repo's .config/dotnet-tools.json manifest and is @@ -210,6 +219,7 @@ jobs: organization='${{ parameters.organization }}' repository='${{ parameters.repository }}' + testResultAttachmentMode='${{ parameters.testResultAttachmentMode }}' # Fall back to Azure DevOps-provided environment variables when the caller did not # supply organization / repository explicitly. BUILD_REPOSITORY_NAME is typically @@ -232,6 +242,9 @@ jobs: if [ -n "$organization" ]; then toolArgs+=( --organization "$organization" ); fi if [ -n "$repository" ]; then toolArgs+=( --repository "$repository" ); fi + if [ -n "$testResultAttachmentMode" ]; then + toolArgs+=( --test-result-attachment-mode "$testResultAttachmentMode" ) + fi # Build.Reason and Build.SourceBranch are required to derive the Helix source filter # the same way the Helix SDK submitter does (PR -> 'pr', internal -> 'official', diff --git a/eng/common/core-templates/post-build/post-build.yml b/eng/common/core-templates/post-build/post-build.yml index 9d95135269..6dcee6664d 100644 --- a/eng/common/core-templates/post-build/post-build.yml +++ b/eng/common/core-templates/post-build/post-build.yml @@ -236,6 +236,7 @@ stages: StageLabel: 'Validation' JobLabel: 'Signing' BinlogToolVersion: $(BinlogToolVersion) + enableInternalRuntimes: false # SourceLink validation has been removed — the underlying CLI tool # (targeting netcoreapp2.1) has not functioned for years. diff --git a/eng/common/core-templates/steps/publish-logs.yml b/eng/common/core-templates/steps/publish-logs.yml index 2c1e0ab116..3f0a9b9e6a 100644 --- a/eng/common/core-templates/steps/publish-logs.yml +++ b/eng/common/core-templates/steps/publish-logs.yml @@ -5,6 +5,7 @@ parameters: # A default - in case value from eng/common/core-templates/post-build/common-variables.yml is not passed BinlogToolVersion: '1.0.11' is1ESPipeline: false + enableInternalRuntimes: true steps: - task: Powershell@2 @@ -25,13 +26,20 @@ steps: # Sensitive data can as well be added to $(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt' # If the file exists - sensitive data for redaction will be sourced from it # (single entry per line, lines starting with '# ' are considered comments and skipped) - arguments: -InputPath '$(System.DefaultWorkingDirectory)/PostBuildLogs' - -BinlogToolVersion '${{parameters.BinlogToolVersion}}' - -TokensFilePath '$(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt' - -runtimeSourceFeed https://ci.dot.net/internal - -runtimeSourceFeedKey '$(dotnetbuilds-internal-container-read-token-base64)' - '$(System.AccessToken)' - ${{parameters.CustomSensitiveDataList}} + ${{ if and(parameters.enableInternalRuntimes, ne(variables['System.TeamProject'], 'public')) }}: + arguments: -InputPath '$(System.DefaultWorkingDirectory)/PostBuildLogs' + -BinlogToolVersion '${{parameters.BinlogToolVersion}}' + -TokensFilePath '$(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt' + -runtimeSourceFeed https://ci.dot.net/internal + -runtimeSourceFeedKey '$(dotnetbuilds-internal-container-read-token-base64)' + '$(System.AccessToken)' + ${{parameters.CustomSensitiveDataList}} + ${{ else }}: + arguments: -InputPath '$(System.DefaultWorkingDirectory)/PostBuildLogs' + -BinlogToolVersion '${{parameters.BinlogToolVersion}}' + -TokensFilePath '$(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt' + '$(System.AccessToken)' + ${{parameters.CustomSensitiveDataList}} continueOnError: true condition: always() diff --git a/global.json b/global.json index 2a77c9f230..3008b556e2 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "11.0.100-preview.6.26359.118", + "version": "11.0.100-preview.7.26381.103", "allowPrerelease": true, "rollForward": "latestFeature", "paths": [ @@ -10,10 +10,10 @@ "errorMessage": "The required .NET SDK wasn't found. Please run ./eng/common/dotnet.cmd/sh to install it." }, "tools": { - "dotnet": "11.0.100-preview.6.26359.118" + "dotnet": "11.0.100-preview.7.26381.103" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26411.119", + "Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26420.103", "Microsoft.Build.NoTargets": "3.7.0" } } From f91d9a857bc269cb05925a0071f36bfc4b2d6f62 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Fri, 21 Aug 2026 07:21:27 +0000 Subject: [PATCH 2/3] Update dependencies from build 327992 Updated Dependencies: Microsoft.DotNet.Arcade.Sdk (Version 11.0.0-beta.26420.103 -> 11.0.0-beta.26420.118) System.CommandLine (Version 3.0.0-rc.1.26420.103 -> 3.0.0-rc.1.26420.118) System.IO.Hashing, System.Security.Cryptography.Xml, System.Text.Json (Version 11.0.0-rc.1.26420.103 -> 11.0.0-rc.1.26420.118) [[ commit created by automation ]] --- eng/Version.Details.props | 10 +++++----- eng/Version.Details.xml | 22 +++++++++++----------- global.json | 6 +++--- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/eng/Version.Details.props b/eng/Version.Details.props index 6f534fc36d..4429d01c8b 100644 --- a/eng/Version.Details.props +++ b/eng/Version.Details.props @@ -6,11 +6,11 @@ This file should be imported by eng/Versions.props - 11.0.0-beta.26420.103 - 3.0.0-rc.1.26420.103 - 11.0.0-rc.1.26420.103 - 11.0.0-rc.1.26420.103 - 11.0.0-rc.1.26420.103 + 11.0.0-beta.26420.118 + 3.0.0-rc.1.26420.118 + 11.0.0-rc.1.26420.118 + 11.0.0-rc.1.26420.118 + 11.0.0-rc.1.26420.118 diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index c236ddbe14..3f4afa2cc3 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,28 +1,28 @@ - + - + https://github.com/dotnet/dotnet - 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 + 22586bf37ce87b3e0207e4297461fcce75bffc22 - + https://github.com/dotnet/dotnet - 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 + 22586bf37ce87b3e0207e4297461fcce75bffc22 - + https://github.com/dotnet/dotnet - 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 + 22586bf37ce87b3e0207e4297461fcce75bffc22 - + https://github.com/dotnet/dotnet - 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 + 22586bf37ce87b3e0207e4297461fcce75bffc22 - + https://github.com/dotnet/dotnet - 1d599674e31ad86ca9e6e1dad7055b531e4d58e4 + 22586bf37ce87b3e0207e4297461fcce75bffc22 diff --git a/global.json b/global.json index 3008b556e2..69f15558a5 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "11.0.100-preview.7.26381.103", + "version": "11.0.100-rc.1.26420.103", "allowPrerelease": true, "rollForward": "latestFeature", "paths": [ @@ -10,10 +10,10 @@ "errorMessage": "The required .NET SDK wasn't found. Please run ./eng/common/dotnet.cmd/sh to install it." }, "tools": { - "dotnet": "11.0.100-preview.7.26381.103" + "dotnet": "11.0.100-rc.1.26420.103" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26420.103", + "Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26420.118", "Microsoft.Build.NoTargets": "3.7.0" } } From 23c2af6e1faefb5608fd592c6579d851489c1c87 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Fri, 21 Aug 2026 18:19:55 +0000 Subject: [PATCH 3/3] Update dependencies from build 328075 Updated Dependencies: Microsoft.DotNet.Arcade.Sdk (Version 11.0.0-beta.26420.118 -> 11.0.0-beta.26421.101) System.CommandLine (Version 3.0.0-rc.1.26420.118 -> 3.0.0-rc.1.26421.101) System.IO.Hashing, System.Security.Cryptography.Xml, System.Text.Json (Version 11.0.0-rc.1.26420.118 -> 11.0.0-rc.1.26421.101) [[ commit created by automation ]] --- eng/Version.Details.props | 10 +++++----- eng/Version.Details.xml | 22 +++++++++++----------- global.json | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/eng/Version.Details.props b/eng/Version.Details.props index 4429d01c8b..ec6531b6d3 100644 --- a/eng/Version.Details.props +++ b/eng/Version.Details.props @@ -6,11 +6,11 @@ This file should be imported by eng/Versions.props - 11.0.0-beta.26420.118 - 3.0.0-rc.1.26420.118 - 11.0.0-rc.1.26420.118 - 11.0.0-rc.1.26420.118 - 11.0.0-rc.1.26420.118 + 11.0.0-beta.26421.101 + 3.0.0-rc.1.26421.101 + 11.0.0-rc.1.26421.101 + 11.0.0-rc.1.26421.101 + 11.0.0-rc.1.26421.101 diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 3f4afa2cc3..ba8126dbb2 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,28 +1,28 @@ - + - + https://github.com/dotnet/dotnet - 22586bf37ce87b3e0207e4297461fcce75bffc22 + 7cba5e99f9bb2a43fd0bd0dad345b3a21583eb7b - + https://github.com/dotnet/dotnet - 22586bf37ce87b3e0207e4297461fcce75bffc22 + 7cba5e99f9bb2a43fd0bd0dad345b3a21583eb7b - + https://github.com/dotnet/dotnet - 22586bf37ce87b3e0207e4297461fcce75bffc22 + 7cba5e99f9bb2a43fd0bd0dad345b3a21583eb7b - + https://github.com/dotnet/dotnet - 22586bf37ce87b3e0207e4297461fcce75bffc22 + 7cba5e99f9bb2a43fd0bd0dad345b3a21583eb7b - + https://github.com/dotnet/dotnet - 22586bf37ce87b3e0207e4297461fcce75bffc22 + 7cba5e99f9bb2a43fd0bd0dad345b3a21583eb7b diff --git a/global.json b/global.json index 69f15558a5..a92334fdcc 100644 --- a/global.json +++ b/global.json @@ -13,7 +13,7 @@ "dotnet": "11.0.100-rc.1.26420.103" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26420.118", + "Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26421.101", "Microsoft.Build.NoTargets": "3.7.0" } }