chore(ci): cap Actions artifact retention at 10 days - #1
Merged
Conversation
Sets retention-days: 10 on 1 upload-artifact step(s) across 1 workflow file(s). Part of an org-wide pass; artifacts older than 10 days were deleted in the same pass.
sravinet
marked this pull request as ready for review
August 29, 2026 19:33
PR Summary by QodoCap check-dist artifact retention at 10 days
AI Description
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can group findings by type and pick your Finding display, from Minimal to Full |
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.
What
Sets
retention-days: 10on everyactions/upload-artifactstep in this repo (1 step(s) across 1 workflow file(s)).check-dist.ymlWhy
Part of an org-wide pass. A survey of all 194
CaptainEmpowerrepos found 4,240 live artifacts holding 1.88 GiB, nearly all of it long past any useful review window. Capping retention at 10 days keeps artifacts around for the period people actually pull them and stops storage growing without bound.Artifacts older than 10 days were deleted in the same pass.
How it was made
Applied by a transformer run against all 110 upload-artifact workflows in the org and validated there: every upload step parses back to
retention-days: 10, no other key changes value, and re-running is a no-op. It handles the three shapes — an existingretention-days(value rewritten), awith:block without one (key added), and a step with nowith:block (both added) — and stays clear ofpath: |block scalars.Only the retention value changes; no workflow logic is touched.