Repository navigation
feat(runners): agent images for linux/arm64 - #755
Merged
Merged
Conversation
Signed-off-by: Alex <[email protected]>
Signed-off-by: Alex <[email protected]>
Signed-off-by: Rozhnov Alexandr <[email protected]>
Signed-off-by: Alex <[email protected]>
Contributor
There was a problem hiding this comment.
Reviewed head 5e73450 against the task, DESIGN.md §6.9.3/§15, the registry doc and the repo's runner patterns. No remarks that need PR comments. The runner falls back to amd64 only on a missing-platform pull error. Containers are created for the platform of the image the daemon holds. The arm64 probe skip is documented in the Dockerfile. Tests cover the amd64, unspecified, arm64 and amd64-only-image cases, and a refused pull is not retried.
Merged
artempartos
added a commit
that referenced
this pull request
Dec 2, 2026
…#983) The agent images and aixle-runner have been multi-arch since #755, but the other three images a release publishes were amd64 only, so an arm64 host ran them under emulation. The Go images cross-compile on the build platform and need QEMU only for the final stage's user setup. The web image builds natively per platform, arm64 on GitHub's arm64 runner because a Rails build under QEMU would not finish in the job's time, pushes by digest, and a Publish Web job tags the index once both builds pass. Each image gets its own GHA cache scope instead of sharing the default one. Signed-off-by: Artem Petrov <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
What
Agent images for
linux/arm64(task #226).runner/internal/docker):container.startpulls the daemon's own platform (from/info) and falls back tolinux/amd64only when the pull says the image lacks that platform ("no matching manifest" / "does not provide the specified platform"). Other pull failures are not retried. The agent container, the proxy sidecar and the scrub container are created for the platform of the image the daemon holds (ImageInspect), replacing the fixedlinux/amd64of fix(sessions): name the connection a blocked launch is waiting on #227.platformsfield inconfig/agent_runtimes.json(default both). No runtime sets it: every CLI installs for arm64 (Dockerfiles already mapTARGETARCH; npm packages of Codex, Grok, Copilot shiplinux-arm64; Kiro, Antigravity have arm64 checksums; Claude/AWS CLI/Cursor mapped by arch). Registry test validates the field.docs/operations/patches/images-arm64.patchchangesimages.yml(QEMU,platformsper runtime from the registry, a cache scope per image, 60 min timeouts). It is a patch because agents can't push.github/workflows/. Apply withgit apply docs/operations/patches/images-arm64.patch.How to test
cd runner && go test ./internal/docker/(new cases: amd64 daemon, unspecified daemon, arm64 daemon with and without arm64 image, no retry on a refused pull).