Repository navigation
feat(openshell-provider): read gateway prerequisites with openshell_gateway_prerequisites - #13191
Merged
Merged
Conversation
…-provider The gateway installation code used openshell-provider only for observe_with_wait and a re-export of EnvironmentSecrets. Move observe_with_wait into nemoclaw-openshell and use nemoclaw-backend's EnvironmentSecrets, so the openshell provider can serve the gateway installation types without a dependency cycle. Tests that compare rules across providers keep openshell-provider as a dev-dependency.
The nemoclaw provider served the types that install an OpenShell
gateway while the openshell provider reached it. The openshell provider
now serves them as openshell_podman_gateway, openshell_gateway_storage,
openshell_kubernetes_{storage,auth,gateway}, and the
openshell_docker_gateway_{readiness,runtime} data sources, with
unchanged schemas.
nemoclaw-provider keeps the implementation, shared with the Ollama and
vLLM containers, and exposes it as GatewayInstallation; the openshell
binary serves it behind a default installation feature that the fabric
provider turns off. The Kubernetes platform stage keeps the openshell
provider, contract tests move with the types, and state from before the
rename is rejected with a recovery message.
…ateway_prerequisites nemoclaw_engine_capabilities both reported the engine's facts and judged whether it could host a managed gateway with a compute driver. That judgement belongs to the openshell provider, whose installation types already enforce it during plan and apply. data.openshell_gateway_prerequisites now reports it, and nemoclaw_engine_capabilities takes only the engine and reports facts. Discovery graphs for a managed gateway read both, with the prerequisite postcondition on the new read, and plan reports fold them into one engine observation, the less available status winning, so onboarding still learns of an unmet prerequisite before installation.
v1's tree equals this branch's base (49555c0), so the merge keeps this branch's tree.
Contributor
# Conflicts: # crates/nemoclaw-sdk/tests/discovery_graph.rs # crates/nemoclaw-sdk/tests/fixtures/discovery_graph/openclaw.json # crates/nemoclaw-sdk/tests/fixtures/discovery_graph/spark.json # docs/provider.md
cv
enabled auto-merge (squash)
October 14, 2026 19:03
Closed
8 tasks
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.
Closes #13146. Part of #13131.
Follows #13187, which moved the gateway installation types into the
openshellprovider.Failure
nemoclaw_engine_capabilitiesdid two jobs. It reported the engine's facts (version, platform, CPUs, memory), which other discovery reads. It also judged whether the engine could host a managed OpenShell gateway with a compute driver: the Podman driver needs a Podman engine socket, and rootless Podman needs pasta networking. That judgement is the OpenShell provider's: since #13187, its gateway installation types already enforce the same check when they plan and apply.Decision
data "openshell_gateway_prerequisites"(engine,compute_driver) reports whether the engine can host the gateway:status,available, andobservation_jsonwith the reason. Theopenshellprovider serves it with the other installation types.nemoclaw_engine_capabilitiestakes onlyengineand reports facts. That is the shape host provider, runtime-image split, and model catalog in the SDK #13148 needs forhost_engine.nemoclaw-discovery) gainsobserve_engine_factsandobserve_gateway_prerequisites.observe_enginekeeps its combined behavior.Validation
cargo ci --fullpasses locally (unit tests, plus 139 contract and system tests). The later merge ofv1left the tree unchanged./info; prerequisites reject a non-Podman engine and rootless Podman without pasta.compute_driverand the postcondition move from the engine read to the prerequisite read, and the discovery output gainsgateway_prerequisites.compute_driverleavingnemoclaw_engine_capabilitiesand the new data source inopenshell.