Skip to content

fix: the review verdict counts unread files after an early stop in every tier - #77

Merged
alsoknownaswill merged 1 commit into
mainfrom
review-count-unread-after-stop
Nov 3, 2026
Merged

alsoknownaswill merged 1 commit into
mainfrom
review-count-unread-after-stop

Conversation

@alsoknownaswill

Copy link
Copy Markdown
Member

After the first FLAG in a staged review, the count of files not reviewed is now recomputed from the parts actually read, in the full-diff, priority, signal and ranked tiers. The last file whose header appears in the read parts counts as unread unless the next part opens with a header. The flagged part is found over all parts, and the detail names it.

Tests: a big file plus a small file with the FLAG on part 2 reports "2 file(s) not reviewed" (fails on the previous code); the FLAG is the last text and the detail names it.

…ery tier

After the first FLAG the file count is recomputed from the parts read in the
full-diff, priority, signal and ranked tiers. One filesIn helper reads the file
headers of a set of parts, and the dead code left by stopping at the first FLAG
is removed.
@alsoknownaswill
alsoknownaswill merged commit 8269c4f into main Nov 3, 2026
1 check passed
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