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.
This commit is contained in:
yetone
2026-10-28 19:43:39 +08:00
parent 68ab4c06da
commit 56602426d3
+3 -1
View File
@@ -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.