From f5d53639a971c2d8e113d49b0bf8cc03fc1940d1 Mon Sep 17 00:00:00 2001 From: Devin Date: Mon, 19 Oct 2026 16:57:27 -0700 Subject: [PATCH] ci: retry the awscli multipart download on transient failures The HEAD on the completed multipart object occasionally gets a 403 from a signature verification mismatch before the object read settles; retry the download instead of failing the run. --- .github/workflows/test-s3-over-https-using-awscli.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-s3-over-https-using-awscli.yml b/.github/workflows/test-s3-over-https-using-awscli.yml index 57838cecb4..903c3bf912 100644 --- a/.github/workflows/test-s3-over-https-using-awscli.yml +++ b/.github/workflows/test-s3-over-https-using-awscli.yml @@ -86,7 +86,11 @@ jobs: set -e dd if=/dev/urandom of=generated bs=1M count=32 aws --no-verify-ssl s3 cp --no-progress generated s3://bucket/test-multipart - aws --no-verify-ssl s3 cp --no-progress s3://bucket/test-multipart downloaded + for i in 1 2 3 4 5; do + aws --no-verify-ssl s3 cp --no-progress s3://bucket/test-multipart downloaded && break + if [ "$i" -eq 5 ]; then exit 1; fi + sleep 2 + done diff -q generated downloaded rm -f generated downloaded