Repository navigation
fix(review): a judge that cannot run fails the review; release 1.7.1 - #20
Merged
Merged
Conversation
When the judge failed with an error a retry cannot fix (a model the installed claude CLI does not support, a plan limit, auth), the review still finished: every finding was demoted to unverified "noted" and the cause sat only in lostLenses. On a quiet PR that read as an incomplete but clean review, and every re-review failed the same way. runReview now throws "The judge cannot run: <error>" for those failures, so PR, local and MCP reviews end as failed with the cause shown. Transient judge failures (bad reply, stalled run) keep today's unverified fallback. verify-review drives runReview through a fake claude binary whose judge returns the real "version 2.1.280 or newer is required" error.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A review whose judge hits an error a retry cannot fix now fails, showing the error. Before, it finished with every finding demoted to unverified noted. Examples of such errors: a model the installed
claudeCLI does not support, a plan limit, auth.Releases as 1.7.1.
Why
Found during the open-code-review bake-off. In the
vixproject (Claude Code engine), every review's judge was failing:The review still ended as
done, withlostLenses: ["judge"]. In the PR list that showed as a yellow Incomplete review chip, with the cause only in its tooltip. In local and MCP reviews it showed asdone. Every re-review failed the same way.How
runReviewthrowsThe judge cannot run: <error>when the judge result is not usable andisPermanentFailurematches.Test
verify-review.tsdrives the realrunReviewthrough a fakeclaudebinary. Its reviewers return a finding; its judge returns the error above.npm run typecheck: 0 errors.npm test: all pass.npm run verify -w roku-dev-studio-review: ok.