diff --git a/.gitea/workflows/e2e-api.yml b/.gitea/workflows/e2e-api.yml index 17a6aebda..bc0f11ea2 100644 --- a/.gitea/workflows/e2e-api.yml +++ b/.gitea/workflows/e2e-api.yml @@ -185,7 +185,13 @@ jobs: uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: Pre-pull alpine + ensure provisioner network (Issue #94 items #2 + #3) if: needs.detect-changes.outputs.api == 'true' diff --git a/.gitea/workflows/e2e-chat.yml b/.gitea/workflows/e2e-chat.yml index cbccb1179..b3d890781 100644 --- a/.gitea/workflows/e2e-chat.yml +++ b/.gitea/workflows/e2e-chat.yml @@ -155,7 +155,13 @@ jobs: uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - if: needs.detect-changes.outputs.chat == 'true' diff --git a/.gitea/workflows/e2e-legacy-advisory.yml b/.gitea/workflows/e2e-legacy-advisory.yml index 2bb943af3..0d48c655e 100644 --- a/.gitea/workflows/e2e-legacy-advisory.yml +++ b/.gitea/workflows/e2e-legacy-advisory.yml @@ -41,7 +41,13 @@ jobs: - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: Prepare local platform dependencies diff --git a/.gitea/workflows/e2e-peer-visibility.yml b/.gitea/workflows/e2e-peer-visibility.yml index 104990ec9..e569b0f9d 100644 --- a/.gitea/workflows/e2e-peer-visibility.yml +++ b/.gitea/workflows/e2e-peer-visibility.yml @@ -192,7 +192,13 @@ jobs: - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: Pre-pull alpine + ensure provisioner network run: | diff --git a/.gitea/workflows/e2e-staging-saas.yml b/.gitea/workflows/e2e-staging-saas.yml index dddee8352..174dcb15e 100644 --- a/.gitea/workflows/e2e-staging-saas.yml +++ b/.gitea/workflows/e2e-staging-saas.yml @@ -792,7 +792,13 @@ jobs: - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: go vet (staging_e2e tag) working-directory: workspace-server @@ -824,7 +830,13 @@ jobs: - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: Verify admin token present run: | diff --git a/.gitea/workflows/e2e-workspace-lifecycle.yml b/.gitea/workflows/e2e-workspace-lifecycle.yml index f4774da7c..afa88db36 100644 --- a/.gitea/workflows/e2e-workspace-lifecycle.yml +++ b/.gitea/workflows/e2e-workspace-lifecycle.yml @@ -68,7 +68,13 @@ jobs: - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: go vet (staging_e2e tag) working-directory: workspace-server @@ -101,7 +107,13 @@ jobs: - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: Verify admin token present run: | diff --git a/.gitea/workflows/handlers-postgres-integration.yml b/.gitea/workflows/handlers-postgres-integration.yml index d0453166c..88a48a39b 100644 --- a/.gitea/workflows/handlers-postgres-integration.yml +++ b/.gitea/workflows/handlers-postgres-integration.yml @@ -146,6 +146,12 @@ jobs: uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs). Fleet sweep cp#698 missed this workflow. + cache: false - if: needs.detect-changes.outputs.handlers == 'true' name: Start sibling Postgres on bridge network diff --git a/.gitea/workflows/local-provision-e2e.yml b/.gitea/workflows/local-provision-e2e.yml index 43a9063a7..caa315c72 100644 --- a/.gitea/workflows/local-provision-e2e.yml +++ b/.gitea/workflows/local-provision-e2e.yml @@ -89,7 +89,13 @@ jobs: - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: Ensure provisioner network + pre-pull alpine @@ -303,7 +309,13 @@ jobs: - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: Ensure provisioner network + pre-pull alpine diff --git a/.gitea/workflows/verify-providers-gen.yml b/.gitea/workflows/verify-providers-gen.yml index 0387310f4..d0dfc4a82 100644 --- a/.gitea/workflows/verify-providers-gen.yml +++ b/.gitea/workflows/verify-providers-gen.yml @@ -80,7 +80,13 @@ jobs: - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: 'stable' - cache: true + # cache:false — the self-hosted runner bind-mounts a persistent + # GOCACHE/GOMODCACHE (/var/cache/ci-go-{build,mod}); actions/cache is + # redundant and corrupts it by untarring over the bind mount ("File + # exists" -> "Failed to restore" -> partial cache -> linker/typecheck + # errors on heavy jobs, e.g. test -race link "too many errors" and + # go-arch-lint "without types"). Fleet sweep after the cp ci.yml find. + cache: false cache-dependency-path: workspace-server/go.sum - name: Verify generated artifact is in sync with providers.yaml