Skip to content

[WIP] Trying to filter what tests run based on PR contents#65565

Draft
BrennanConroy wants to merge 11 commits intomainfrom
brecon/selectivetesting
Draft

[WIP] Trying to filter what tests run based on PR contents#65565
BrennanConroy wants to merge 11 commits intomainfrom
brecon/selectivetesting

Conversation

@BrennanConroy
Copy link
Member

No description provided.

@github-actions github-actions bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Feb 28, 2026
@dotnet-policy-service
Copy link
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

@BrennanConroy BrennanConroy force-pushed the brecon/selectivetesting branch from 794eac3 to 7c5296c Compare February 28, 2026 03:56
BrennanConroy and others added 8 commits February 27, 2026 21:32
The build step generates files in the source tree, causing subsequent git
diff to detect additional changed areas. This leads to the helix step
including test projects (Framework, JSInterop) that weren't restored by
the build step, causing NETSDK1004 errors.

Fix: Write the computed areas to artifacts/tmp/AffectedTestAreas.txt on
first computation, then subsequent build steps reuse the cached result.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
build.cmd uses 'PowerShell' (WinPS 5.1), where Join-Path only accepts
2 positional parameters. Three-argument Join-Path requires PS 6+.

Nested Join-Path calls work in both PS 5.1 and 7+. Verified locally
under PowerShell 5.1 with StrictMode and ErrorActionPreference Stop.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant