From b402dce15adaaffc129a8d79805f5dfd78ba7074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Fri, 2 Oct 2026 09:23:40 +0200 Subject: [PATCH] ci: set explicit test timeouts for sanitizer jobs msan lacked a -timeout flag, falling back to go test's default 10-minute per-package timeout. Memory sanitizer instrumentation is slow enough to exceed that regularly, causing spurious CI failures. --- .github/workflows/sanitizers.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sanitizers.yaml b/.github/workflows/sanitizers.yaml index 4a4b319be1..0f6e2e2c7c 100644 --- a/.github/workflows/sanitizers.yaml +++ b/.github/workflows/sanitizers.yaml @@ -107,4 +107,4 @@ jobs: echo "CGO_LDFLAGS=$LDFLAGS $(php-config --ldflags) $(php-config --libs)" } >> "$GITHUB_ENV" - name: Run tests - run: gotestsum -- ${{ matrix.sanitizer == 'msan' && '-tags=nowatcher' || '' }} -${{ matrix.sanitizer }} ./... + run: gotestsum -- ${{ matrix.sanitizer == 'msan' && '-tags=nowatcher' || '' }} -${{ matrix.sanitizer }} -timeout ${{ matrix.sanitizer == 'msan' && '60m' || '30m' }} ./...