Repository navigation
Description
The claude-review lane on PR #5958 (head a53f9f6) hit the action timeout after about 11.5 minutes with no output, and rerunning only the failed job did not recover it.
Measurements
Run 37084175322 (claude-review-hosted.yml, pull_request, head a53f9f6), from gh run view and gh api .../actions/runs/37084175322/attempts/N/jobs.
| Attempt | Job | Id | Start | End | Duration | Conclusion |
|---|---|---|---|---|---|---|
| 1 | review / review | 111090915555 | 00:57:15Z | 01:08:41Z | 11m26s | success (job), action timed out |
| 1 | review / claude-review-status | 111093172273 | 01:08:43Z | 01:08:47Z | 4 s | failure |
| 2 (failed-job rerun) | review / claude-review-status | 111109010676 | 02:34:55Z | 02:34:58Z | 3 s | failure |
| 2 | review / review | 111109011180 | reused from attempt 1 | success | ||
| 3 (full rerun) | review / review | 111109093166 | 02:35:24Z | 02:38:17Z | 2m53s | success |
| 3 | review / claude-review-status | 111109593893 | 02:38:19Z | 02:38:23Z | 4 s | success |
For comparison, the later run 37090685076 at head 1c97b8c had a review job of 1m30s (02:41:48Z to 02:43:18Z).
Cause
The review log shows the plugin marketplace clone at 00:57:53Z (Cloning repository (timeout: 120s)), then nothing until ##[error]The action has timed out. at 01:08:38Z, followed by Claude review exited with: failure class=other ... Last SDK result: (no execution file was produced). So the run produced no execution output for about 10m45s after the marketplace step; the log does not show where it hung. The review job itself is reported as success, and claude-review-status converts REVIEW_FAILED=true with FAILURE_CLASS=other into a failure ("an unclassified failure; read the review job log"). A failed-job rerun (attempt 2) reran only the status job, which re-read the same recorded outputs from the reused review job and failed again in 3 s. Only the full rerun (attempt 3) produced a review.
Proposed fix
- Set a step-level timeout on the review action well under the job limit (the clean runs take 1.5 to 3 minutes), so a hang fails fast and the failure names the step.
- Classify the "timed out, no execution file" case (for example
failure-class=timeout) instead ofother, and have the status message say a full rerun is needed because a failed-job rerun reuses the review job's result. - Log which phase was running when the action timed out (marketplace clone, plugin install, or model call) to find the hang.
Accuracy guard
No review criteria or prompts change; the proposal only bounds wall time and improves failure classification. A timed-out review must still fail the status job rather than report success, so a PR cannot look reviewed when no review ran.
Related
#5886 (CI lane work), #5830 (PR run duration). Observed on #5958.
🤖 Generated with Claude Code
Activity
kyle-sexton commentedon Oct 3, 2026
Closing: two of the three fixes landed upstream, and the third moved to the repo that owns the code.
claude-lane-outcome/classify.cjsreturnsotherwhen no execution file is produced. The callers here are sync-managed and the code lives in ci-workflows, so it is tracked at fix(claude-lane-outcome): classify a review step with no execution file as its own failure class ci-workflows#657.Step durations in this repo (successful runs): code review p50 189 s, p95 355 s, max 392 s (n=59); security review p50 107 s, p95 221 s, max 294 s (n=55).