From 16e572397b2b1abf096bd6bca26e2af832768b8d Mon Sep 17 00:00:00 2001 From: Anya Tokugawa Date: Sun, 8 Nov 2026 05:42:30 +0900 Subject: [PATCH] ci: serialize test packages to reduce SQLite initialization contention --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2bf5919..96d5b69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,10 @@ RUN go mod download COPY . . FROM source AS test -RUN go test ./... +# Test packages create independent SQLite stores. Serialize packages to avoid +# concurrent server/store initialization exhausting the shared runner's I/O. +# Keep production database deadlines and the complete test suite unchanged. +RUN go test -p 1 ./... FROM source AS runtime RUN go build -o /pageswiki ./cmd/pageswiki