Skip to content

A merge's approvals don't leak into older builds of its base branch (sc-8806) - #30

Merged
ndbroadbent merged 1 commit into
mainfrom
sc-8806
Dec 2, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
sc-8806

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

A merge's approvals don't leak into older builds of its base branch (sc-8806): baselines::resolve counted a merged pull request's approvals (record_merge, on the base branch at the merge commit) for any newer-than-anchor build on that branch, whatever its commit, so a main build of a commit from before the merge, built late, showed the merge's new snapshots as removed, and pull request builds on top of it inherited the removal (main #122 and PR 27's #123 with PR 25's slider screenshots). Merged approvals now count only through their merge commit's place in the build's history; a branch's own reviews count as before. Request test with exactly that shape

Story: https://app.shortcut.com/docspring/story/8806. The new test fails without the fix ([("x", "unchanged"), ("y", "removed")]) and passes with it. Production check (talira infra, read-only): no approved removal on main came from this.

@visualci-com

visualci-com Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #130 · 302 unchanged · no changes

This PR vs base: 3 changed since #139, across 2 builds

Updated as builds change. Agents can review with VisualCI's MCP tools.

…sc-8806): baselines::resolve counted a merged pull request's approvals (record_merge, on the base branch at the merge commit) for any newer-than-anchor build on that branch, whatever its commit, so a main build of a commit from before the merge, built late, showed the merge's new snapshots as removed, and pull request builds on top of it inherited the removal (main #122 and PR 27's #123 with PR 25's slider screenshots). Merged approvals now count only through their merge commit's place in the build's history; a branch's own reviews count as before. Request test with exactly that shape
@ndbroadbent
ndbroadbent merged commit e2ee3a5 into main Dec 2, 2026
10 checks passed
@ndbroadbent
ndbroadbent deleted the sc-8806 branch December 2, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant