Repository navigation
fix(apply): pull and read every agent image before creating the gateway - #14701
Merged
Merged
Conversation
Apply waits for each sandbox image's pull and read before creating the gateway, its storage, model servers, the workspace, or agent configuration. Plan reports an image the engine doesn't hold as absent and reads the observations OpenTofu keeps in prior_state. Onboarding's review reads the image and saves only when Enter's read matches what the review showed.
…te-leftovers # Conflicts: # crates/nemoclaw-authoring/src/journey_state/observations.rs # crates/nemoclaw-onboarding/src/tui/tests.rs # docs/build-deploy/usage.md
Collaborator
Author
Authoring session — opening
|
Contributor
This was referenced Nov 20, 2026
cv
added a commit
that referenced
this pull request
Nov 20, 2026
#14716) The v1 release notes record what reached `v0.1.0-rc12` as that release candidate's own changes and breaking changes, record what reached `v1` after its tag, and add the managed llama.cpp service to the support matrix. The release guide lists the `llama-cpp` package that staging requires. ## Problem `docs/about/release-notes.md` listed everything after `v0.1.0-rc11` as unreleased, although `v0.1.0-rc12` is tagged at 1636069. Three user-visible changes in it had no note: #14567, #14611, and #14594. The onboarding line from #14598 and #14652 sat under rc11, although both merged after its tag. The support matrix didn't list managed llama.cpp or its GPU case. Staging `v0.1.0-rc12` first failed because `ghcr.io/nvidia/nemoclaw/v1/llama-cpp` didn't exist: #14636 added the image to staging, but `internal-docs/contributing/releases.md` doesn't list its package among those a maintainer creates. ## Change - Relabel "Changes Since v0.1.0-rc11" and "Breaking Changes Since v0.1.0-rc11" as "Changes in v0.1.0-rc12" and "Breaking Changes in v0.1.0-rc12", between the `v0.1.0-rc11` and `v0.1.0-rc12` tags, and point the two links to them. - Add "Changes Since v0.1.0-rc12" with what merged after the tag: the Fabric `v0.7.0` pin (#14714), and apply pulling and reading every agent image before it creates the gateway, with plan and the onboarding review reporting an absent image (#14701). #14706, #14709, and #14717 change only documentation. Add an empty "Breaking Changes Since v0.1.0-rc12". - Add notes to rc12's changes: - #14567: `spec.sandboxes.<name>.gpus` requests GPUs for an agent's tools. - #14611: a `kind: llamaCpp` service serves one pinned GGUF on one CUDA GPU; `kind: nim` remains a candidate, with #14556's qualification record. - #14594: images keep the license notices their components require. - Move the line on choosing the one local image that installs the harness (#14598, #14652) from rc11's section to rc12's. - Support matrix: llama.cpp and the native NIM candidate in the `docker` row; Model Services rows for managed llama.cpp, which the `docker-openclaw-llama-cpp` case runs on the GPU runner, and for native NIM, qualified by hand; the GPUs text covers llama.cpp and NIM hardware checks and sandbox `gpus`. - `internal-docs/contributing/releases.md`: list `llama-cpp` with the packages a maintainer creates before staging. Release candidates have no users, so the notes add no migration steps.
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.
nemoclaw applynow pulls and reads every agent image before it creates the gateway, its storage, or any agent configuration, so an image that can't be pulled or doesn't fit its sandbox leaves nothing to destroy.nemoclaw planand thenemoclaw onboardreview report an image the engine doesn't hold as absent and link the build instructions.Problem
An agent image the engine doesn't have wasn't reported until apply failed, and by then apply had started the gateway. With
examples/onboarding/openclaw.yamland its placeholdernc-fabric@sha256:000…image:Image … · not checked. The Enter that saved also made the first image read, so the user never saw "not present" beforedeployment.yamlwas written.nemoclaw plansaid "Selected image Fabric capabilities are unverified; image metadata or compatibility is incomplete". On a first plan the discovery output is partly unknown, and plan ignored the reads OpenTofu keeps inprior_state, so it never saw that the image read found the image absent. It printed the message for the_acquiredread, which waits for the pull.nemoclaw applyfailed withpull access denied for nc-fabric, but the gateway container, its network, its data volume, and the agent configuration remained.Resolves #14596.
Change
docker_imagepulls depends on each pulled sandbox image'sdata.fabric_harnesses.<sandbox>_acquiredread (sandbox_images_firstincompile.rs). That read fails when the pull fails or the image's Fabric metadata doesn't fit the sandbox, so both stop apply before anything is created. Pulls still run in parallel. This mirrors whatruntime_image_checksalready does for inference images.prior_statewhen the discovery output is partly unknown, using each read's own attribute (engine_jsonandhardware_jsonforhost_engine). An image read with statusunavailablereports the image as not on the engine with the build link, and its_acquiredread adds no second message.not present, with a line on how to get one.BUILD_AGENT_IMAGESmoves tonemoclaw_authoring's public API so the review row and the image question share it.Beyond CI
On Docker Desktop 29.9.3 (arm64), before merging the latest
v1, with the issue's deployment (nvidia.fabric.codexand the placeholder image):nemoclaw planlisted the absent image, with the build link, and the gateway check that waits for apply.nemoclaw applyfailed onpull access denied for nc-fabric. State held only the plan-time reads and the gateway image pull, and Docker showed no new container, network, or volume.Not verified: the onboarding review was checked only through its rendered-screen tests, not by hand.