Skip to content

Commit a789a83

Browse files
danielchalefclaude
andauthored
ci(claude-review): cap the review step at timeout-minutes: 10 (#537)
The public Claude Code Review step had no timeout, so a hung run sat in_progress at the job default (360 min) instead of failing fast. A review that stalls is an infra hang, not a slow review (observed on PR #522: a run sat unchanged for 48 min until manually cancelled). Cap the step at 10 minutes so a stalled review resolves to a failed check that can be re-run, matching zep-proprietary's claude-review. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f52ae1a commit a789a83

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
- name: Run Claude Code Review
3838
id: claude-review
3939
uses: anthropics/claude-code-action@9dd8b95a392eb34b6f5fb56cf5a64cb735912d4b # v1
40+
# Fail fast if the review hangs instead of letting it sit indefinitely
41+
# (the job default is 360 min). A run that stalls is an infra hang, not a
42+
# slow review — cap it so the check resolves and can be re-run.
43+
timeout-minutes: 10
4044
with:
4145
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
4246
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'

0 commit comments

Comments
 (0)