Repository navigation
ci: Keep package artifacts for a week instead of a day - #3
Closed
cgwalters-bot wants to merge 1 commit into
Closed
cgwalters-bot wants to merge 1 commit into
cgwalters-bot wants to merge 1 commit into
Conversation
cgwalters-bot
force-pushed
the
bot/ci-artifact-retention
branch
from
September 24, 2026 03:14
cc23c9f to
4be9f5c
Compare
cgwalters
approved these changes
Sep 25, 2026
cgwalters-bot
force-pushed
the
bot/ci-artifact-retention
branch
from
September 25, 2026 19:06
4be9f5c to
c5235be
Compare
The integration test jobs consume the RPMs built by the package job in the same workflow run. With a 1 day retention, re-running a flaked test job on a PR that has been sitting for more than a day fails with "Artifact not found for name: packages-<os>", and the only way out is re-running the whole workflow, including rebuilding the packages. The tradeoff is storage: each packages-<os> artifact is about 8MB, and at recent volume (~10-25 runs a day, 5-6 OSes) a week of them is a few GB at steady state rather than a few hundred MB. That's still small next to the tmt-log artifacts each run uploads with the default 90 day retention (tens of MB each, dozens per run), and artifact storage isn't billed for public repositories anyway. We could go longer if a week turns out not to be enough. Related: bootc-dev#2177 Generated-by: AI Signed-off-by: Colin Walters <walters@verbum.org>
Collaborator
Author
|
Signed off 1 commit(s) with |
cgwalters-bot
force-pushed
the
bot/ci-artifact-retention
branch
from
September 25, 2026 19:06
c5235be to
e8e916b
Compare
Collaborator
Author
|
Opened upstream as bootc-dev#2502. Closing this review draft. |
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.
The integration test jobs download the
packages-<os>RPMs built earlier inthe same workflow run, and those artifacts are uploaded with
retention-days: 1. So re-running a flaked test job on a PR that has sat formore than a day fails with "Artifact not found for name: packages-", and
the only way out is re-running the whole workflow, package builds included.
This is the "Package expiration" item in the flakes tracker.
This raises the retention to 7 days. The only consumers are the
download-artifactsteps in the same run, so nothing depends on the shortexpiry. At about 8MB per artifact and recent run volume that's roughly
3.3GB at steady state, which is free for public repositories and small next
to the tmt logs kept for the default 90 days.
Testing: CI-only change, so not exercised beyond
actionlint, whose findingson
ci.ymlare the same as on main. The real test is re-running a test jobon a PR older than a day.
CI note (2026-09-24): the
test-integration (fedora-44, composefs, xfs, grub, bls, unsealed)failure is unrelated to this change:plan-44-shadow-fixupfailed with "expected exactly one testbootcgroup in /etc/group" because finalization failed withFailed to open /boot: Host is down (os error 112)after the/bootautomount expired, the known flake fixed by #6. Failed jobs will be rerun once the run completes.Related: bootc-dev#2177
Generated-by: https://github.com/cgwalters/#llms
Review draft in cgwalters-forge, not upstream yet. This section is removed when the PR is opened upstream.
bootc-dev/bootc, basemainPVTI_lAHOAQ_SPs4Bj2Gizg8P4SETo review:
/draft, then approve, to open it upstream as a draft (/readyundoes that).