Skip to content

ci: run the integration jobs on Docker 29.10 - #118

Merged
ipmb merged 1 commit into
mainfrom
ci-bump-runner-docker
Nov 18, 2026
Merged

ipmb merged 1 commit into
mainfrom
ci-bump-runner-docker

Conversation

@ipmb

@ipmb ipmb commented Nov 18, 2026

Copy link
Copy Markdown
Member

integration-heroku24 has been failing on main since the runner image changed. The daemon, not this repo, is what broke.

Why

ubuntu-latest now resolves to ubuntu-26.04, which ships Docker 29.4.2 with the containerd image store. On Docker older than 29.9.0, pulling an image whose uncompressed layers are already unpacked on disk skips downloading those layers' compressed blobs, even when the new image references different blobs (moby/moby#49784, from containerd/containerd#8973). The image runs fine but cannot be exported.

pack build is prone to it: a builder carries the run image's base layers, and heroku/builder's layers were re-gzipped at some point (heroku/cnb-builder-images#1103), so builder and run image share diffIDs but reference different blobs. Pack pulls the builder first, so the run image lands incomplete. Exporting to the daemon then has to docker save that run image, which fails with

failed to fetch base layers: open /tmp/imgutil.local.image.*/blobs/sha256/...: no such file or directory

That is buildpacks/pack#2747, filed three days before our first failure. It explains why only integration-heroku24 broke while the builder:22 jobs stayed green: those images do not share layers the same way.

The fix is moby/moby#53615, first released in Docker 29.9.0. The runner images do not have it yet (actions/runner-images#15330), so the integration jobs start their own 29.10.0 daemon.

Scope

This changes the Docker version and nothing else. setup-docker-action inherits the runner's /etc/docker/daemon.json, so the containerd image store stays enabled and the version is the only variable. Its daemon listens on its own socket rather than /var/run/docker.sock, so the bind mount follows DOCKER_HOST.

Making the integration jobs match the daemon CodeBuild actually provides — classic image store, registry mirror, cold cache — is a separate concern, and #116 does that. Once this merges, #116 should be rebased and these four steps dropped, since it stops using the runner's daemon altogether.

Verification

Red before on main (run 44369717909), where integration-heroku24 was the only failing job. The checks on this PR are the test.

🤖 Generated with Claude Code

The runner's daemon is Docker 29.4.2 with the containerd image store.
A pull there can leave an image missing the compressed blobs for layers
already unpacked on disk (moby/moby#49784, from containerd/containerd#8973),
so the image runs but cannot be exported.

pack build hits this: a builder carries the run image's base layers, and
heroku/builder's layers were re-gzipped at some point, so builder and run
image share diffIDs but reference different blobs. Pack pulls the builder
first, leaving the run image incomplete. Exporting to the daemon then has
to docker save the run image, which fails with

    failed to fetch base layers: open /tmp/imgutil.local.image.*/blobs/sha256/...

That is buildpacks/pack#2747. It is why integration-heroku24 started
failing while the builder:22 jobs stayed green: those two images do not
share layers the same way.

Fixed in moby/moby#53615, first released in Docker 29.9.0, which the
runner images do not have yet (actions/runner-images#15330). So start a
29.10.0 daemon instead of using the runner's.

The action inherits the runner's /etc/docker/daemon.json, so the image
store is unchanged and the Docker version is the only variable. Its
daemon listens on its own socket rather than /var/run/docker.sock, so
the bind mount follows DOCKER_HOST.

Co-Authored-By: Claude Opus 5 <[email protected]>
@ipmb
ipmb force-pushed the ci-bump-runner-docker branch from 825964f to aab8b7c Compare November 18, 2026 20:12
@ipmb
ipmb merged commit 2b57fbd into main Nov 18, 2026
9 checks passed
@ipmb
ipmb deleted the ci-bump-runner-docker branch November 18, 2026 20:17
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.

1 participant