Skip to content

Pass remaining arguments to arcade build.ps1 in test step#5801

Closed
max-charlamb wants to merge 1 commit intomainfrom
fix/pass-remainingargs-to-test
Closed

Pass remaining arguments to arcade build.ps1 in test step#5801
max-charlamb wants to merge 1 commit intomainfrom
fix/pass-remainingargs-to-test

Conversation

@max-charlamb
Copy link
Copy Markdown
Member

Summary

Pass $remainingargs through to arcade's build.ps1 in the test step of eng/build.ps1.

Currently remaining arguments (like -projects) are forwarded for the managed build step (line 73) but not for the test step. This prevents callers from passing arcade parameters like -projects to scope which test projects are run.

Change

Add $remainingargs to the test invocation of arcade's build.ps1.

This enables the runtime-diagnostics pipeline in dotnet/runtime to pass -projects to run only specific test projects (e.g. SOS.UnitTests.csproj), avoiding unrelated flaky test failures from EventPipe.UnitTests.

Note

This PR was generated with the assistance of GitHub Copilot.

The test invocation of arcade's build.ps1 was not forwarding
remaining arguments, preventing callers from passing -projects
or other arcade parameters for test runs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 13, 2026 23:32
max-charlamb pushed a commit to max-charlamb/runtime that referenced this pull request Apr 13, 2026
The runtime-diagnostics pipeline runs all diagnostics tests including
EventPipe monitoring tests which are flaky and unrelated to the
DAC/cDAC validation this pipeline exists for. Filter the cDAC and
DAC test legs to only run SOS.UnitTests by passing -projects to
the diagnostics build script.

Depends on dotnet/diagnostics#5801 which forwards remaining arguments
to arcade's build.ps1 in the test step.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@max-charlamb
Copy link
Copy Markdown
Member Author

The corresponding runtime pipeline change that depends on this PR: dotnet/runtime#126855

@max-charlamb max-charlamb review requested due to automatic review settings April 13, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant