Increase PR url download retry - #311
Open
bkhouri wants to merge 1 commit into
Open
Conversation
GitHub actions would sometimes fails with the following ``` Failed to load PR info from https://api.github.com/repos/swiftlang/swift-build/pulls/1657 (attempt 1 of 5): DecodingError.keyNotFound: Key 'base' not found in keyed decoding container. Debug description: No value associated with key CodingKeys(stringValue: "base", intValue: nil) ("base").. Retrying in 1s... Failed to load PR info from https://api.github.com/repos/swiftlang/swift-build/pulls/1657 (attempt 2 of 5): DecodingError.keyNotFound: Key 'base' not found in keyed decoding container. Debug description: No value associated with key CodingKeys(stringValue: "base", intValue: nil) ("base").. Retrying in 2s... Failed to load PR info from https://api.github.com/repos/swiftlang/swift-build/pulls/1657 (attempt 3 of 5): DecodingError.keyNotFound: Key 'base' not found in keyed decoding container. Debug description: No value associated with key CodingKeys(stringValue: "base", intValue: nil) ("base").. Retrying in 4s... Failed to load PR info from https://api.github.com/repos/swiftlang/swift-build/pulls/1657 (attempt 4 of 5): DecodingError.keyNotFound: Key 'base' not found in keyed decoding container. Debug description: No value associated with key CodingKeys(stringValue: "base", intValue: nil) ("base").. Retrying in 8s... Failed to load PR info from https://api.github.com/repos/swiftlang/swift-build/pulls/1657 after 5 attempts: DecodingError.keyNotFound: Key 'base' not found in keyed decoding container. Debug description: No value associated with key CodingKeys(stringValue: "base", intValue: nil) ("base"). ``` Although there was a retry mechanism, it was not sufficient in some cases. Update the retry time from [1, 2, 4, 8] seconds across the 4 retries (total ~15s). to [5, 10, 20, 40] seconds across the 4 retries (total ~75s)
bkhouri
force-pushed
the
t/main/increate_downloaddata_url
branch
from
August 21, 2026 03:48
e9ca732 to
32d62e9
Compare
shahmishal
approved these changes
Aug 21, 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.
GitHub actions would sometimes fails with the following
Although there was a retry mechanism, it was not sufficient in some cases. Update the retry time from [1, 2, 4, 8] seconds across the 4 retries (total ~15s). to [5, 10, 20, 40] seconds across the 4 retries (total ~75s)