ci: build in debian:trixie — snow:latest exceeds Docker's layer limit#25
Merged
Conversation
The build and release jobs ran inside ghcr.io/frostyard/snow:latest. Since snosi CI began re-chunking published images into 100+ layers for efficient delta updates, Docker refuses to pull them as job containers (max depth exceeded — the ~128-layer overlay2 limit). Last green run predates the chunking (2026-02-27); PR #23's CI died on the container pull before reaching any code. debian:trixie is the same package universe snosi images are built from and all Build-Depends are stock Debian. Adds dpkg-dev/devscripts to the release job (previously inherited from the snow image); drops the now-unneeded privileged options and host mounts. Also fixes the snosi-kickoff dispatch condition: it required refs/heads/main inside a tag-triggered workflow, so it never fired. Fixes #24 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
PR #23's CI failure is infrastructure, not code: the
buildjob runs insidecontainer: ghcr.io/frostyard/snow:latest, and since snosi CI began re-chunking published images into 100+ layers (for efficient delta updates), Docker cannot pull them as job containers —failed to register layer: max depth exceeded(the ~128-layer overlay2 limit). The last green run here was 2026-02-27, before the chunking. Podman/bootc hosts are unaffected; this only bites Docker consumers.Changes
build.yml+release.yml: job container →debian:trixie(the exact package universe snosi images are built from; all Build-Depends are stock Debian). Dropped the--privilegedoptions and host mounts — nothing in the steps used them.release.yml: adddpkg-dev devscriptsto the install step (previously inherited from the snow image).release.yml: fix the snosi-kickoff dispatch condition (fixes release.yml: snosi kickoff dispatch never fires (ref condition checks main on a tag-triggered workflow) #24) — it requiredrefs/heads/maininside a tag-only workflow, so the dispatch never fired.Verification
YAML parses; actionlint clean on both workflows. After this merges, re-run PR #23's checks — they should reach the actual build.
🤖 Generated with Claude Code