From 56602426d3a26c0048d97bb0a4d91a77a566efc6 Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 28 Oct 2026 19:43:36 +0800 Subject: [PATCH] ci: Test gives the packages 30m, where internal/gateway ran into go test's default 10m on macOS (#2108) The Test step ran `go test ./...` at the default -timeout 10m. On the last 8 finished main runs internal/gateway took 448-600s on macos-latest (375-450s on ubuntu), and timed out at 600s in 3 of them (40676722560 at b3edcabf2, 40655569734, 40654333385), a red that names no failing test. LESSONS' "A full run gives the slow packages room" asks for a longer timeout on full runs already. This is room, not the fix: the gateway package's run time stays open as #2108. No app change; nothing run locally for a workflow edit. The next main run's macOS job shows it. --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c3f8b5b8..d852dd10a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,9 +65,11 @@ jobs: with: bun-version: 1.4.2 + # internal/gateway takes 450-600s on macOS runners, and go test's + # default 10m timed it out in 3 of 8 finished main runs (#2108). - name: Test if: runner.os != 'Windows' - run: go test -tags "${{ steps.tags.outputs.tags }}" ./... + run: go test -timeout 30m -tags "${{ steps.tags.outputs.tags }}" ./... # Windows skips the Test step above, so the two plugin stderr tests run # here. The end-to-end one needs bun on PATH; without it it skips.