fix(review): fail loudly on empty harness output
Merged
KH
6mo ago+36+36+01234567890123456789-0-0-0123456789
Summary
- make pr-reviewer surface non-zero harness exit codes and empty review output as explicit failures
- post a visible GitHub/Slack failure artifact instead of silently continuing as if the PR was reviewed
Tests
- npm run typecheck
Summary by cubic
Fail fast when the review harness exits non-zero or produces no review, and post visible failure notices to GitHub and Slack so bad runs don’t look successful.
- Bug Fixes
- Detect non-zero harness
exitCodeand empty review output and treat them as hard failures. - Add
failReviewRun()to log the error, comment on the PR, notify Slack viaSLACK_CHANNEL, and throw to stop the run.
- Detect non-zero harness