Repository navigation
refactor: remove the Qwen3.8 recipe image - #13506
Merged
Merged
Conversation
NemoClaw packaged MiaAI Lab's Qwen3.8 recipe for one DGX Spark configuration, with its AGPL patches to vLLM, preparation and verification scripts, and notices. That work belongs to the recipe's authors and vLLM; NemoClaw keeps only the generic recipe contract (#13472).
cv
enabled auto-merge (squash)
October 20, 2026 00:57
Contributor
This was referenced Oct 20, 2026
cv
added a commit
that referenced
this pull request
Oct 20, 2026
## Failure NemoClaw built its images two ways. Agent and proxy images used `docker buildx bake` (`docker-bake.hcl`). The vLLM and Ollama runtime images, under `runtimes/`, used a separate runtime builder in `nemoclaw-build`: `cargo run -p nemoclaw-build -- runtime runtimes/<name>/build.json`, about 780 lines plus a `build.json` per runtime and its own tests. That builder staged and vendored the supervisor's sources, compiled the supervisor on the host, downloaded licenses by checksum, wrote `supervisor.json`, exported an OCI archive, loaded it, and checked its digest. ## Decision One build path, and the images in one place. - **Layout:** `runtimes/vllm` and `runtimes/ollama` become `image/vllm` and `image/ollama`, beside `image/fabric` and `image/ollama-proxy`. - **`image/supervisor/Dockerfile`** (on pinned `rust:1.99.1-bookworm`): - packages the runtime crate with `cargo package`; - vendors its locked dependency sources; - archives them with fixed timestamps; - compiles the supervisor `--offline` from that archive. Bookworm's glibc 2.36 is older than both bases' 2.39, so the supervisor stays dynamically linked as before. - **The vLLM and Ollama Dockerfiles stay thin:** each copies the supervisor and its source archive from the shared stage and keeps its notice, its Dockerfile, and the supervisor's Dockerfile under `/opt/nemoclaw/source/`. The Ollama license comes in by `ADD --checksum`. - **`docker-bake.hcl`** gains `supervisor`, `vllm`, `ollama` and the `runtimes` group: - runtime targets always build for the host's platform (`BAKE_LOCAL_PLATFORM`), so the supervisor never compiles under emulation; - provenance is disabled and timestamps are rewritten, so the same sources give the same digest; - Docker's containerd store can't unpack while rewriting timestamps, so the output sets `unpack=false`; Docker unpacks on first run. - **Small behavior change:** `AGENT_PLATFORM` now defaults to the host's platform instead of being required, still validated to `linux/arm64` or `linux/amd64`. `cargo images build` and CI keep passing it explicitly. - **Removed from `nemoclaw-build`:** - the runtime builder, its `runtime` command, `source_archive`, and its dependency on `nemoclaw-runtime`; - the builder's tests, and their two names in the `live-docker` filter. The test that the CI builder doesn't pull in the SDK moves to `builder_dependencies.rs`. - **Dropped:** `supervisor.json` and the runtime-only source version. Nothing read them; the retained archive is the source record, and the runtime contract stays checked through `nemoclaw_runtime::SPEC_VERSION` and the image labels. - **CI path rules:** runtime image directories keep out of `CI / Images`, as `runtimes/` did, and still trigger the live, bundle and lifecycle checks through `image/**`. - **Docs and examples** use `docker buildx bake vllm` or `ollama` and `docker image inspect` for the digest. ## Validation - **Checks:** `cargo ci` passed, including the bundle and lifecycle steps, after rebasing onto #13506. `fern check` reported 0 errors. - **New bake tests:** - runtime targets plan only for the host, with the supervisor context and rewritten timestamps; - agent targets default to the host and reject other platforms. - **On a DGX Spark (linux/arm64):** - `docker buildx bake runtimes` built both images. The vLLM image keeps its four NemoClaw labels, and both supervisors run. - The retained archive holds the runtime package with its notice, a `Cargo.lock` with no SDK, provider, OpenShell, Fabric, Bollard or Tonic packages, the vendored sources (about 19,700 entries), and the vendoring config. - Rebuilding Ollama with `--no-cache` produced the same digest (`sha256:6d776313…`). - `cargo ci live-docker` passed (9 tests: the previous 11 minus the two builder tests). - The managed Hermes example with the new Ollama image applied, and Hermes ran `uname -m` and replied `aarch64`. The deployment was destroyed and its objects removed. - **Not run:** live vLLM serving and an AMD64 build.
gaveezy
added a commit
that referenced
this pull request
Oct 20, 2026
v1 removed the Qwen3.8 recipe image (#13506). This branch had added the `nemoclaw-runtime-ready` symlink to `runtimes/qwen38/Dockerfile`, so the merge takes v1's deletion. The contract test that checks the readiness command against the runtime images now covers the two that remain, vllm and ollama. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 20, 2026
cv
pushed a commit
that referenced
this pull request
Oct 27, 2026
) ## Failure Reviewing #13080's follow-ups (#13837) turned up docs that no longer match v1: references to the Qwen recipe #13506 removed, an incomplete list of cluster rights, links to closed issues as open work, an HTTPS-only claim #13063 relaxed, and a skills example the schema rejects. ## Decision ```mermaid flowchart LR R["recipes.md: inline Qwen example and adapter"] --> R2["Removed (#13506)"] K["kubernetes.md: cluster rights"] --> K2["Add ServiceAccounts, Roles,<br/>RoleBindings, pods/portforward"] K3["kubernetes.md: #12709 open"] --> K4["Link Pull from Private Registries"] U["usage.md: Podman removal not covered"] --> U2["Link the Podman removal steps"] U3["usage.md: credentials require HTTPS"] --> U4["Prefer HTTPS, as inference.md says"] A["agents.md: harness under agent"] --> A2["harness, with kind, on the sandbox"] ``` - The rights are what the pinned chart creates with NemoClaw's values (`serviceAccount.create` and `rbac.create` default on) and the port-forward the SDK opens to the gateway pod. - #12709 closed after #13412 added Docker registry logins; #12640's Podman removal steps are in `usage.md`. ## Validation - The `agents.md` example, merged into `examples/fabric-openclaw.yaml`, validates against the schema; the old one fails with "'harness' was unexpected". - `cargo run --locked -p nemoclaw-build -- docs --check` passes; `git diff --check` is clean. Part of #13837. Co-authored-by: Claude Opus 5.5 <[email protected]>
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
runtimes/qwen38packaged MiaAI Lab's Qwen3.8 recipe for one DGX Spark configuration. It held 1,386 lines of build files, AGPL-3.0-or-later patches to vLLM, preparation and verification scripts, and notices. NemoClaw tracked the recipe's revision, its patches, and its licenses: model and vLLM tuning work that belongs to the recipe's authors and to vLLM (#13472).Decision
runtimes/qwen38and its job in.github/workflows/dependencies.yml. The recipe remains MiaAI Lab's, and NemoClaw's packaging stays in git history.examples/spark/spark-inline.yaml, the only example using that image, becomes the test fixturecrates/nemoclaw-sdk/tests/fixtures/config/inline-recipe.yamlwith a placeholder image. The nine test files that used it now load the fixture.examples/spark/deepagents-team.yaml(Nemotron 3.5 Lightning through the generic vLLM image, two Deep Agents sandboxes). It derives expected resources from the YAML's provider and sandbox names instead of hard-codingqwenandassistant.recipes.mdrecords that NemoClaw ships no model-specific recipe images;Validation
cargo cipassed, including the bundle and lifecycle steps.spark::spark_yaml_plans_and_applies_expected_resources) compiles but wasn't run: it downloads and serves Nemotron on a Spark for about 30 minutes and leaves workloads running. It's the same test with derived names.After merge, close #13472 by hand.