fix(release): pin agent-core to linux/amd64 for arm64 install (v0.5.1) - #187
Merged
Conversation
The one-command installer failed on Apple Silicon / arm64 hosts at the agent-core pull: agent-core is published amd64-only (Rust + QEMU arm64 build is too slow in CI), the other 4 images are multi-arch, and the release compose did not pin a platform — so arm64 hosts requested a nonexistent linux/arm64 manifest and the install died. Pin agent-core to platform: linux/amd64 so arm64 hosts pull the amd64 image and run it under emulation (verified: full stack healthy on arm64). Pre-existing since v0.4.0; surfaced during the v0.5.0 install smoke. - docker-compose.release.yml: pin agent-core platform + bump example header - install.sh: default SHANNON_VERSION v0.5.0 -> v0.5.1 - CHANGELOG: add [0.5.1] section
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.
Summary
Hotfix for v0.5.1: the one-command installer fails on Apple Silicon / arm64 hosts.
Problem
docker compose pullerrors with:release.ymlbuilds agent-core amd64-only (Rust + QEMU arm64 build is too slow in CI); the other 4 images are multi-arch. The release compose did not pin a platform, so arm64 hosts requested a nonexistent arm64 manifest and the install died at pull. Pre-existing since v0.4.0 — surfaced during the v0.5.0 install smoke.Fix
Pin
agent-coretoplatform: linux/amd64indocker-compose.release.yml. arm64 hosts pull the amd64 image and run it under Docker Desktop emulation.Verification (on Apple Silicon / arm64)
agent-core:v0.5.0has an amd64 manifest (no arm64);docker pull --platform linux/amd64+ run works (uname -m= x86_64 inside)./healthand/api/v1/tools(14 tools) green.Changes
deploy/compose/docker-compose.release.yml— pin agent-coreplatform: linux/amd64; bump example header to v0.5.1scripts/install.sh— defaultSHANNON_VERSIONv0.5.0 → v0.5.1CHANGELOG.md—[0.5.1]sectionAfter merge (separate, explicit)
Tag
v0.5.1on mergedmain→release.ymlrebuilds/pushes images +latest, cuts the GitHub release. Becauseinstall.shpulls the compose from the version tag, the fix only reaches users via this new tag.