mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-08-21 22:54:39 +00:00
A file group that stops before task_done (round/token budget exhaustion) could still have produced usable comments for some of its files. The dispatch loop was marking every file in the group as Failed regardless, so a single stuck file dragged its whole group - and, when it was the only dispatched group, the whole run - down to terminal_state=failed even though real coverage existed. Classify each file by whether it actually has comments: files with output are marked Completed, files without stay Failed. This lets computeTerminal report partial (exit 0) instead of failed (exit 1) when a group is a genuine mix of the two. Also fix subtaskFailed to count only the files marked failed in this loop instead of assuming reportAsError implies the whole group failed - a group can now legitimately end up partially completed. |
||
|---|---|---|
| .. | ||
| agent | ||
| config | ||
| delegate | ||
| diff | ||
| gitcmd | ||
| llm | ||
| llmloop | ||
| mcp | ||
| model | ||
| pathutil | ||
| release | ||
| scan | ||
| session | ||
| stdout | ||
| suggestdiff | ||
| telemetry | ||
| tool | ||
| viewer | ||