Skip to content

builder: pin the nixos/nix base image by digest#156

Merged
Meirtz merged 1 commit into
masterfrom
fix/pin-builder-base-image
Jul 22, 2026
Merged

builder: pin the nixos/nix base image by digest#156
Meirtz merged 1 commit into
masterfrom
fix/pin-builder-base-image

Conversation

@Meirtz

@Meirtz Meirtz commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

The floating nixos/nix:latest tag 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:

#13 0.945 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
./bundle-build.sh: line 32: Segmentation fault (core dumped) nix build .#toolchain …

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_BASE default to the digest the last green master run resolved. The ARG stays overridable via --build-arg for testing newer images, and bundle builds become reproducible instead of tracking a moving tag.

🤖 Generated with Claude Code

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>
@Meirtz
Meirtz merged commit 1359331 into master Jul 22, 2026
5 checks passed
@Meirtz
Meirtz deleted the fix/pin-builder-base-image branch July 22, 2026 19:32
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