perf(ci): native ARM Docker build (drop 90min QEMU emulation)#185
Merged
Conversation
Multi-arch Docker build `platforms: linux/amd64,linux/arm64` on a single x86_64 runner used QEMU to emulate arm64 — Rust + C++ build inside that emulated container takes 5-10× native time. Last release spent 90+ min on the Docker step. Split into per-platform matrix using the free `ubuntu-24.04-arm` runner for arm64. Same pattern as PR #182's release matrix swap. Each platform builds + pushes a `:tag-amd64` / `:tag-arm64` image. A docker-manifest job combines them into the canonical `:tag` and `:latest` multi-arch references via `docker buildx imagetools create`. Expected: 90min → ~10min wall-clock (two ~10min native builds in parallel + ~30s manifest combine). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7xuanlu
added a commit
that referenced
this pull request
May 25, 2026
Resolves conflict in Cargo.toml [workspace.dependencies] where P0a's `fs2 = "0.4"` collided with main's new `[profile.release]` block from the CI-throughput tune (PRs #173/#179/#182/#184/#185/#186 wave). Brings in stale-test fix for `release_workflow_publishes_cli_and_mcp_npm_packages` via PR #173's distribution.rs update (drops origin-darwin-x64 needle). Co-Authored-By: Claude Opus 4.7 (1M context) <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.
Multi-arch Docker build with `platforms: linux/amd64,linux/arm64` on x86_64 runner uses QEMU to emulate arm64. Rust + C++ compile under emulation = 5-10× native time. v0.7.0 spent 90+ min on the Docker step. Cancelled and applying fix.
Change
Split into per-platform matrix using free `ubuntu-24.04-arm` for arm64 (same as PR #182's release matrix). Per-platform tags (`:v0.7.0-amd64`, `:v0.7.0-arm64`), then `docker-manifest` job combines them via `docker buildx imagetools create` into canonical `:v0.7.0` and `:latest` multi-arch refs.
Expected: 90min → ~10min wall-clock.
Risk