From 1f946bb50bc5d6eed5c156b920093ba3fcb9b43b Mon Sep 17 00:00:00 2001 From: Ethan <39577870+ethanndickson@users.noreply.github.com> Date: Tue, 4 Aug 2026 14:23:48 +1000 Subject: [PATCH] ci(.github): retry Go module downloads (#27816) Closes CODAGT-878 Closes https://github.com/coder/internal/issues/1621 The Go module proxy failure in the linked issue is outside our control, but `lint` and `test-e2e` currently download modules during their `make` targets without any retry. Other CI jobs already wrap `go mod download` with `./.github/scripts/retry.sh`, so this just copies that precedent to both affected jobs. --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8cb584cb06..935ce1beb9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -367,6 +367,9 @@ jobs: - name: Verify helm version run: helm version --short + - name: Download Go modules + run: ./.github/scripts/retry.sh -- go mod download + - name: make lint # Bound concurrent lint targets to keep peak memory below the runner limit. run: make --output-sync=line -j"$(nproc)" lint @@ -983,6 +986,9 @@ jobs: NODE_OPTIONS: ${{ github.repository_owner == 'coder' && '--max_old_space_size=8192' || '' }} working-directory: site + - name: Download Go modules + run: ./.github/scripts/retry.sh -- go mod download + - run: make site/e2e/bin/coder name: make coder