Skip to content

[release/10.0] Backport #125488: Add curl retry flags to wasi-sdk Linux download#125529

Open
Copilot wants to merge 1 commit intorelease/10.0from
copilot/backport-125488-to-release-10-0
Open

[release/10.0] Backport #125488: Add curl retry flags to wasi-sdk Linux download#125529
Copilot wants to merge 1 commit intorelease/10.0from
copilot/backport-125488-to-release-10-0

Conversation

Copy link
Contributor

Copilot AI commented Mar 13, 2026

Fixes transient wasi-sdk download failures on Linux.

main PR: #125488

Description

Backport of #125488 to release/10.0.

On release/10.0, the wasi-sdk curl download lives in src/mono/mono.proj (not eng/AcquireWasiSdk.targets as on main). This PR adds --silent --show-error --fail --retry 3 --retry-delay 5 flags to the Linux curl invocation to prevent transient GitHub download failures (rate limits, network blips, truncated responses) from failing the entire build.

Customer Impact

Build failures due to transient wasi-sdk download issues on Linux (e.g., rate limits, network blips). The next scheduled build typically succeeds without code changes, confirming the issue is transient.

Regression

No — this is an infrastructure improvement, not a regression fix.

Testing

Build-only change to MSBuild <Exec> command. The added curl flags are standard and well-tested. The same flags were already validated on main via PR #125488.

Risk

Very low. Only adds retry/error-reporting flags to a curl download command. No functional code changes.

@akoeplinger akoeplinger changed the base branch from main to release/10.0 March 13, 2026 17:37
Copilot AI requested a review from akoeplinger March 13, 2026 17:37
@dotnet-policy-service dotnet-policy-service bot added the linkable-framework Issues associated with delivering a linker friendly framework label Mar 13, 2026
@akoeplinger akoeplinger marked this pull request as ready for review March 13, 2026 17:37
Copilot AI review requested due to automatic review settings March 13, 2026 17:38
@akoeplinger akoeplinger removed the linkable-framework Issues associated with delivering a linker friendly framework label Mar 13, 2026
@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.

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

Backports the main-branch change to make the Linux wasi-sdk download more resilient by adding curl retry and error-reporting flags, reducing transient build failures.

Changes:

  • Add --silent --show-error --fail --retry 3 --retry-delay 5 to the Linux curl invocation that downloads wasi-sdk.

You can also share your feedback on Copilot code review. Take the survey.

@akoeplinger akoeplinger force-pushed the copilot/backport-125488-to-release-10-0 branch from b1e2e4b to 247ae44 Compare March 13, 2026 17:42
@akoeplinger akoeplinger reopened this Mar 13, 2026
@akoeplinger akoeplinger added the Servicing-approved Approved for servicing release label Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Infrastructure Servicing-approved Approved for servicing release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants