[Bug]: PR promoted to Ready on the board while its auto-review run failed (review = none)
What went wrong?
A PR whose auto-review run failed to launch is shown in the Ready column of the board. The card says "Mergeable", review state is none, and nothing on the card says a review was attempted and failed.
Steps to reproduce
- Project with
autoReview: trueand a claude-code reviewer. - Make the reviewer launch fail (easiest: reboot the Mac so no tmux server exists on the legacy default socket — see #4776 and the comment there for the reviewer-launch variant).
- Worker opens a PR, claims it, CI goes green.
Expected behavior
Ready should require the review to have completed with approved (or the project to have autoReview: false). A failed review_run should keep the card in Validating / In review with a visible "review failed:
Actual behavior
review_run.status = failed, ao review ls → needs_review, ao session get → prs[0].review = "none", and the card sits in Ready as "Mergeable". The only way to notice is to query the DB or run ao review ls per session.
AO version
0.13.0 (desktop), daemon ao version → dev
Environment
macOS 27.0 arm64, tmux 3.7c (Homebrew)
Before submitting
- [x] I searched existing issues for duplicates
- [x] I removed secrets / tokens from logs and screenshots
Fixed by #5668 on main: a PR with a failed auto-review stays in Validating and shows Review failed. Reopen if it recurs.