Skip to content

Make dotnet-watch tests conditional in PR validation - #55798

Draft
nagilson with Copilot wants to merge 4 commits into
mainfrom
copilot/make-dotnet-watch-test-conditional
Draft

Make dotnet-watch tests conditional in PR validation#55798
nagilson with Copilot wants to merge 4 commits into
mainfrom
copilot/make-dotnet-watch-test-conditional

Conversation

Copilot AI commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Dotnet-watch tests currently run on every PR, consuming Helix capacity even for unrelated changes. This change applies existing conditional test filtering while retaining full coverage on non-PR builds.

Changes

  • Define the DotnetWatch scope

    • Covers all six watch-owned test projects.
    • Activates for CLI, watch, ProjectTools, Razor, Static Web Assets, WASM, and related test-asset changes.
    • Uses RunAlways=CI to preserve full main and release validation.
  • Keep test selection centralized

    • Removes the redundant dotnet-watch mapping from the targeted-test fallback table.
    • Leaves test/ConditionalTests.props as the source of truth for PR filtering and targeted local validation.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
3 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI and others added 3 commits August 16, 2026 01:39
Co-authored-by: nagilson <23152278+nagilson@users.noreply.github.com>
Co-authored-by: nagilson <23152278+nagilson@users.noreply.github.com>
Co-authored-by: nagilson <23152278+nagilson@users.noreply.github.com>
Copilot AI changed the title [WIP] Make dotnet-watch test execution conditional in PR validation Make dotnet-watch tests conditional in PR validation Aug 16, 2026
Copilot AI requested a review from nagilson August 16, 2026 01:46
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.

Make dotnet-watch test execution conditional in PR validation

2 participants