Repository navigation
perf(ci): load saved images directly into Kind - #13188
Merged
Merged
Conversation
Contributor
cv
added a commit
that referenced
this pull request
Oct 20, 2026
## Failure Releases need the exact images CI checked (#13516), but `CI / Images` discarded every image it built and checked. A release workflow would have to rebuild them, and agent images are not reproducible byte for byte, so the published digests would differ from the checked ones. ## Decision Build once per commit, and let releases promote what was checked. - **`image-build.yml` (new, reusable):** - it has the image job's steps, unchanged; - it takes the validation plan's result, the image decision, and a `push` switch; - the calling job is named `Build` and its own job is named after the platform, so the required checks keep their names (`Build / linux_arm64`, `Build / linux_amd64`). - **`images.yml`** calls it, with `push` only for pushes to `v1`. Pull requests, stacked branches, and pushes that skip image work push nothing. - **When pushing,** after the existing checks pass, each agent image and the Ollama proxy is pushed to `ghcr.io/nvidia/nemoclaw/v1-ci/<image>:<commit>-<arch>` with the workflow's own token: - Docker's containerd store pushes the manifest it built, so the digest doesn't change; - the job summary lists each digest and its push time; - the job fails if any of those packages turns out public, since nothing must be public before a release. - **Left alone:** the live suites' `live-images` path, which is tuned to stay behind the bundle on the critical path (#12995, #13188, #13239). Later: the tag workflow that promotes these digests (#13516), and a cleanup schedule for old per-commit tags. ## Validation - `actionlint` reports nothing for both workflows. - This pull request runs the same steps through the reusable workflow, without pushing. - **Not yet run:** the push step, which runs only on a `v1` push that builds images. I'll watch the first one for push time and the new packages' visibility; earlier, a package pushed with a personal token started `internal`.
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.
The Kind live suite loads CI's saved images into host Docker, exports the agent again to read its metadata, then lets
kind load docker-imageexport it a second time for the node. The reference AMD64 job spent about 110 seconds on that path before test-archive extraction.When
--imagesis supplied, decompress the existing archive once, select the agent by its exact OCI image name, and verify its metadata while seeking past layer data. Import withkind load image-archive, then give the node image the same unique digest reference used by the tests. The local image-build path stays available.The entire shared archive is imported into the disposable node, including auxiliary images. This keeps the artifact format unchanged; hosted CI will establish whether the removed host load and exports outweigh that extra node import work. No hosted speedup is claimed yet.
Validation:
cargo ci --fullpassed in 332 seconds: 1,501 regular tests and 138 lifecycle tests, plus formatting, Clippy, workspace build, schema, and bundle checks.crictl inspecti. The temporary cluster was deleted.