From 2a7eb3dd19f40b3162e8674784f065ff4e0ef573 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 6 Oct 2026 17:52:01 -0400 Subject: [PATCH] ci(integration): give the suite a 20m package timeout internal/api takes ~6.5 min under -race on an idle runner; with a second run on the same runner it crossed go test's default 10m (run 8368: FAIL at 600.016s with the running test 2s old, so load, not a hang). Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 6a0bf115..1378cde2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -272,8 +272,12 @@ jobs: # every integration package TRUNCATEs the one shared test DB; # concurrent package binaries → TRUNCATE deadlocks. Serialize # package execution (the documented local invocation too). + # -timeout 20m: internal/api alone takes ~6.5 min under -race on + # an idle runner, and a dev and a main run sharing the runner + # pushed it past go test's default 10m (run 8368, 600.016s, the + # running test 2s old — nothing hung). MINSTREL_DATABASE_URL="$MINSTREL_TEST_DATABASE_URL" go run ./cmd/minstrel migrate - go test -p 1 -race ./... + go test -p 1 -race -timeout 20m ./... web: runs-on: go-ci