[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
Open
[release/10.0] Backport #125488: Add curl retry flags to wasi-sdk Linux download#125529Copilot wants to merge 1 commit intorelease/10.0from
Copilot wants to merge 1 commit intorelease/10.0from
Conversation
Copilot created this pull request from a session on behalf of
akoeplinger
March 13, 2026 17:37
View session
akoeplinger
approved these changes
Mar 13, 2026
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
Contributor
There was a problem hiding this comment.
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 5to the Linuxcurlinvocation that downloads wasi-sdk.
You can also share your feedback on Copilot code review. Take the survey.
b1e2e4b to
247ae44
Compare
akoeplinger
approved these changes
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 insrc/mono/mono.proj(noteng/AcquireWasiSdk.targetsas onmain). This PR adds--silent --show-error --fail --retry 3 --retry-delay 5flags to the Linuxcurlinvocation 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 onmainvia PR #125488.Risk
Very low. Only adds retry/error-reporting flags to a
curldownload command. No functional code changes.