Skip to content

ci: Keep package artifacts for a week instead of a day - #3

Closed
cgwalters-bot wants to merge 1 commit into
mainfrom
bot/ci-artifact-retention
Closed

cgwalters-bot wants to merge 1 commit into
mainfrom
bot/ci-artifact-retention

Conversation

@cgwalters-bot

@cgwalters-bot cgwalters-bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

The integration test jobs download the packages-<os> RPMs built earlier in
the 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 for
more 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-artifact steps in the same run, so nothing depends on the short
expiry. 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 findings
on ci.yml are the same as on main. The real test is re-running a test job
on 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-fixup failed with "expected exactly one testbootcgroup in /etc/group" because finalization failed with Failed to open /boot: Host is down (os error 112) after the /boot automount 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.

  • Upstream: bootc-dev/bootc, base main
  • Board item: PVTI_lAHOAQ_SPs4Bj2Gizg8P4SE

To review:

  • Approve to open it upstream, ready for review.
  • Comment /draft, then approve, to open it upstream as a draft (/ready undoes that).
  • Close to drop it.
  • Edit the title and description freely: they become the upstream PR's. Review comments are addressed with fixup commits and a reply here.

@cgwalters-bot
cgwalters-bot force-pushed the bot/ci-artifact-retention branch from 4be9f5c to c5235be Compare September 25, 2026 19:06
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>
@cgwalters-bot

Copy link
Copy Markdown
Collaborator Author

Signed off 1 commit(s) with Signed-off-by: Colin Walters <walters@verbum.org> for bootc-dev/bootc's DCO check, on cgwalters's approval #3 (review) of 4be9f5c3abc2. Same trees; the head is now e8e916be9d84.

@cgwalters-bot
cgwalters-bot force-pushed the bot/ci-artifact-retention branch from c5235be to e8e916b Compare September 25, 2026 19:06
@cgwalters-bot

Copy link
Copy Markdown
Collaborator Author

Opened upstream as bootc-dev#2502. Closing this review draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants