Repository navigation
test(build): plan agent images only on Linux hosts - #13386
Merged
Merged
Conversation
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.
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.
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
On #13384's Windows job, two
nemoclaw-buildbake tests timed out at 24 s (bake::amd64_builds_only_its_qualified_harnessesandbake::arm64_builds_every_harness_locally_for_its_platform), failing the job. They were already slow there: the two most recentv1Windows runs took 10.7–16.3 s for them, compared with 2.6–3.6 s on Linux ARM64. Each test runsdocker buildx versionand thendocker buildx bake --print, and buildx is slow on the Windows runners.Decision
The tests check how
docker-bake.hclplans 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 cipasses locally on Linux (1530 unit tests and 149 lifecycle tests), with the bake tests still running.