Skip to content

Re-enable running of Helix tests#16536

Merged
ViktorHofer merged 5 commits intodotnet:mainfrom
MichaelSimons:HelixTests
Feb 21, 2026
Merged

Re-enable running of Helix tests#16536
ViktorHofer merged 5 commits intodotnet:mainfrom
MichaelSimons:HelixTests

Conversation

@MichaelSimons
Copy link
Member

@MichaelSimons MichaelSimons commented Feb 19, 2026

Fixes #16535

Remove Sdk="Microsoft.Build.NoTargets" from [UnitTests.proj]https://github.com/dotnet/arcade/blob/main/tests/UnitTests.proj). The Helix SDK already provides its own build infrastructure through its [NoBuild.targets]https://github.com/dotnet/arcade/blob/main/src/Microsoft.DotNet.Helix/Sdk/tools/NoBuild.targets). Including the NoTargets SDK is redundant and creates conflicts in import ordering.

This change aligns the project with the structure used by the XHarness test projects (which function correctly): a plain with explicit Helix SDK imports.

Fix the broken signing tests. Symbolic links are not supported by the signing infrastructure on Windows because creating or manipulating them requires elevated permissions. We don't want to promote/support symbolic links on Windows because of this.

Previously, the tests covering symbolic link scenarios (intended for Linux) were running on all platforms. These scenarios have been split into platform-specific tests. Additionally, the signing code has been updated to explicitly fail when encountering symbolic links on Windows.

The signing tests did surface a product issue with symbolic links in tarballs that was addressed.

@ViktorHofer
Copy link
Member

Uh are you saying that I broke running tests in Arcade a while ago?

@MichaelSimons
Copy link
Member Author

Uh are you saying that I broke running tests in Arcade a while ago?

Unfortunately yes, but nothing/nobody caught it. I discovered this with #16530. I noticed no test results and very quick PR validation times.

@ViktorHofer
Copy link
Member

ViktorHofer commented Feb 19, 2026

Damn, thanks for fixing

ViktorHofer
ViktorHofer previously approved these changes Feb 19, 2026
akoeplinger
akoeplinger previously approved these changes Feb 20, 2026
@akoeplinger
Copy link
Member

I noticed no test results and very quick PR validation times.

ahh so that's the secret to having green builds 😆

ViktorHofer
ViktorHofer previously approved these changes Feb 20, 2026
ellahathaway
ellahathaway previously approved these changes Feb 20, 2026
@MichaelSimons
Copy link
Member Author

Tests are passing now!

@ViktorHofer ViktorHofer merged commit c5560fb into dotnet:main Feb 21, 2026
9 checks passed
akoeplinger added a commit that referenced this pull request Feb 22, 2026
<ItemGroup Condition=" '$(HelixAccessToken)' != '' ">
<HelixTargetQueue Include="(AlmaLinux.9.Amd64)Ubuntu.2204.Amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:almalinux-9-helix-amd64"/>
<HelixTargetQueue Include="Windows.10.Amd64"/>
<HelixTargetQueue Include="Windows.11.Amd64"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one doesn't exist, it should be Windows.11.Amd64.Client: #16539

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing.

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.

Tests are not running in PR validation

4 participants