review: keep completed patch reviews when one patch fails - #583
Merged
Merged
Conversation
Sashiko reviewCommit 1/1 —
|
A local review of a series collects the per-patch results and returns early on the first patch error. When the LLM fails on one patch, for example because a response was truncated by an output token limit, the completed reviews of every other patch are discarded and the command prints only the error. Keep the results of every other patch instead. Mark a failed patch as incomplete in the patches array and include its error. The combined result is marked as partial and includes a top-level error listing the failed patches. The text report prints the error followed by the findings from the completed patches. It does not report "no issues found" when any patch failed, and the command still exits with an error status. The progress display also marks failed patches as incomplete. The daemon reviews one patch per worker, so a failed patch still produces a failed review that is retried. The worker now reports the patch status and any error as part of its normal result, allowing the daemon to record the application status and take the tool-error path instead of the missing-status path. Assisted-by: LLM Signed-off-by: Andrea Righi <arighi@nvidia.com>
arighi
force-pushed
the
review-keep-completed-patches
branch
from
September 29, 2026 05:36
224fe27 to
4324b28
Compare
Sashiko review — v2✓ No issues found across 1 commit. |
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.
A local review of a series collects the per-patch results and returns early on the first patch error. When the LLM fails on one patch, for example because a response was truncated by an output token limit, the completed reviews of every other patch are discarded and the command prints only the error.
Keep the results of every other patch instead. Mark a failed patch as incomplete in the patches array and include its error. The combined result is marked as partial and includes a top-level error listing the failed patches.
The text report prints the error followed by the findings from the completed patches. It does not report "no issues found" when any patch failed, and the command still exits with an error status. The progress display also marks failed patches as incomplete.
The daemon reviews one patch per worker, so a failed patch still produces a failed review that is retried. The worker now reports the patch status and any error as part of its normal result, allowing the daemon to record the application status and take the tool-error path instead of the missing-status path.
Assisted-by: LLM