From 97222a13d6da9a6648fe09e8fad842dc4c0430cc Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 11 Apr 2026 13:31:47 -0500 Subject: [PATCH] chore(ci): add 14-minute timeout to claude-review job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bounds the `claude-review` job's wall-clock time so a hung `anthropics/claude-code-action@v1` run (observed on layervai/qurl-python#8) can't consume a runner for hours before GitHub Actions' default 6-hour job timeout kicks in. The `14`-minute value is tailored from this repo's observed `claude-review` run durations across the last 30 successful runs, using `max(8, ceil(p95_minutes * 2) + 2)` — 2x p95 + 2-minute safety margin, floored at 8 minutes. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/claude-code-review.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 52c968e..d6ed7e7 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -8,6 +8,7 @@ jobs: claude-review: if: github.actor != 'dependabot[bot]' runs-on: ubuntu-latest + timeout-minutes: 14 permissions: contents: read pull-requests: read