Skip to content

Increase default timeout to 75 minutes for windows_arm64 build#129553

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/update-windows-arm64-timeout
Open

Increase default timeout to 75 minutes for windows_arm64 build#129553
Copilot wants to merge 2 commits into
mainfrom
copilot/update-windows-arm64-timeout

Conversation

Copilot AI commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

windows_arm64 agents are slower than other platforms, causing stress/diagnostic pipeline jobs (jitstress, gcstress, superpmi, pgo, ilasm, etc.) to hit the default 60-minute ADO job timeout and Build fails.

All windows_arm64 jobs fan out through a single block in eng/pipelines/common/platform-matrix.yml, so one targeted change covers all affected pipelines.

Change

In the windows_arm64 block of platform-matrix.yml, inject timeoutInMinutes: 75 as a default — but only when the caller hasn't already supplied its own value:

jobParameters:
  runtimeFlavor: ${{ parameters.runtimeFlavor }}
  buildConfig: ${{ parameters.buildConfig }}
  helixQueueGroup: ${{ parameters.helixQueueGroup }}
  # windows_arm64 agents are slower; give a larger default timeout,
  # but only when the calling pipeline hasn't specified its own.
  ${{ if eq(parameters.jobParameters.timeoutInMinutes, '') }}:
    timeoutInMinutes: 75
  ${{ insert }}: ${{ parameters.jobParameters }}

The guard eq(parameters.jobParameters.timeoutInMinutes, '') is used instead of containsValue (which inspects values, not keys). When a caller like libraries-jitstress*.yml already passes timeoutInMinutes: 360, the guard is false and the default is suppressed — no duplicate-key error, and the existing 360 is preserved via ${{ insert }}.

All other platform blocks (windows_x64, windows_x86, linux_, osx_) are untouched.

Copilot AI requested review from Copilot and removed request for Copilot June 18, 2026 00:50
….yml

Co-authored-by: JulieLeeMSFT <63486087+JulieLeeMSFT@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot June 18, 2026 00:55
Copilot AI changed the title [WIP] Increase job timeout for windows_arm64 pipelines platform-matrix: add default timeoutInMinutes: 75 for windows_arm64 Jun 18, 2026
Copilot AI requested a review from JulieLeeMSFT June 18, 2026 00:55
@JulieLeeMSFT JulieLeeMSFT added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs labels Jun 18, 2026
@JulieLeeMSFT JulieLeeMSFT added this to the 11.0.0 milestone Jun 18, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@JulieLeeMSFT

Copy link
Copy Markdown
Member

windows arm64 builds for ~10 pipelines have been timing out since end of May. Probably the build time increase from < 50min to > 50 min started when we started to build wasm. Increasing the timeout to 75min.
@dotnet/jit-contrib, PTAL.

@JulieLeeMSFT JulieLeeMSFT added the Priority:1 Work that is critical for the release, but we could probably ship without label Jun 18, 2026
@JulieLeeMSFT JulieLeeMSFT marked this pull request as ready for review June 18, 2026 01:02
Copilot AI review requested due to automatic review settings June 18, 2026 01:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 attempts to raise the default Azure Pipelines job timeout for the windows_arm64 platform fan-out in eng/pipelines/common/platform-matrix.yml (to reduce windows_arm64 job timeouts across multiple pipelines).

Changes:

  • Adds a conditional default timeoutInMinutes: 75 injection in the windows_arm64 jobParameters block when the caller has not supplied a timeout.

Comment on lines +952 to 956
# windows_arm64 agents are slower; give a larger default timeout,
# but only when the calling pipeline hasn't specified its own.
${{ if eq(parameters.jobParameters.timeoutInMinutes, '') }}:
timeoutInMinutes: 75
${{ insert }}: ${{ parameters.jobParameters }}
@JulieLeeMSFT JulieLeeMSFT changed the title platform-matrix: add default timeoutInMinutes: 75 for windows_arm64 Increase default timeout to 75 minutes for windows_arm64 build Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs Priority:1 Work that is critical for the release, but we could probably ship without

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants