Repository navigation
feat(openshell-provider): remove openshell_provider_profile and openshell_provider_registration - #13257
Merged
Conversation
…hell_provider_registration openshell_inference and openshell_web_search replace them. The provider keeps the profile and registration kinds only as the backend operations those resources delegate to. Inference credentials rotate in place, a missing profile is recreated in place, and omitted inputs reset to their defaults, so registrations attached to sandboxes are never replaced to recover.
cv
enabled auto-merge (squash)
October 15, 2026 10:58
Contributor
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 #13228. Part of #13131.
Failure
openshell_inference(#13252) andopenshell_web_search(#13246) replace the separate provider profile and registration types. Generated graphs stopped emitting the old types in #13253. They were still served, though, and fell short in ways that only showed once nothing else covered them:openshell_inferencereplaced itself on any input change, including a rotated credential reference. OpenShell refuses to delete a registration a sandbox attaches, so rotating a key on a running deployment would have failed. The old registration rotated keys in place.binaries, orcluster_sourcesilently kept the previous value instead of resetting it.Decision
openshellprovider no longer servesopenshell_provider_profileoropenshell_provider_registration. The profile and registration kinds remain only as the backend operations the composite resources delegate to. Their type names, exports, references, and structured inputs are gone fromnemoclaw-openshell.openshell_inferencetreatscredential_envas mutable and replaces only when authentication is added or removed, the rule the old registration had.binariesis mutable, and a change replaces only when the refreshed value was non-empty. An empty value means the profile was missing, so the change becomes an update that recreates it and leaves the attached registration alone. A missing registration still replaces the resource; nothing attaches a profile directly.reset_when_omittedfor their optional inputs, so omission selects the default.openshell_inference. The adapter refresh tests use the composite definitions, and the fixture helpers and e2e expectations drop the old types. One refresh test of the old profile'sbound_fieldsrule is removed: no served definition declares that rule now, andnemoclaw-tofutests it directly.docs/provider.mddrops the old types and describes the in-place cases.The earlier attempt to give Ollama proxy registrations their readiness read's
ref(#13255) is closed. That read runs during apply, so therefwas unknown at every plan and forced a replacement on each apply; details are in #13254. Generated graphs keep literalinference_serverobjects. Reading servers instead is tracked in #13254 (one root) and #13256 (external server checks).Validation
reset_when_omittedwas added.cargo cipasses locally: 1538 unit tests and 144 lifecycle tests.cargo ci live-dockerpasses locally, includingsdk_docker_proxy_lifecycle_preserves_readiness_and_storage_guards, which caught feat(sdk): pass the Ollama proxy's readiness ref as the inference server #13255.