From 9a4642190216472e32fbd160b46520f8507625d0 Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Tue, 6 Oct 2026 08:31:01 +0200 Subject: [PATCH] Run make test once so a failing test fails the build (closes #101) make test retried a failed go test run with go test -v, and when the retry passed, make test, make check and the Docker build all reported success, hiding real failures. It now runs go test once, keeping -timeout 120s, -race and -cover. Model: opus-5-5 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6758284..2aac9ec 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ fmt-check: @test -z "$$(gofmt -l .)" || (echo "Files not formatted:" && gofmt -l . && exit 1) test: ensure-web-dist - go test -timeout 120s -race -cover ./... || go test -timeout 120s -race -v ./... + go test -timeout 120s -race -cover ./... # check runs all validation without making changes # Used by CI and Docker build — fails if anything is wrong