From 25c4ec9f2a56a2454d48dacd4433cc6889019fdd Mon Sep 17 00:00:00 2001 From: Ilker Manap Date: Fri, 16 Oct 2026 16:54:48 +0200 Subject: [PATCH] CI: a package that hangs says which test it hung in Every test run since c22528c ended at the job's 30-minute deadline with nothing after internal/release, while the same tests pass with -race on Linux, as a user and as root, in 5 minutes. A 12-minute test timeout makes the hang name itself. Co-Authored-By: Claude Opus 5.5 (1M context) --- .gitea/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index eb5b379..47e2b75 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -34,7 +34,11 @@ jobs: run: go vet ./... - name: Test with the race detector - run: go test -race ./... + # Under the job's limit, so a package that hangs panics with the + # test it was in and where every goroutine waited, rather than the + # job ending at its deadline with nothing said: from 2026-10-15 every + # run did, printing nothing after internal/release. + run: go test -race -timeout 12m ./... - name: Build run: go build ./...