Skip to content

PR validation Windows leg takes ~50 minutes #699

Open

Description

@MichaelSimons

PR validation builds are slow, particularly the Windows leg which takes ~50 minutes compared to ~20 minutes for Linux and Mac. Example: build 1400224. The Windows pipeline timeout is already configured at 90 minutes.

Observations:

  • All tests run sequentially — no parallelism configured (no xunit.runner.json, single dotnet test per platform)
  • Each test downloads a full SDK or runtime — 14 Theory methods × 15 channels/10 branches = 100+ individual download-and-verify cycles
  • Same channel matrix tested across multiple runtime types — SDK, dotnet, aspnetcore, windowsdesktop all download independently
  • PowerShell startup overhead — each test spawns a new powershell.exe process; adds up over 100+ invocations
  • Windows runs additional tests — windowsdesktop + tar support tests only execute on Windows

Areas to consider:

  • Test parallelism (in-process or pipeline-level)
  • Whether every channel × runtime combination is needed
  • PowerShell host choice (pwsh vs powershell.exe)
  • Separation of fast vs slow tests
  • Pipeline structure across multiple agents

Activity

  1. added
    area-infrainstall-scripts infrastructure and reporting
    and removed
    untriagedIssue is awaiting triage
    on Apr 28, 2026
  2. moved this from Backlog to In Progress in .NET Install Scriptson Apr 28, 2026
  3. removed their assignment
    on Jul 8, 2026
  4. moved this from In Progress to Backlog in .NET Install Scriptson Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-infrainstall-scripts infrastructure and reporting

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions