Skip to content

feat: build every agent harness for linux/amd64 - #13519

Merged
cv merged 1 commit into
v1from
feat/amd64-all-harnesses
Oct 20, 2026
Merged

cv merged 1 commit into
v1from
feat/amd64-all-harnesses

Conversation

@cv

@cv cv commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

Failure

Only Deep Agents and OpenClaw built for linux/amd64. docs/build.md said 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 0788984c01 then removed every harness lockfile: images install from Fabric's frozen uv.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 in docs/build.md.

Validation

  • Locally:
    • the Bake tests pass, with the amd64 test now expecting all ten;
    • docker buildx bake --check passes for both platforms;
    • cargo ci passes.
  • In CI: this host can't build amd64 images, so the amd64 Images job, which builds each harness and runs cargo images qualify (with lifecycles for OpenClaw, Hermes and Pi) plus the image tests, is the test of this change.

@cv
cv enabled auto-merge (squash) October 20, 2026 07:09
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit 0c07f16 into v1 Oct 20, 2026
@cv
cv deleted the feat/amd64-all-harnesses branch October 20, 2026 07:22
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.
@wscurran wscurran added area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance platform: container Affects Docker, containerd, Podman, or images labels Oct 23, 2026
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]>
@wscurran wscurran added the v1 NemoClaw v1 branch label Oct 28, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance platform: container Affects Docker, containerd, Podman, or images v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants