From fa8b3ed472d8a339d9ab822323dfc116c990952f Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Fri, 24 Jul 2026 17:02:43 -0600 Subject: [PATCH 1/4] Avoid duplicate test dump artifacts Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- tools/artifacts/testResults.ps1 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tools/artifacts/testResults.ps1 b/tools/artifacts/testResults.ps1 index a841967e8..b988010f4 100644 --- a/tools/artifacts/testResults.ps1 +++ b/tools/artifacts/testResults.ps1 @@ -6,12 +6,19 @@ $result = @{} $RepoRoot = Resolve-Path "$PSScriptRoot\..\.." $testRoot = Join-Path $RepoRoot test -$result[$testRoot] = (Get-ChildItem "$testRoot\TestResults" -Recurse -Directory | Get-ChildItem -Recurse -File) +$legacyTestResults = Join-Path $testRoot TestResults +if (Test-Path $legacyTestResults) { + $result[$testRoot] = Get-ChildItem $legacyTestResults -Recurse -Directory | + Get-ChildItem -Recurse -File | + Where-Object { $_.Extension -ne '.dmp' -or $_.FullName -match '\\In\\' } +} $artifactStaging = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1" $testlogsPath = Join-Path $artifactStaging "test_logs" if (Test-Path $testlogsPath) { - $result[$testlogsPath] = Get-ChildItem $testlogsPath -Recurse; + # Hang and crash dumps are copied into the TRX attachment directory. + $result[$testlogsPath] = Get-ChildItem $testlogsPath -Recurse | + Where-Object { $_.Extension -ne '.dmp' -or $_.FullName -match '\\In\\' } } $result From 6dc5571c909006fe3be4e22341630249dd4856e0 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Sun, 26 Jul 2026 18:34:21 -0600 Subject: [PATCH 2/4] Apply `-NoNuGetCredProvider` consistently This will avoid github API rate throttling for OSS repos that use nuget.org as their package feed. --- .github/workflows/build.yml | 2 +- .github/workflows/docs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3caef3765..3e7e2f0ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: fetch-depth: 0 # avoid shallow clone so nbgv can do its work. - name: ⚙ Install prerequisites run: | - ./init.ps1 -UpgradePrerequisites + ./init.ps1 -UpgradePrerequisites -NoNuGetCredProvider dotnet --info # Print mono version if it is present. diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c5a2fef4c..c462a0898 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,7 +28,7 @@ jobs: with: fetch-depth: 0 # avoid shallow clone so nbgv can do its work. - name: ⚙ Install prerequisites - run: ./init.ps1 -UpgradePrerequisites + run: ./init.ps1 -UpgradePrerequisites -NoNuGetCredProvider - run: dotnet docfx docfx/docfx.json name: 📚 Generate documentation From 77c904f800010dfd5fb0e5600784116a365cccb5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 11:30:45 -0600 Subject: [PATCH 3/4] Update Microsoft Testing Platform to 2.3.3 (545) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 6280399de..d026d2e89 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ true true - 2.3.2 + 2.3.3 From abe5a3b63cdc254023208161484f94f4edb723f3 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Wed, 29 Jul 2026 10:56:17 -0700 Subject: [PATCH 4/4] Fix non-Windows path matching --- tools/artifacts/testResults.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/artifacts/testResults.ps1 b/tools/artifacts/testResults.ps1 index b988010f4..1817ca09f 100644 --- a/tools/artifacts/testResults.ps1 +++ b/tools/artifacts/testResults.ps1 @@ -10,7 +10,7 @@ $legacyTestResults = Join-Path $testRoot TestResults if (Test-Path $legacyTestResults) { $result[$testRoot] = Get-ChildItem $legacyTestResults -Recurse -Directory | Get-ChildItem -Recurse -File | - Where-Object { $_.Extension -ne '.dmp' -or $_.FullName -match '\\In\\' } + Where-Object { $_.Extension -ne '.dmp' -or $_.FullName -match '[/\\]In[/\\]' } } $artifactStaging = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1" @@ -18,7 +18,7 @@ $testlogsPath = Join-Path $artifactStaging "test_logs" if (Test-Path $testlogsPath) { # Hang and crash dumps are copied into the TRX attachment directory. $result[$testlogsPath] = Get-ChildItem $testlogsPath -Recurse | - Where-Object { $_.Extension -ne '.dmp' -or $_.FullName -match '\\In\\' } + Where-Object { $_.Extension -ne '.dmp' -or $_.FullName -match '[/\\]In[/\\]' } } $result