Skip to content

Conversation

@kotlarmilos
Copy link
Member

Description

This PR updates the XHarness command to use the DOTNET_CI environment variable for the SkipOnCI attribute instead of HELIX_WORKITEM_ROOT. The HELIX_WORKITEM_ROOT path is only valid on the host machine. The attribute currently checks both variables to detect if the test is running in CI, but we consider DOTNET_CI to be the more appropriate and reliable.

Copilot AI review requested due to automatic review settings October 14, 2025 14:56
@kotlarmilos kotlarmilos self-assigned this Oct 14, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the XHarness command configuration to use the DOTNET_CI environment variable instead of HELIX_WORKITEM_ROOT for detecting CI environments. This change aligns with the SkipOnCI attribute's preferred method for CI detection and ensures better reliability since HELIX_WORKITEM_ROOT is only valid on the host machine.

Key Changes

  • Replaces HELIX_WORKITEM_ROOT environment variable with DOTNET_CI=true in the XHarness command
  • Simplifies CI detection by using the more appropriate DOTNET_CI variable

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@kotlarmilos kotlarmilos merged commit 18ece9e into dotnet:main Oct 15, 2025
158 of 162 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants