Skip to content

refactor: remove the empty nemoclaw provider - #13224

Merged
cv merged 3 commits into
v1from
feat/remove-nemoclaw-provider
Oct 15, 2026
Merged

cv merged 3 commits into
v1from
feat/remove-nemoclaw-provider

Conversation

@cv

@cv cv commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

Closes #13148. Part of #13131.

Failure

After #13223, the nemoclaw provider served no types. Its types had moved to the openshell, vllm, ollama and host providers, or into the SDK. Yet every generated graph still declared it, the bundle shipped its binary, and teardown set destroy on it.

Decision

  • Remove NemoClawProvider and its terraform-provider-nemoclaw binary. The nemoclaw-provider crate stays as the library behind the vllm, ollama and host binaries and the openshell provider's gateway installation types.
  • Generated graphs no longer declare nemoclaw, the bundle no longer ships it, and teardown sets destroy only on openshell, fabric, vllm and ollama (host has no settings).
  • TofuWorkspace::new(bundle) installs the bundle's providers. Contract tests that need a fixture provider under the nemoclaw name use TofuWorkspace::with_fixture.
  • The unit test of the provider's destroy setting now runs against ServiceProvider, which has the same setting. The nemoclaw schema snapshot and its "no type served by two providers" check go with the provider. A misplaced doc comment on ServiceProvider, from feat(host-provider): read engine facts and hardware with data.host_engine #13206, is fixed.
  • No state record version bump: old state can mention the provider only for data sources, which earlier renames handled without one.
  • Docs: the provider catalog lists host instead of nemoclaw, and the design docs credit the providers that now own each role.

With this, #13148 is complete: the catalog moved to the SDK (#13205), engine and image reads moved to the host provider (#13206, #13223), and the nemoclaw provider is gone.

Validation

  • SDK tests assert that compiled and teardown graphs no longer declare nemoclaw.
  • cargo ci passes locally (1537 unit tests; 137 lifecycle tests). The first run caught an e2e test that set destroy on an undeclared nemoclaw provider block, which made OpenTofu look for hashicorp/nemoclaw; the test now uses only declared providers.
  • fern check passes.

cv added 3 commits October 14, 2026 20:23
…untime-spec label

nemoclaw_runtime_image mixed a generic image check with a NemoClaw
runtime-spec label that the SDK already required among the image's
labels, and that nemoclaw-build set and verified on every image.

data.host_image in the host provider checks an image's platform,
architecture, and required labels without knowing NemoClaw runtimes,
and names the failing label. Generated graphs keep the same reads and
gate. The runtime-spec label is removed from the provider, the SDK,
nemoclaw-build, and nemoclaw-runtime; the runtime's own contract
validation still rejects an image from another revision when it starts.
The nemoclaw provider served no types after its last data source moved
to the host provider, yet generated graphs declared it, the bundle
shipped it, and teardown configured it.

Remove NemoClawProvider and its binary; the nemoclaw-provider crate
remains the library behind the vllm, ollama, and host binaries and the
openshell provider's gateway installation types. Test workspaces
install the bundle's providers, with a separate constructor for a
fixture provider.
…ovider

# Conflicts:
#	crates/nemoclaw-provider/src/lib.rs
#	crates/nemoclaw-provider/src/provider.rs
#	crates/nemoclaw-provider/tests/schema.txt
#	docs/provider.md
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit db1f571 into v1 Oct 15, 2026
@cv
cv deleted the feat/remove-nemoclaw-provider branch October 15, 2026 04:13
@wscurran wscurran added area: architecture Architecture, design debt, major refactors, or maintainability area: packaging Packages, images, registries, installers, or distribution refactor PR restructures code without intended behavior change labels Oct 15, 2026
gaveezy added a commit that referenced this pull request Oct 18, 2026
#13131 superseded the stacked cluster work:

- the `nemoclaw` provider is gone (#13224);
- one OpenTofu root replaces the separate state files (#13286);
- off Docker, the platform owns keys and readiness (#13225, #13226);
- NemoClaw adds no address policy (#13232).

This merge takes v1's tree, so the branch now carries only the
in-cluster routing change that follows. #13061 and #13062 are parked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
gaveezy added a commit that referenced this pull request Oct 19, 2026
PR-6 merged v1 up to #13411. Three v1 changes move code this branch
builds on:

- #13224 removed the `nemoclaw` provider, which served this branch's
  cluster model types. They become `openshell_kubernetes_service` and
  `openshell_kubernetes_service_storage`, served by the openshell
  provider beside the Kubernetes gateway installation types: two more
  `INSTALLATION_TYPES` entries, and `cluster_services::definitions()`
  in `all_definitions()`. Their contract tests move to
  `openshell-provider::contract` with the Kubernetes gateway tests,
  their schema to the openshell snapshot, and the docs name the new
  types.
- #13286 plans and applies each deployment as one OpenTofu root. The
  cluster image preflight moves from the removed runtime stage into
  `Deployment::run`, before compilation. #13286 also removed the
  "unfinished Kubernetes platform apply" rule, so this branch's
  exception to it (`revises_only_model_workloads`), its test, and its
  usage.md paragraph go too. The compile test now checks that the
  apply-time gateway read, which every object waits on, waits on the
  cluster service, instead of checking that agents compile into a
  separate graph.
- #13184 added `Definition::derived`: a computed attribute kept out of
  backend rows. This branch's `derived` is an optional input checked
  against the spec and kept in the row, so ownership checks still see
  `owner` and `generation`. It is renamed `derived_input`.

Smaller follow-ups:

- #13093 added `ServiceDefinition::Container`; the cluster matches
  cover it. The cluster service is no longer a `runtime_process` kind:
  that flag now also selects Docker readiness and compute, which decode
  a Docker spec. Its only other readers handle the cluster kind first.
- #13223 dropped the `org.nemoclaw.runtime.spec` label everywhere; the
  cluster image check no longer requires it.
- #13369 removed `model_metadata` from OpenClaw routes, since Fabric
  v0.5.0's adapter rejects it; the cluster fixtures and docs drop it.

The remaining conflicts keep both sides.

`openshell-provider::contract`'s summed budget rises from 105 to 130 s,
keeping v1's margin: the 8 moved cluster model tests add 23.2 s in a
local linux_arm64 run (slowest 3.9 s, within the 6 s limit), about 17 s
at CI speed. `nemoclaw-provider::contract` keeps its v1 budget; this
branch's earlier raise to 150 s went with the tests.

Validation on linux_arm64: the `cargo ci` fmt, clippy, test, schema,
bundle and lifecycle steps pass (161 lifecycle tests, among them the 8
cluster model contract tests), as does `nemoclaw-build docs --check`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wscurran wscurran added the v1 NemoClaw v1 branch label Oct 28, 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: architecture Architecture, design debt, major refactors, or maintainability area: packaging Packages, images, registries, installers, or distribution refactor PR restructures code without intended behavior change v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants