Repository navigation
Retention: keep the current baselines of a branch pull requests target, however old (release branches) - #223
Merged
Merged
Conversation
…t, however old (release branches)
ndbroadbent
force-pushed
the
retention-branches
branch
from
December 4, 2026 18:26
14b9b6e to
070f7b9
Compare
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.
Follow-up from sc-9247: retention kept current baselines only on the default branch and on branches with a build in the last 90 days. A release branch with no recent builds lost its approved images, so the next PR into it compared with an older build or the default branch's.
Now retention also keeps the current baselines of every branch a build has named as its
base_branch, however long ago. A feature branch's baselines still go 90 days after its last build. Keeping every branch's would keep dead feature branches' images forever.Limit: a release branch that no pull request has ever targeted, and that has had no builds for 90 days, still loses its baselines. Its next PR compares as before.
Test:
retention::retention_keeps_the_baselines_of_a_branch_pull_requests_target. It fails without the change.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.