Skip to content

fix(review): report chunked findings when chunks return empty summaries - #559

Closed
ajianaz wants to merge 1 commit into
chore/560-rustls-02345from
fix/556-chunked-summary-footer
Closed

ajianaz wants to merge 1 commit into
chore/560-rustls-02345from
fix/556-chunked-summary-footer

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

What

Chunked review mode can emit a contradictory report — header Found 1 issue ... ⚠ BLOCKED with footer No issues found across all chunks. — when chunks return issues with an empty summary field. Extract the merged-summary decision into merged_chunk_summary() with an explicit issue-count branch, and unit-test all five outcomes.

Why

The old fallback keyed only off summaries/any_error and never consulted the collected issues (live: gaira PR #108 run #1388 verdict comment, 2026-10-04). Human readers use the verdict text to judge merges, so it must not contradict the issue count. Gating is unchanged: exit code still derives from should_block. Details in #556.

Testing

Chunked review merged a contradictory report when chunks returned
issues with an empty summary field: the header counted the issues but
the fallback summary printed 'No issues found across all chunks.' (live:
gaira PR #108 run #1388 verdict comment). The fallback keyed only off
summaries/any_error and never consulted the collected issues.

Extract the decision into merged_chunk_summary() with an explicit
issue-count branch (issue_count > 0 and any_error now compose into one
honest message), unit-test all five outcomes. Gating is unchanged:
exit code still derives from should_block.

Fixes #556
@ajianaz
ajianaz force-pushed the fix/556-chunked-summary-footer branch from 629eec4 to fe1169c Compare October 4, 2026 09:06
@ajianaz
ajianaz changed the base branch from develop to chore/560-rustls-02345 October 4, 2026 09:07
@ajianaz
ajianaz deleted the branch chore/560-rustls-02345 October 4, 2026 14:46
@ajianaz ajianaz closed this Oct 4, 2026
@ajianaz

ajianaz commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator Author

Auto-closed mechanically: this PR's temporary base (chore/560-rustls-02345) was deleted when #561 merged with --delete-branch, and GitHub cannot reopen a PR whose base ref is gone. Replaced by the identical rebased commit as a new PR (base develop). Same content, already CI-proven green 14/14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant