Skip to content

test(build): plan agent images only on Linux hosts - #13386

Merged
cv merged 1 commit into
v1from
test/bake-on-linux
Oct 17, 2026
Merged

cv merged 1 commit into
v1from
test/bake-on-linux

Conversation

@cv

@cv cv commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Failure

On #13384's Windows job, two nemoclaw-build bake tests timed out at 24 s (bake::amd64_builds_only_its_qualified_harnesses and bake::arm64_builds_every_harness_locally_for_its_platform), failing the job. They were already slow there: the two most recent v1 Windows runs took 10.7–16.3 s for them, compared with 2.6–3.6 s on Linux ARM64. Each test runs docker buildx version and then docker buildx bake --print, and buildx is slow on the Windows runners.

Decision

The tests check how docker-bake.hcl plans the Linux agent images, and those images are only built on Linux hosts. Planning them on Windows or macOS adds no coverage, so the tests now skip on any host other than Linux, the same way they already skip when buildx is missing. The Linux runs, where the images are built, keep the coverage. No time budgets change.

Validation

cargo ci passes locally on Linux (1530 unit tests and 149 lifecycle tests), with the bake tests still running.

The bake tests check how docker-bake.hcl plans Linux agent images, which
are built only on Linux. On Windows runners buildx is slow: 10-16 s per
test, and the 24 s timeout on #13384's run. Skip them off Linux, as when
buildx is missing.
@cv
cv merged commit 63566fc into v1 Oct 17, 2026
@cv
cv deleted the test/bake-on-linux branch October 17, 2026 09:21
@github-actions

Copy link
Copy Markdown
Contributor

cv added a commit that referenced this pull request Oct 18, 2026
Closes #13310.

## Failure

#13310 tracked `nemoclaw-build` integration tests exceeding the 8 s
per-test budget on loaded CI runners. Two of its three parts are already
fixed:

- **`changes::*` on Linux:** #13407 cut the repeated Cargo and Git work.
- **`bake::*` on Windows:** #13386 plans agent images only on Linux
hosts.

One test was left.
`images::harnesses_missing_from_the_selected_platform_name_the_platforms_that_build_them`
still ran `docker buildx bake --print` wherever buildx exists. On the
latest `v1` Windows run it took 14.0 s, and the run reported it over
budget.

## Decision

Give it the same guard as `bake.rs`: agent images are Linux images, so
the test plans them only on Linux hosts with buildx. On Windows and
macOS it's skipped with the same message as `bake.rs`. Planning them
there adds no coverage, and buildx is slow on Windows runners.
Test-only; the budget is unchanged.

## Validation

- The test still runs and passes on Linux (`images::*`: 4 passed).
- `cargo ci` passes locally: 1,598 unit tests and 149 lifecycle tests.
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance platform: windows Affects native Windows environments v1 NemoClaw v1 branch labels Oct 23, 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: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance platform: windows Affects native Windows environments v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants