From 2c4db66049b0c4d668a9c40419ebea63d7117318 Mon Sep 17 00:00:00 2001 From: Michael Duncan McArthur Date: Thu, 3 Dec 2026 01:43:23 -0500 Subject: [PATCH] ci: timeouts on every job (row 1.228c) test 15 min (longest run 114 s, Windows 3.9), lint 5 (13 s), package 10 (28 s), release 10 (28 s). Co-Authored-By: Claude Sonnet 5.5 AI-Use: L3 made undo unread (Claude Sonnet 5.5) AI-Use-Standing: https://github.com/gorfednet/ai-use-levels/blob/main/docs/delegation.md 2026-11-18 --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/release.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3dc1a54..6655abe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,8 @@ jobs: test: name: test (${{ matrix.os }}, ${{ matrix.python-version }}) runs-on: ${{ matrix.runner || matrix.os }} + # Longest of the last 12 runs on main: 114 s (Windows, Python 3.9); macOS 49 s; Linux under 30 s. + timeout-minutes: 15 strategy: fail-fast: false matrix: @@ -49,6 +51,8 @@ jobs: # Style and generated-file checks; one platform is enough. lint: runs-on: ubuntu-latest + # Longest of the last 12 runs on main: 13 s. + timeout-minutes: 5 steps: - uses: actions/checkout@v4 @@ -68,6 +72,8 @@ jobs: # Smoke-test PyPI packaging (sdist + wheel) on one platform. package: runs-on: ubuntu-latest + # Longest of the last 12 runs on main: 28 s. + timeout-minutes: 10 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d7cd92..7319c3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,8 @@ permissions: jobs: release: runs-on: ubuntu-latest + # The 3 most recent successful runs took 21 to 28 s. + timeout-minutes: 10 steps: - uses: actions/checkout@v4