Skip to content

Skipped builds: nothing unreviewed behind an auto-approved build (fix for #280) - #293

Merged
ndbroadbent merged 1 commit into
mainfrom
auto-approved-carry
Dec 5, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
auto-approved-carry

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Fixes a gap in #280 (sc-9763), live since 10:59Z.

reruns::unreviewed_carry counted a previous build's snapshot as unreviewed unless its own review was approved. An auto-approved build (the default branch's first build) leaves its snapshots with no review, so a partial subset build behind one carried them all as "unreviewed":

  • it always got the "N snapshots this run didn't send were changed, added or removed in build #N … and not approved" warning;
  • where the branch's baseline had moved since (a merged pull request's approvals, or another branch's review superseding it), those snapshots came out as changes that waited for review.

Now a previous build whose review_state is auto_approved carries nothing unreviewed. Found while integrating #279 with #280, where a merge commit's build showed it.

Test: a_partial_subset_build_behind_an_auto_approved_build_carries_nothing_unreviewed fails on main (with the warning) and passes here. Full --test app passes and clippy is clean.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@ndbroadbent
ndbroadbent merged commit c2e4df9 into main Dec 5, 2026
17 checks passed
@ndbroadbent
ndbroadbent deleted the auto-approved-carry branch December 5, 2026 11:38
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