From 6802932f8079f1488c885fb83db979719b93c5de Mon Sep 17 00:00:00 2001 From: Karibhou Date: Mon, 9 Nov 2026 07:45:34 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20fix(ci):=20retry=20'Install?= =?UTF-8?q?=20just'=20curl=20on=20transient=20release-CDN=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hive-Run: hivecommons/hive#17357 Hive-Plan: issue-17357 Hive-Spec: issue-17357#recommendation Signed-off-by: Karibhou --- .github/workflows/integration-candidate.yml | 2 +- .github/workflows/integration-technical-v2-ci.yml | 2 +- .github/workflows/v2-ci.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-candidate.yml b/.github/workflows/integration-candidate.yml index e1a1f1d04e..1657ff12dd 100644 --- a/.github/workflows/integration-candidate.yml +++ b/.github/workflows/integration-candidate.yml @@ -552,7 +552,7 @@ jobs: set -euo pipefail JUST_VERSION=1.58.0 JUST_SHA256=4a5cc2f53e6f0f8c59092a6cc38291eb729d46a7dd95d3ae582008881b84931d - curl -fsSL -o /tmp/just.tgz "https://github.com/casey/just/releases/download/${JUST_VERSION}/just-${JUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" + curl -fsSL --retry 5 --retry-delay 10 --retry-all-errors -o /tmp/just.tgz "https://github.com/casey/just/releases/download/${JUST_VERSION}/just-${JUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" echo "${JUST_SHA256} /tmp/just.tgz" | sha256sum -c - tar -xzf /tmp/just.tgz -C /tmp just sudo install -m 0755 /tmp/just /usr/local/bin/just diff --git a/.github/workflows/integration-technical-v2-ci.yml b/.github/workflows/integration-technical-v2-ci.yml index 219e3b0e18..93cac766c6 100644 --- a/.github/workflows/integration-technical-v2-ci.yml +++ b/.github/workflows/integration-technical-v2-ci.yml @@ -406,7 +406,7 @@ jobs: set -euo pipefail JUST_VERSION=1.58.0 JUST_SHA256=4a5cc2f53e6f0f8c59092a6cc38291eb729d46a7dd95d3ae582008881b84931d - curl -fsSL -o /tmp/just.tgz "https://github.com/casey/just/releases/download/${JUST_VERSION}/just-${JUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" + curl -fsSL --retry 5 --retry-delay 10 --retry-all-errors -o /tmp/just.tgz "https://github.com/casey/just/releases/download/${JUST_VERSION}/just-${JUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" echo "${JUST_SHA256} /tmp/just.tgz" | sha256sum -c - tar -xzf /tmp/just.tgz -C /tmp just sudo install -m 0755 /tmp/just /usr/local/bin/just diff --git a/.github/workflows/v2-ci.yml b/.github/workflows/v2-ci.yml index 3e55b4ab0e..20e9b511da 100644 --- a/.github/workflows/v2-ci.yml +++ b/.github/workflows/v2-ci.yml @@ -1037,7 +1037,7 @@ jobs: set -euo pipefail JUST_VERSION=1.58.0 JUST_SHA256=4a5cc2f53e6f0f8c59092a6cc38291eb729d46a7dd95d3ae582008881b84931d - curl -fsSL -o /tmp/just.tgz "https://github.com/casey/just/releases/download/${JUST_VERSION}/just-${JUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" + curl -fsSL --retry 5 --retry-delay 10 --retry-all-errors -o /tmp/just.tgz "https://github.com/casey/just/releases/download/${JUST_VERSION}/just-${JUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" echo "${JUST_SHA256} /tmp/just.tgz" | sha256sum -c - tar -xzf /tmp/just.tgz -C /tmp just sudo install -m 0755 /tmp/just /usr/local/bin/just From 67bd567985afad16920a14241b503b80c2dd8c36 Mon Sep 17 00:00:00 2001 From: Karibhou Date: Mon, 9 Nov 2026 09:23:41 +0000 Subject: [PATCH 2/2] docs(ci): explain the Install just curl retry flags Review follow-up on #17359. Signed-off-by: Karibhou --- .github/workflows/v2-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/v2-ci.yml b/.github/workflows/v2-ci.yml index 20e9b511da..d805b6d6a8 100644 --- a/.github/workflows/v2-ci.yml +++ b/.github/workflows/v2-ci.yml @@ -1032,6 +1032,8 @@ jobs: # had passed. The releases CDN stayed up throughout; a pinned URL with a # checksum has no API dependency at all. Bump the version and hash # together, deliberately. + # The CDN itself still 504s transiently (#17357), hence the curl + # --retry flags; sha256sum still gates whatever is fetched. - name: Install just run: | set -euo pipefail