Skip to content

ci: build in debian:trixie — snow:latest exceeds Docker's layer limit#25

Merged
bketelsen merged 1 commit into
mainfrom
fix/ci-build-container
Jul 5, 2026
Merged

ci: build in debian:trixie — snow:latest exceeds Docker's layer limit#25
bketelsen merged 1 commit into
mainfrom
fix/ci-build-container

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

PR #23's CI failure is infrastructure, not code: the build job runs inside container: 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 containersfailed 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 --privileged options and host mounts — nothing in the steps used them.
  • release.yml: add dpkg-dev devscripts to 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 required refs/heads/main inside 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

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>
@bketelsen
bketelsen merged commit f284d4c into main Jul 5, 2026
1 check passed
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.

release.yml: snosi kickoff dispatch never fires (ref condition checks main on a tag-triggered workflow)

1 participant