From 13267beb85153ec108e70063ce9d082de22f9f23 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 26 Apr 2026 01:10:50 +0000 Subject: [PATCH 1/2] Initial plan From 69df69d8df9bbca792240d1938f895d0a7f25593 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 26 Apr 2026 01:27:59 +0000 Subject: [PATCH 2/2] fix: increase AWF binary download retry resilience (#smoke-ci-failure) The Smoke CI run #1814 failed because install_awf_binary.sh curl calls used --retry 5 --retry-delay 10 (only ~50s retry window), which was insufficient for the transient 502 outage on GitHub releases. Increase all four curl calls to --retry 10 --retry-delay 30 --retry-max-time 360, providing ~6 minutes of retry resilience. Agent-Logs-Url: https://github.com/github/gh-aw/sessions/d349217f-0204-4321-b5a2-daab402e84cb Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- actions/setup/sh/install_awf_binary.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/actions/setup/sh/install_awf_binary.sh b/actions/setup/sh/install_awf_binary.sh index f534a06255c..0f928c61370 100755 --- a/actions/setup/sh/install_awf_binary.sh +++ b/actions/setup/sh/install_awf_binary.sh @@ -68,7 +68,7 @@ trap 'rm -rf "$TEMP_DIR"' EXIT # Download checksums echo "Downloading checksums from ${CHECKSUMS_URL@Q}..." -curl -fsSL --retry 5 --retry-delay 10 --retry-max-time 180 -o "${TEMP_DIR}/checksums.txt" "${CHECKSUMS_URL}" +curl -fsSL --retry 10 --retry-delay 30 --retry-max-time 360 -o "${TEMP_DIR}/checksums.txt" "${CHECKSUMS_URL}" verify_checksum() { local file="$1" @@ -120,7 +120,7 @@ install_bundle() { echo "Node.js >= 20 detected ($(node --version)), using lightweight bundle..." echo "Downloading bundle from ${bundle_url@Q}..." - if ! curl -fsSL --retry 5 --retry-delay 10 --retry-max-time 180 -o "${TEMP_DIR}/${bundle_name}" "${bundle_url}"; then + if ! curl -fsSL --retry 10 --retry-delay 30 --retry-max-time 360 -o "${TEMP_DIR}/${bundle_name}" "${bundle_url}"; then echo "⚠ Bundle download failed (asset may not exist for this version)" return 1 fi @@ -159,7 +159,7 @@ install_linux_binary() { local binary_url="${BASE_URL}/${awf_binary}" echo "Downloading binary from ${binary_url@Q}..." - curl -fsSL --retry 5 --retry-delay 10 --retry-max-time 180 -o "${TEMP_DIR}/${awf_binary}" "${binary_url}" + curl -fsSL --retry 10 --retry-delay 30 --retry-max-time 360 -o "${TEMP_DIR}/${awf_binary}" "${binary_url}" # Verify checksum verify_checksum "${TEMP_DIR}/${awf_binary}" "${awf_binary}" @@ -184,7 +184,7 @@ install_darwin_binary() { local binary_url="${BASE_URL}/${awf_binary}" echo "Downloading binary from ${binary_url@Q}..." - curl -fsSL --retry 5 --retry-delay 10 --retry-max-time 180 -o "${TEMP_DIR}/${awf_binary}" "${binary_url}" + curl -fsSL --retry 10 --retry-delay 30 --retry-max-time 360 -o "${TEMP_DIR}/${awf_binary}" "${binary_url}" # Verify checksum verify_checksum "${TEMP_DIR}/${awf_binary}" "${awf_binary}"