You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(claude-lane-outcome): classify a review step with no execution file as its own failure class #657
claude-lane-outcome reports a review step that produced no execution file as failure-class=other, so a review that hit the step timeout reads as "an unclassified failure; read the job log".
Evidence
.github/actions/claude-lane-outcome/classify.cjs, classifyExecutionFile: when the execution file is missing it returns reviewDetail: "(no execution file was produced)" with failureClass: "other".
In classify.cjs, return a separate class (for example no-execution) for a non-success outcome that has no execution file. A step timeout reports outcome: failure, the same as an early crash, so the name should cover both.
Add a matching case arm to the status step in claude-review.yml and claude-security-review.yml, for example "the review step produced no output before it ended (likely the step timeout); re-run the job". Keep exit 1, so a PR never looks reviewed when no review ran.
Update the failure-class output descriptions, and add a test for the new class wherever classify.cjs is tested.
Optional: lower the security-review step timeout from 14 to about 10 min. In claude-code-plugins, its 55 most recent successful runs took p95 221 s and max 294 s. The code-review step's 59 successful runs took p95 355 s and max 392 s, so its 11 min timeout stays as it is.
Decision: This issue is narrowed to two gaps left after #691:
A review step that ends with no execution file, and did not time out or fail to install, gets its own failure class instead of other.
The lanes' status steps get a case arm for install-failed.
The security-review step timeout stays at 13 minutes; the body's item 4 is dropped. Paths in the body are out of date: claude-lane-outcome is now .github/actions/report-lane-outcome, and claude-review.yml / claude-security-review.yml are now pr-review.yml / pr-review-security.yml.
In classify.cjs, return a new class for the no-execution-file case that is neither a timeout nor an install failure. Name it as the issue proposes, for example no-execution. Add it to the class list in classify.cjs and in report-lane-outcome/action.yml.
In both lanes' status steps, add a case arm for the new class and one for install-failed. Each states the cause in plain words and keeps exit 1.
Update both lanes' failure-class output descriptions and the README red-status list (README.md:1118-1130) to name both classes.
Out of scope:
Changing either step timeout.
credit-stop handling.
Detecting all-tools-failed-on-sandbox runs.
Acceptance criteria:
A non-success step with no execution file, no timeout and no install failure classifies as the new class, not other, and a test in classify.test.cjs asserts it.
The existing timeout and install-failed tests still pass.
Both lanes' status steps have a case arm for the new class and for install-failed, and neither arm is the * fallback.
Every status-step path for those classes still ends in exit 1.
Both lanes' failure-class output descriptions list every class the classifier can return.
The README red-status list names the new class and install-failed.
pr-review-security.yml still has timeout-minutes: 13 on the review step.
actionlint and node --test over the repo's test files pass.
Sequencing / dependencies: None blocking. #761 adds sandbox-unavailable to the same README list; whichever PR lands second keeps the other's rows. Related: #795.
auth) why="the Claude credential was rejected (401/402/403); check the OAuth token and the plan's usage" ;;
rate-limit) why="AI review skipped: usage limit reached; re-run after it resets" ;;
overloaded) why="the Claude service was overloaded (5xx); re-run later" ;;
max-turns) why="the review used every turn --max-turns allows before finishing; raise it in claude-args" ;;
timeout) why="the review step reached its timeout-minutes and was stopped before it finished" ;;
skipped-validation) why="claude-code-action skipped itself because the caller workflow differs from the default branch's copy; nothing was reviewed" ;;
incomplete) why="no completed review was found on this head: the model returned no findings count or summary, its count was below its inline comments, or the review saw only part of the diff; read the verify step's log" ;;
sandbox-unavailable) why="bubblewrap could not create a namespace on this runner, so Claude Code's sandbox could not start and no review ran; enable unprivileged user namespaces (read the probe step's log)" ;;
no-outcome) why="the job ended ($JOB_STATUS) before the review reported an outcome; read the job log" ;;
*) why="an unclassified failure; read the job log" ;;
Activity
fix(review): fail the review lanes closed when the sandbox cannot sta…
kyle-sexton commentedon Oct 20, 2026
Agent-ready brief (triaged 2026-10-20)
Decision: This issue is narrowed to two gaps left after #691:
other.casearm forinstall-failed.The security-review step timeout stays at 13 minutes; the body's item 4 is dropped. Paths in the body are out of date:
claude-lane-outcomeis now.github/actions/report-lane-outcome, andclaude-review.yml/claude-security-review.ymlare nowpr-review.yml/pr-review-security.yml.Current state (origin/main
834f4e1):classify.cjs:189-195returns:timeoutwhen the step ran its whole budget;install-failedwhen the install failed;other.classify.test.cjs:268).casehas noinstall-failedarm, so that class falls through to*) why="an unclassified failure; read the job log":pr-review.yml:1232-1242pr-review-security.yml:1102-1112install-outcometo report-lane-outcome (pr-review.yml:1120).failure-classoutput descriptions do not listinstall-failed:pr-review.yml:191-197,pr-review-security.yml:184-190.pr-review-security.yml:612), not the 14 the body cites.Scope:
classify.cjs, return a new class for the no-execution-file case that is neither a timeout nor an install failure. Name it as the issue proposes, for exampleno-execution. Add it to the class list inclassify.cjsand inreport-lane-outcome/action.yml.casearm for the new class and one forinstall-failed. Each states the cause in plain words and keepsexit 1.failure-classoutput descriptions and the README red-status list (README.md:1118-1130) to name both classes.Out of scope:
credit-stophandling.Acceptance criteria:
other, and a test inclassify.test.cjsasserts it.timeoutandinstall-failedtests still pass.casearm for the new class and forinstall-failed, and neither arm is the*fallback.exit 1.failure-classoutput descriptions list every class the classifier can return.install-failed.pr-review-security.ymlstill hastimeout-minutes: 13on the review step.node --testover the repo's test files pass.Sequencing / dependencies: None blocking. #761 adds
sandbox-unavailableto the same README list; whichever PR lands second keeps the other's rows. Related: #795.Evidence:
ci-workflows/.github/actions/report-lane-outcome/classify.cjs
Lines 189 to 195 in 834f4e1
ci-workflows/.github/workflows/pr-review.yml
Lines 1232 to 1242 in 834f4e1
test(pr-review): fail when the lanes' bubblewrap install scripts diff…