Repository navigation
A merge's approvals don't leak into older builds of its base branch (sc-8806) - #30
Merged
Merged
Conversation
VisualCIdocspring/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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.