Fix transient curl connection-reset failures in setup install scripts - #53154
Merged
Conversation
…ent network failures Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failed jobs in Daily SPDD Spec Planner workflow
Fix transient curl connection-reset failures in setup install scripts
Aug 16, 2026
pelikhan
marked this pull request as ready for review
August 16, 2026 16:44
Contributor
There was a problem hiding this comment.
Pull request overview
Adds broader curl retry handling to prevent transient connection-reset failures during setup downloads.
Changes:
- Adds
--retry-all-errorsto AWF and threat-detection downloads. - Applies the established retry behavior to the Copilot compatibility matrix.
Show a summary per file
| File | Description |
|---|---|
actions/setup/sh/install_awf_binary.sh |
Hardens AWF asset downloads. |
actions/setup/sh/install_threat_detect_binary.sh |
Hardens checksum and binary downloads. |
actions/setup/sh/install_copilot_cli.sh |
Hardens compatibility-matrix retrieval. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Balanced
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
The
evalsjob in the Daily SPDD Spec Planner workflow failed during "Install AWF binary" withcurl: (35) Recv failure: Connection reset by peerwhile downloadingchecksums.txt, even though the script already passed--retry 5 --retry-delay 10 --retry-max-time 180to curl.curl's default
--retrylogic only retries a narrow set of "transient" error conditions (timeouts, specific HTTP status codes) and does not cover connection resets or SSL connect errors, so this blip caused a hard failure instead of a retry.Changes
actions/setup/sh/install_awf_binary.sh: add--retry-all-errorsto the checksums, bundle, Linux binary, and Darwin binary curl downloadsactions/setup/sh/install_threat_detect_binary.sh: add--retry-all-errorsto the checksums and binary curl downloadsactions/setup/sh/install_copilot_cli.sh: add--retry-all-errorsto the compat matrix download — the tarball/checksum downloads in this file already carried this flag, confirming it as the established pattern in this codebaseNo workflow markdown (
.md) files were touched, so no.lock.ymlrecompilation is required.