Repository navigation
build(fabric): pin Fabric v0.6.0-rc.1 for runtime health checks - #13946
Merged
Merged
Conversation
Collaborator
Author
Authoring session — opening
|
Contributor
This was referenced Oct 29, 2026
cv
added a commit
that referenced
this pull request
Oct 29, 2026
Fixes #13870 on `v1`; close it by hand after merge, since PRs into `v1` don't close issues. Stacked on #13946, which pins the Fabric release that adds `fabric-agent-ctl check`. ## Failure After apply starts an agent, NemoClaw never looks at its runtime again. When a runtime stops while its sandbox keeps running, plan and apply report no changes, and invoking the agent fails with `runtime_unavailable`. That happens after a gateway restart, a host reboot, or a runtime stopped inside the sandbox. The only recovery was a new sandbox, which deletes its files and conversation history (#13870). Separately, any in-place update of a `fabric_agent` started a second runtime beside the running one. Examples are a newer image catalog for the same harness, or rotated gateway credentials. ## Decision Refresh asks Fabric whether the recorded runtime still runs, and apply starts a stopped runtime again in the same sandbox. - **Check:** reading a `fabric_agent` runs `fabric-agent-ctl check --agent NAME --runtime-id ID`, at Fabric's default `live` level. It sends no prompt and makes no model request, and records the result in a new computed `running` attribute. - **Stopped:** Fabric no longer has the runtime (`runtime_unavailable`), the check `failed`, the bridge doesn't answer (`host_unavailable`), or the sandbox isn't `Ready`. - **Running:** the check passed, or gave no evidence either way: an adapter without health checks (`unsupported`), or a probe that couldn't finish (`unknown`). Treating those as stopped would restart runtimes on transient probe errors. - **Refresh fails:** Fabric refuses the check, for example with `wrong_agent`, or its reply is cut off. Nothing changes. Destroy doesn't check. - **Restart:** `running` uses `rerun_when_stopped`, the rule managed gateways already use. A stopped runtime plans an in-place update of the agent with a new `runtime_id`, and the plan says `agent runtime is not running`. Apply stops the recorded runtime in Fabric, where an already-gone runtime counts as stopped, then starts another in the same sandbox. - **Other updates:** `ensure` leaves a running runtime alone. - **Fake gateway:** it emulates `check` the way Fabric `v0.6.0-rc.1` reports it. - **Docs:** the "Fabric reports no runtime status" limits (NVIDIA/NeMo-Fabric#420) and the #13870 limit are gone. `usage.md`, `troubleshooting.md`, `agents.md` and `provider.md` describe the restart, and the bridge-command table adds `check`. Three tests encoded the old rule that reading an agent runs nothing in its sandbox: - A failing exec, or a check reply that is cut off, now fails plan and export, and changes nothing (`deployment.rs` and the provider contract test). - A refused operation may run `check`, but never start, stop, or invoke (`multi_agent.rs`). **Remaining limit:** Fabric `v0.6.0-rc.1` reports a harness whose process exited as `unknown` with `probe_error`, not `failed`, so such a runtime is still found only at its next invocation. I observed this on Hermes by killing its adapter process and reported it in NVIDIA/NeMo-Fabric#298. `docs/limits.md` lists it. ## Validation I wrote each new test first and saw it fail: - **Provider tests:** they also showed the second runtime an in-place update started. - **Plan-reason unit test.** - **Fabric lifecycle test:** the plan reported no changes for a stopped runtime. - **Docker live dummy-agent test, on #13946's branch:** after a gateway restart the dummy's sandbox was `Ready`, and plan reported no changes. On a DGX Spark (GB10, Linux ARM64), with this branch: - `cargo ci`: fmt, clippy, build, 1,740 unit tests, schema, bundle, and 157 lifecycle tests pass. - `cargo ci live-docker`: all 9 tests pass. In the dummy-agent test, after a gateway restart, plan updates only the agent with `agent runtime is not running`, apply starts a new runtime that answers, a file written before the restart is still in the sandbox, and a further apply changes nothing. - **Hermes with managed vLLM serving `nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4`:** - **Plan and apply:** after stopping the runtime through Fabric, plan showed `update agent runtime/assistant` with `agent runtime is not running`, and apply restarted it in the same sandbox. - **After apply:** a file written before the stop remained, `check --ready` passed, invocations succeeded, and the next plan had no changes. The new runtime's reply included the conversation from before the restart, so Hermes keeps its history. - **After a real gateway restart:** the same plan and apply restarted the runtime in place, and the file remained. - **Unexplained failures:** twice, the first invocation through my test script after a restart reported `failed`. The script didn't keep Fabric's error. Seven direct invocations in the same sequences succeeded. - **Gateway restarts on the Spark:** in 6 of 7 restarts the sandbox came back `Ready`. Once it failed to start (`StartFailed`), and plan replaced it through the existing `sandbox exited` path, losing its files; this change can't keep them then. Tracked in #13953. Not run: `cargo ci live-kind` and AMD64.
This was referenced Oct 29, 2026
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
NemoClaw's Fabric pin,
67acf1cfon Fabricmain, predates Fabric's runtime health checks:fabric-agent-ctl check(NVIDIA/NeMo-Fabric#466) and the adapters'live,active, andreadychecks (NVIDIA/NeMo-Fabric#467, #469, #470, #500, #501, #505-#514). Agent images built from it rejectcheckwithinvalid_request, so nothing can ask Fabric whether an agent's runtime still runs. #13870 needs that.Decision
Pin Fabric
v0.6.0-rc.1(7aedb66b), the first release candidate with the checks, and use what it publishes without patching it.FABRIC_REVISIONandFABRIC_SHA256, andnemo-fabric-corein three crates.Cargo.lockaddshmac0.12.1, a newnemo-fabric-coredependency.capabilities.metadata.health_checks: Claude, Codex, Deep Agents, Hermes, OpenClaw, OpenCode, and Pi. Claude, Codex, Deep Agents, and OpenClaw also gain settings: Claude effort, Codexmaxandultra, Deep Agents reasoning effort, and OpenClaw timeouts. The other four descriptors and all provenance are unchanged.nemo-fabric-coreonly adds check schemas.v0.6.0-rc.1still supports OpenClaw 2026.9.4, so the OpenClaw image pin stays.#authenticationheading exist there, and the adapters' state paths thatdocs/state.mddescribes are unchanged.release/0.6already has one commit afterv0.6.0-rc.1, NeMo Relay 0.11 (NVIDIA/NeMo-Fabric#523). Moving tov0.6.0when it's released is a separate pin change.Validation
On a DGX Spark (GB10, Linux ARM64):
cargo ci: fmt, clippy, build, 1,737 unit tests, schema, bundle, and 156 lifecycle tests pass.cargo ci live-docker: all 9 tests pass.cargo images qualify. Deployed with managed vLLM servingnvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4,fabric-agent-ctl checkpasses for the server and for the runtime at--live,--active, and--ready, and an invocation that calls a tool succeeds.Deferred to CI: building and qualifying the other agent images, on both platforms. Not run:
cargo ci live-kindand AMD64.