Skip to content

Increase PR url download retry - #311

Open
bkhouri wants to merge 1 commit into
swiftlang:mainfrom
bkhouri:t/main/increate_downloaddata_url
Open

Increase PR url download retry#311
bkhouri wants to merge 1 commit into
swiftlang:mainfrom
bkhouri:t/main/increate_downloaddata_url

Conversation

@bkhouri

@bkhouri bkhouri commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

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
bkhouri requested a review from a team as a code owner August 21, 2026 02:40
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
bkhouri force-pushed the t/main/increate_downloaddata_url branch from e9ca732 to 32d62e9 Compare August 21, 2026 03:48
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.

2 participants