Repository navigation
fix(ci): stream build_final CAS restores and free the CAS before export - #355
Merged
Merged
Conversation
build_final in scheduled run 36971374464 died in "Download and Merge CAS
Chunks" with the runner itself out of disk ("No space left on device"
writing its own diag log). `oras pull -o .` stages each multi-GB tarball
on disk beside the cache it is unpacking into. This ports xfce-linux's
fix (#159, #203):
- scripts/cas-restore-stream.sh + scripts/ghcr-blob-stream.py stream the
blob through zstd and tar (sources/ still excluded). They also resume
GHCR's recurring mid-stream PROTOCOL_ERROR cuts with HTTP Range and
verify the digest.
- A new step checks the final artifact out to .build-out and deletes the
CAS before export, because the cache and the squashed image do not fit
together. `just export` reuses that checkout when
EXPORT_REUSE_CHECKOUT=1; local `just build` is unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TexZnEN3jq4jRUi8T3zZuY
Signed-off-by: hanthor <hanthor@users.noreply.github.com>
Contributor
❌ Plain Install End-to-End Test (stable) — FAILED
|
Member
Author
|
Merged on green required checks. The E2E failures are expected and pre-existing: |
Contributor
❌ LUKS End-to-End Test (stable) — FAILED
|
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.
tromso:latesthas never been published. The two most recent attempts:No space left on devicewriting its own diag log).oras pull -o .stages every multi-GB tarball on disk next to the cache it is unpacking into.This ports the fixes xfce-linux needed before its first
:latestpublished today (run 36964825435):scripts/cas-restore-stream.shandscripts/ghcr-blob-stream.pypipe the blob through zstd and tar, still with--exclude=sources. They resume GHCR's recurringPROTOCOL_ERRORmid-stream cuts with HTTP Range, and verify the sha256..build-outand deletes the CAS, so the squashed image fits.just exportreuses the checkout whenEXPORT_REUSE_CHECKOUT=1. Localjust buildis unchanged.This touches only the x86_64 build_final job. The aarch64 job is skipped today; its download step gets the same streamed restore.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TexZnEN3jq4jRUi8T3zZuY