Skip to content

ci: install flux in the release-1.5 cache warmer - #3480

Merged
myasnikovdaniil merged 1 commit into
release-1.5from
ci/warmer-flux-toolchain
Jul 31, 2026
Merged

myasnikovdaniil merged 1 commit into
release-1.5from
ci/warmer-flux-toolchain

Conversation

@myasnikovdaniil

Copy link
Copy Markdown
Contributor

What this PR does

Adds the flux CLI to the release-1.5 cache warmer, which #3469 moved onto the ephemeral runner shape without carrying over the toolchain step that main's warmer and this branch's pull-requests.yaml both have.

make build finishes at packages/core/installer, whose image-packages target shells out to flux push artifact. The self-hosted runner the warmer used to target had flux baked in; the ephemeral shape does not.

Confirmed on the first warmer run after #3469 merged (run 30430753152): it failed at 49 minutes with /bin/sh: 1: flux: not found on Makefile:35, the last of 28 packages.

The cache itself came out warm, because every package exports its cache as it builds and installer is last:

cache export operations 87
cache manifests written 70
repos created under CACHE_REGISTRY 34
ubuntu-container-disk refs (v1.30–v1.35, mode=max) all 6
real auth or export failures 0

So the only loss was the cozystack-packages:release-1.5 artifact push, and nothing downstream depends on it — PR builds build the installer themselves with flux present. This also settles the open question from #3469: the registry credentials can create repositories under the new cozystack-cache-release-1.5/* namespace, so no fallback to a cache-tag suffix is needed.

Fixing it still matters. A permanently red warmer means a genuine breakage is indistinguishable from this known-broken tail, and nothing else reports on that workflow.

The alternative would be teaching the warmer to run the 28 image builds without the artifact push, but no such target exists and it would diverge from main's warmer for no gain. Installing the CLI keeps the two warmers identical in shape, and matches main publishing cozystack-packages:main from its own warmer.

Release note

NONE

`make build` finishes at packages/core/installer, whose image-packages
target shells out to `flux push artifact`. The warmer used to target the
self-hosted runner, which had flux baked in; #3469 moved it to the
ephemeral shape without carrying over the toolchain step that main's
warmer and pull-requests.yaml both have for exactly this reason.

Confirmed on the first run after #3469 merged (run 30430753152): it failed
at 49 minutes with `/bin/sh: 1: flux: not found` on Makefile:35, the last
of 28 packages. Everything before it had already exported its cache -- 87
export operations, 70 cache manifests, 34 repos created under
CACHE_REGISTRY, including all six ubuntu-container-disk refs -- so the
cache came out warm and only the cozystack-packages artifact push was
lost. A red warmer is still a broken signal, and nothing else would have
reported it.

Assisted-By: Claude <[email protected]>
Signed-off-by: Myasnikov Daniil <[email protected]>
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 24898084-ab73-4073-863b-2b9fd2a10cce

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added size/S This PR changes 10-29 lines, ignoring generated files area/uncategorized PR auto-labeler could not map title scope to a known area/*; please review labels Jul 29, 2026
@dosubot dosubot Bot added area/build Issues or PRs related to image build infrastructure, multi-arch support area/ci Issues or PRs related to CI workflows, GitHub Actions, automation labels Jul 29, 2026
@myasnikovdaniil
myasnikovdaniil merged commit ef72c63 into release-1.5 Jul 31, 2026
12 of 13 checks passed
@myasnikovdaniil
myasnikovdaniil deleted the ci/warmer-flux-toolchain branch July 31, 2026 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Issues or PRs related to image build infrastructure, multi-arch support area/ci Issues or PRs related to CI workflows, GitHub Actions, automation area/uncategorized PR auto-labeler could not map title scope to a known area/*; please review size/S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant