Repository navigation
fix(runtime): replace a stale status as soon as the runtime takes its storage - #13659
Merged
Merged
Conversation
cv
enabled auto-merge (squash)
October 23, 2026 09:02
Contributor
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
The vLLM and Ollama runtimes write their status to
/data/status.json, which persists on retained storage. A new container wrote nothing until its service reached a later phase, so areadyleft by an earlier container could be read as current. That affects NemoClaw's own Docker readiness, and any platform that reads the status.Separately,
docs/inference.mdtold other platforms to probeGET /health. That's right for vLLM, but Ollama answers HTTP before the runtime has pulled its model.#13487 found both. That PR is closed in favor of this smaller change.
Decision
initializingas soon as they hold the storage lock, through a sharedbeginhelper, replacing any status an earlier container left behind. Both of the provider's status readers already acceptinitializingas not ready (host_container_health.rs,services/status.rs).docs/inference.mdpoints platforms at the servers' own checks:GET /healthfor vLLM, an exec probe runningollama show MODELfor Ollama, and a restart policy that doesn't restart the model after memory protection stops it.Validation
a_started_runtime_replaces_a_ready_status_left_by_an_earlier_containerfailed before the fix (the helper didn't exist), and passes now.cargo cipassed, including the bundle and lifecycle steps.cargo ci live-dockerpassed all 9 tests, including managed Ollama's Docker readiness.fern checkreported 0 errors.Thanks to @gaveezy for #13487, which found both problems.