builder: pin the nixos/nix base image by digest#156
Merged
Conversation
The builder Dockerfile defaulted AGENTIX_BUILDER_BASE to the floating nixos/nix:latest tag. That tag moved between the last green master run and today, and the new image's nix binary segfaults immediately under qemu-user x86_64 emulation on arm64 hosts (exit 139 in bundle-build.sh step 1), deterministically failing the 'build e2e (linux/arm64 to linux/amd64)' matrix cell for every PR. The three non-emulated / arm64-emulated cells still pass, which localizes the fault to the image-under-qemu combination rather than any repo change. Pin the default to the digest the last green master run resolved (sha256:bf1d9388...). The ARG stays overridable for testing newer images; bundle builds also become reproducible instead of tracking a moving tag. 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.
The floating
nixos/nix:latesttag moved since the last green master run (Jul 4:sha256:bf1d9388…; today:sha256:377d4887…), and the new image's nix binary segfaults immediately under qemu-user x86_64 emulation on arm64 hosts:This deterministically fails the
build e2e (linux/arm64 to linux/amd64)matrix cell for every PR (reproduced twice on #155, identical failure point; the other three cells pass, localizing the fault to image×qemu rather than any repo change).Pin the
AGENTIX_BUILDER_BASEdefault to the digest the last green master run resolved. The ARG stays overridable via--build-argfor testing newer images, and bundle builds become reproducible instead of tracking a moving tag.🤖 Generated with Claude Code