From 6a01a1f848c349d8996da70ce01843e2cb987fb4 Mon Sep 17 00:00:00 2001 From: "Piotr P. Karwasz" Date: Fri, 12 Jun 2026 10:09:34 +0200 Subject: [PATCH] ci: cap the test job at 15 minutes The test job had no timeout, so a hung or deadlocked test ran until GitHub's 6-hour default before failing. Tests normally finish in 2-4 minutes, so cap the job at 15 minutes to fail fast while leaving comfortable margin. Assisted-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a766675a..4067ab608 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,6 +23,9 @@ concurrency: jobs: test: runs-on: ${{ matrix.os }} + # Tests normally finish in 2-4 minutes; cap the job so a hung/deadlocked test fails fast + # instead of running until the 6-hour GitHub default. + timeout-minutes: 15 strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest]