Skip to content

ref(preprod): Generalize size retention cutoff helper name#117864

Draft
jamieQ wants to merge 1 commit into
masterfrom
ref/rename-preprod-artifact-retention-cutoff
Draft

ref(preprod): Generalize size retention cutoff helper name#117864
jamieQ wants to merge 1 commit into
masterfrom
ref/rename-preprod-artifact-retention-cutoff

Conversation

@jamieQ

@jamieQ jamieQ commented Jun 16, 2026

Copy link
Copy Markdown
Member

Follow-up to the review on #117539: get_size_retention_cutoff is applied to all preprod builds — including distribution/snapshot artifacts, not just size analysis — so the "size" name was misleading at its call sites.

This renames the helper to get_preprod_artifact_retention_cutoff and the sibling DEFAULT_SIZE_RETENTION_DAYS constant to DEFAULT_PREPROD_ARTIFACT_RETENTION_DAYS, updating all 8 call sites and their tests.

No behavior change — the retention window still derives from the SIZE_ANALYSIS data category, which is the shared retention rule for both size and distribution builds.

Refs #117539

get_size_retention_cutoff is applied to all preprod builds, including
distribution/snapshot artifacts, not just size analysis. Rename it to
get_preprod_artifact_retention_cutoff (and the matching
DEFAULT_PREPROD_ARTIFACT_RETENTION_DAYS constant) so the name reflects
its actual use.

No behavior change; the retention window still derives from the
SIZE_ANALYSIS data category.

Refs #117539
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant