Skip to content

Conversation

@justice-adams-apple
Copy link
Contributor

@justice-adams-apple justice-adams-apple commented Dec 3, 2025

Target the most frequently failing network facing functions in our CI and implement retry mechanisms to prevent spurious failing GH actions across the swiftlang PR's

Before VS download fixes Show to work with 5 consistent PR passes, each with a retry being successfully executed which can be seen below:

Then ran 8 times in a row with latest commit, all passed. This should be ready to land

@justice-adams-apple justice-adams-apple requested a review from a team as a code owner December 3, 2025 19:03
@justice-adams-apple justice-adams-apple changed the title [WIP] write a custom curl retry method [WIP] Implement retry mechanisms for network download functionality Dec 4, 2025
Write-Host "Downloading $Url ... "

try {
Invoke-WebRequestWithRetry -Uri $Url -OutFile installer.exe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also use this in .github/workflows/scripts/windows/install-vsb.ps1 to download the visual studio build tools

@justice-adams-apple justice-adams-apple changed the title [WIP] Implement retry mechanisms for network download functionality Implement retry mechanisms for network download functionality Dec 4, 2025
@shahmishal shahmishal merged commit 7e706d0 into main Dec 5, 2025
872 checks passed
@shahmishal shahmishal deleted the jadams/retry-curl branch December 5, 2025 00:02
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.

4 participants