Skip to content

Conversation

jjonescz
Copy link
Member

Should help with diagnosing failures like #50073 (comment) in the future (cc @sbomer)

@jjonescz jjonescz added the Area-run-file Items related to the "dotnet run <file>" effort label Aug 11, 2025
@jjonescz jjonescz marked this pull request as ready for review August 11, 2025 15:05
@jjonescz jjonescz requested review from Copilot and a team August 11, 2025 15:05
Copy link
Contributor

@Copilot 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 improves diagnostic messaging in run-file tests to help with future failure analysis. The changes focus on making test failure messages more informative and actionable.

  • Replace string comparison for CI environment variable with a more robust boolean helper method
  • Enhance log message to provide clearer guidance on how to resolve test failures

@jjonescz jjonescz merged commit 7e54c25 into dotnet:main Aug 13, 2025
27 checks passed
@jjonescz jjonescz deleted the sprint-assert branch August 13, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-run-file Items related to the "dotnet run <file>" effort
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants