ci: extend Claude Code timeout to 30 minutes - #120
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA ChangesClaude Code Workflow Timeout
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1371c1062a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || | ||
| (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude'))) | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 |
There was a problem hiding this comment.
Leave headroom for Claude action cleanup
When a @claude run spends close to 30 minutes in the Claude step, this job-level timeout cancels the entire job because GitHub applies it to checkout/setup/action cleanup as well as the Claude execution. I checked the workflow and the anthropics/claude-code-action@beta action already exposes a timeout_minutes input for the Claude execution (defaulting to 30) and then runs follow-up always() steps such as updating comments and revoking the app token; with the job capped at the same 30 minutes, setup time means Claude gets less than 30 minutes and the cleanup/comment steps can be skipped. Please either set the action input or give the job timeout extra headroom.
Useful? React with 👍 / 👎.
|
Closing as requested. |
Why
Reflects keito4/config#831.
Claude Code jobs can exceed the previous 20 minute cap while investigating and preparing changes. The shared config template now uses 30 minutes, so this repository should match it.
What
Verification
actionlint .github/workflows/claude.ymlgit diff --checkSummary by CodeRabbit