open-code-review/internal
kite 800f2bcaee fix(agent): classify group coverage per file, not per group
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.
2026-08-21 20:06:29 +08:00
..
agent fix(agent): classify group coverage per file, not per group 2026-08-21 20:06:29 +08:00
config fix(prompt): adapt the review filter to multi-file groups 2026-08-21 20:06:29 +08:00
delegate chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
diff fix(diff): re-file comments whose code lives in another file (#921) 2026-08-15 19:20:41 +08:00
gitcmd chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
llm test(llm): cover tool_choice mapping for all three provider protocols (#1011) 2026-08-20 11:04:22 +08:00
llmloop test(llmloop): use per-comment path in re-location identity tests 2026-08-21 20:06:29 +08:00
mcp test: raise statement coverage to 90% and enforce it in CI (#747) 2026-08-06 12:55:44 +08:00
model chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
pathutil test: raise statement coverage to 90% and enforce it in CI (#747) 2026-08-06 12:55:44 +08:00
release chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
scan fix(agent): name the main-loop stop trigger in item failure reasons (#855) 2026-08-20 18:46:56 +08:00
session feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00
stdout fix(cmd): stream review progress to stderr for json and sarif (#929) 2026-08-19 19:05:53 +08:00
suggestdiff chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
telemetry refactor(telemetry): replace PrintTraceSummary positional params with TraceSummary struct (#909) 2026-08-15 12:19:28 +08:00
tool fix(tool): fall back to newPath when comment omits path field 2026-08-21 20:06:29 +08:00
viewer feat(config): resolve api_key/auth_token from a command (#236) (#605) 2026-08-17 14:40:37 +08:00