Repository navigation
feat: build every agent harness for linux/amd64 - #13519
Merged
Merged
Conversation
cv
enabled auto-merge (squash)
October 20, 2026 07:09
Contributor
This was referenced Oct 20, 2026
cv
added a commit
that referenced
this pull request
Oct 20, 2026
## Failure Since #13519, both platforms build all ten agent harnesses, but `docker-bake.hcl` still kept a list per platform (`PLATFORM_HARNESSES`). `cargo images build` still ran Bake once per platform before every build, to explain harnesses built for only one platform. And the live suites still picked Deep Agents on AMD64 because Pi used to be ARM64-only. ## Decision One list: - **`docker-bake.hcl`:** the `agents` matrix iterates `keys(HARNESSES)`, and `PLATFORM_HARNESSES` is gone. - **`cargo images build`:** - `platform_harnesses` and the per-platform check go; - its fixture test goes too; - Bake reports an unknown target itself. - **Live suites:** they run Pi, the smallest agent image, on both platforms. `agent`, `names`, `unused` and `load` lose their now-unused platform parameters. (+21 −150, including the removed test.) ## Validation - `docker buildx bake --print agents` lists all ten, and `AGENT_PLATFORM=linux/amd64 docker buildx bake --check agents` passes. - `cargo ci` passed, including the bundle and lifecycle steps. - The live suites' behavior on ARM64, where CI runs them, is unchanged.
cv
pushed a commit
that referenced
this pull request
Oct 26, 2026
## Failure #12734 asks the live suites to validate OpenClaw agents managed through Fabric. They ran Pi instead, because OpenClaw couldn't start in an OpenShell sandbox with Fabric v0.5.0 (#13372). #13698 pinned Fabric `main`, where OpenClaw starts, but left the live suites on Pi. ## Decision `live_images::agent()` now returns the `openclaw` Bake target and the `nvidia.fabric.openclaw` harness. `cargo ci live-images`, `live-docker` and `live-kind` all take the agent from it, so no runner changes. ```mermaid flowchart LR images["cargo ci live-images<br/>builds nc-live-images:openclaw"] --> docker["Live / Docker"] images --> kind["Live / Kind"] docker --> sandbox["OpenShell sandboxes<br/>nvidia.fabric.openclaw"] kind --> sandbox ``` - Both Linux platforms switch. The `agents` Bake matrix builds `openclaw` for `linux/arm64` and `linux/amd64` (#13519, #13520), and no doc excludes OpenClaw on either. - The Kubernetes live tests add model extensions only for Pi, so their documents need no change. - Four `ci_lifecycle` tests, the Kind archive-load unit test, `docs/contributing/testing.md` and `docs/contributing/live-tests.md` named Pi as the live image; they now name OpenClaw. - The `docs/limits.md` row for the OpenClaw request walkthrough stays: the live suites request no inference, so they don't rehearse it. **Budgets:** unchanged. The OpenClaw image is larger than Pi's (about 1 GB with the dummy), and loading it happens before the timed tests; OpenClaw adds about 8–10 s to each Kind test that starts an agent, which CI measured well inside the 270 s and 120 s budgets. ## Validation - The updated expectations failed against Pi, then passed after the switch. - `cargo ci` passes after merging v1 `9106480f4`: unit, schema, bundle and 156 lifecycle tests. - Real live runs with OpenClaw on linux_arm64 (`cargo ci live-images`, then `live-kind` and `live-docker --images`): Kind 7/7 in 249.0 s (slowest 97.1 s), Docker 9/9 in 231.2 s. This host runs Kind about 1.5 times slower than a CI runner; Pi took 224.9 s here. - This PR's earlier CI (run 40215004408) passed Live / Kind and Live / Docker on both architectures: Kind took 186.3 s (arm64) and 198.0 s (amd64) of 270 s, the slowest test 82.6 s of 120 s, about 8–10 s more per agent test than Pi. Part of #12734. 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.
Failure
Only Deep Agents and OpenClaw built for linux/amd64.
docs/build.mdsaid the other eight harnesses stayed ARM64-only "until their pinned native dependencies have matching AMD64 artifacts and qualification."That restriction dates from #11998, when each harness had its own lockfiles with per-architecture wheel hashes and only those two got amd64 lockfiles. Commit
0788984c01then removed every harness lockfile: images install from Fabric's frozenuv.lock, which records wheels for all platforms. So the stated reason no longer clearly applies, and #13516 needs to know which images can be published for amd64.Decision
List all ten harnesses for linux/amd64 in
docker-bake.hcl, and let CI's native amd64 image job build and qualify each one, as the arm64 job does. Any harness that fails there goes back to ARM64-only, with its actual reason recorded indocs/build.md.Validation
docker buildx bake --checkpasses for both platforms;cargo cipasses.Imagesjob, which builds each harness and runscargo images qualify(with lifecycles for OpenClaw, Hermes and Pi) plus the image tests, is the test of this change.