From 155fbb14271caf56a73d663db5d3f1258597c813 Mon Sep 17 00:00:00 2001 From: Patrick Buckley Date: Tue, 16 Jun 2026 16:40:15 -0700 Subject: [PATCH] ci: cap the suite jobs at 20 minutes A hung run otherwise rides GitHub's 6-hour default with -v streaming the whole time (the source of the multi-GB job logs). Cap test and test-postgres at 20 minutes so a flaky hang fails fast instead of bleeding hours. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac5d1e63..0559ace1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,9 @@ jobs: test: runs-on: ubuntu-latest + # Cap a hung run at 20 min instead of riding GitHub's 6-hour default + # (a flaky-hang run otherwise streams -v output for hours). + timeout-minutes: 20 strategy: matrix: python-version: ["3.11", "3.12", "3.13"] @@ -63,6 +66,7 @@ jobs: test-postgres: runs-on: ubuntu-latest + timeout-minutes: 20 services: postgres: image: postgres:18