Repository navigation
ci: run the integration jobs on Docker 29.10 - #118
Merged
Merged
Conversation
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
force-pushed
the
ci-bump-runner-docker
branch
from
November 18, 2026 20:12
825964f to
aab8b7c
Compare
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.
integration-heroku24has been failing onmainsince the runner image changed. The daemon, not this repo, is what broke.Why
ubuntu-latestnow resolves toubuntu-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 buildis prone to it: a builder carries the run image's base layers, andheroku/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 todocker savethat run image, which fails withThat is buildpacks/pack#2747, filed three days before our first failure. It explains why only
integration-heroku24broke while thebuilder:22jobs 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-actioninherits 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 followsDOCKER_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), whereintegration-heroku24was the only failing job. The checks on this PR are the test.🤖 Generated with Claude Code