Skip to content

fix: read a large release in full, stage by stage, before holding it as too large - #76

Merged
alsoknownaswill merged 1 commit into
mainfrom
pub-size-stages
Nov 3, 2026
Merged

alsoknownaswill merged 1 commit into
mainfrom
pub-size-stages

Conversation

@alsoknownaswill

Copy link
Copy Markdown
Member

A release whose diff needs more reviewer parts than the budget used to be narrowed to priority files and held for a human as "too large for model review". It is now read in full, in stages of maxParts parts, up to maxParts * maxStages parts (default 12 * 6 = 72). The first FLAG stops the review, and the verdict text counts the parts actually read. Past the ceiling the existing tiers and holds are unchanged; maxStages 1 gives the old single-stage budget. A missing, non-finite or sub-1 count falls back to the default (a maxParts of 0 no longer means "read nothing"). The image layer review gets the same staging.

Trade-offs: releases of 13 to 72 parts that were held can now land on per-part approvals, each part judged alone, and an all-clean release costs up to six times the serial model calls. Evaluation numbers that depended on the old 12-part narrowing will shift.

Tests cover the budget edges, a bad part in each tier, the first-FLAG stop and its counts, stages carrying into a later FLAG, the image path at the default budget, and the count guard.

…as too large

A diff that needs more reviewer parts than maxParts is now reviewed in stages of
maxParts parts, up to maxParts * maxStages parts (default 12 * 6), instead of
being narrowed to priority files and held. The first FLAG stops the review and
the verdict text counts the parts actually read. Past the ceiling the existing
tiers (priority, signal, ranked) and their holds are unchanged; maxStages 1 gives
the old single-stage budget. A missing, non-finite or sub-1 count falls back to
the default. The image layer review gets the same staging.
@alsoknownaswill
alsoknownaswill merged commit f4f8232 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