From 213f4c5d5c8ae866298b4a36e18e27fb0a903214 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 7 Sep 2026 21:38:49 -0700 Subject: [PATCH] release: wait for Go proxy propagation (#11219) Allow normal post-tag proxy propagation before dispatching downstream releases, while preserving the check that prevents them from pinning the previous commit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/release_version_bump.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_version_bump.yml b/.github/workflows/release_version_bump.yml index 3704b9742..3ad9633fa 100644 --- a/.github/workflows/release_version_bump.yml +++ b/.github/workflows/release_version_bump.yml @@ -206,8 +206,9 @@ jobs: # The dispatched workflow pins seaweedfs with `go get -u ...@latest`, so # wait until the proxy serves the release commit as the tip. Asking for - # the commit by name is what makes the proxy fetch it. - for _ in $(seq 30); do + # the commit by name is what makes the proxy fetch it. The proxy can + # take longer than five minutes to refresh @latest after a new tag. + for _ in $(seq 120); do curl -sf "https://proxy.golang.org/${MODULE}/@v/${SHA}.info" >/dev/null || true TIP=$(curl -sf "https://proxy.golang.org/${MODULE}/@latest" | jq -r '.Origin.Hash // ""' || true) [ "$TIP" = "$SHA" ] && break