Skip to content

ci(claude-review): cap the review step at timeout-minutes: 10#537

Merged
danielchalef merged 1 commit into
mainfrom
ci/claude-review-timeout
Jun 18, 2026
Merged

ci(claude-review): cap the review step at timeout-minutes: 10#537
danielchalef merged 1 commit into
mainfrom
ci/claude-review-timeout

Conversation

@danielchalef

Copy link
Copy Markdown
Member

What

Adds timeout-minutes: 10 to the Run Claude Code Review step in .github/workflows/claude-code-review.yml.

Why

The step had no timeout, so the job ran at the GitHub default of 360 minutes. When the action hangs (the Claude step starts, checks out, then stalls with no further output), the check sits in_progress indefinitely rather than failing.

This was observed on PR #522: a review run sat unchanged for 48 minutes (last update 5 s after start) until it was manually cancelled and re-run — the re-run completed cleanly in 9 minutes. A stalled review is an infra hang, not a slow review.

Capping the step at 10 minutes means a hung run fails fast, the check resolves, and synchronize/reopen (or a manual re-run) re-triggers a fresh review. This matches the timeout-minutes: 10 already used by zep-proprietary's claude-code-review.yml.

Scope

One line (plus an explanatory comment) on the review step. No behavior change for runs that complete normally — a clean review takes well under 10 minutes.

🤖 Generated with Claude Code

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>
@danielchalef danielchalef merged commit a789a83 into main Jun 18, 2026
4 of 5 checks passed
@danielchalef danielchalef deleted the ci/claude-review-timeout branch June 18, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant