Repository navigation
fix(fabric): give OpenClaw's startup one 60-second deadline - #14039
Merged
Merged
Conversation
…fails The Fabric provider keeps Fabric's own message about a failed runtime operation in the deployment's diagnostics/fabric-SANDBOX.json and names the file in the error. In the live Kubernetes tests that file is in the runner's temporary directory, so CI never showed it. When an apply fails, the flow now prints each saved message with its stage, code and effects, after the namespace's pod logs and events, redacted and bounded as backend rejections are. Signed-off-by: Carlos Villela <[email protected]>
On linux_amd64 runners, OpenClaw's Gateway can need almost all of the 30 seconds that Fabric's OpenClaw adapter gave its readiness wait. The three-agent Kind test then fails intermittently with start_failed. The adapter gave --version, config validate and the readiness wait 30 seconds each, so a start could take about 39 seconds and still fail. Pin Fabric 21ca8d3e on cv/NeMo-Fabric, which merges a7c5d024 forward: startup_timeout_seconds is now one deadline for all of start, 60 seconds by default and still at most 75. It also updates a comment in Deep Agents Code's terminal launcher. - Pins: FABRIC_REVISION and FABRIC_SHA256, nemo-fabric-core in three crates and Cargo.lock, and the pinned documentation links. - Catalog: regenerated; only OpenClaw's startup_timeout_seconds default and description change. - Tests: the HCL e2e scenarios' catalog-derived fixture image digest and inference resource names are regenerated. The tree preview test that checks a supplied value is not printed now also ignores the Fabric revision line, since the new revision contains "42". Signed-off-by: Carlos Villela <[email protected]>
Collaborator
Author
Authoring session — opening
|
cv
enabled auto-merge (squash)
October 31, 2026 07:39
Contributor
cv
added a commit
that referenced
this pull request
Oct 31, 2026
<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> <!-- SPDX-License-Identifier: Apache-2.0 --> ## Failure Investigating #14039's Kind failures found two Fabric gaps: - **Hidden cause:** Fabric's runtime server replaced every failed start with "Fabric could not establish an active runtime" and didn't log the cause. So even with #14039's diagnostics, a start that ran out of time looked like any other failure. - **Denied lookup:** OpenClaw 2026.9.34 looked up `catalog.openclaw.ai` after each Gateway start, and the sandbox policy denied it in every pod's logs. ## Decision Both are fixed in Fabric, in the reference implementation on `cv/NeMo-Fabric`. This PR pins that revision, `e7913b6c`, through NVIDIA's codeload URL as before. - **Cause in the message:** Fabric's runtime server now ends a failed start, invoke or stop message with the SDK or adapter error code, for example `Fabric could not establish an active runtime. Cause: openclaw_gateway_start_timeout.`. Only a lowercase identifier of at most 64 characters is included, never the error's message ([`ad3ca3ce`](cv/NeMo-Fabric@ad3ca3ce)). NemoClaw already keeps Fabric's message, so #14039's Kind diagnostics now show the cause with no NemoClaw change. - **No catalog lookup:** the OpenClaw adapter sets `models.catalogRefresh.enabled: false`, as it already turns off update checks and telemetry ([`1c7b88eb`](cv/NeMo-Fabric@1c7b88eb)). OpenClaw 2026.9.34's `config validate` accepts it. No descriptor changed. The catalog changes only its revision and checksum, plus the HCL cases' catalog-derived image digest and inference resource names. No NemoClaw test checks Fabric's exact message text. ## Validation On `v1` at `c037422ae7`, linux_arm64: - `cargo ci`: fmt, clippy, build, test 1796/1796, schema, bundle, lifecycle 161/161. - `cargo ci live-kind`: 7/7. A script saved every pod log during the passing run: no `catalog.openclaw.ai` denials, where `21ca8d3e` showed one about 0.6 s after each start. - `cargo ci live-docker`: passed. - `cargo metadata --locked` passes, and the tarball checksum matches from both the NVIDIA and cv codeload URLs. Not covered: - A deliberately failing start, to see the cause reach NemoClaw's diagnostics end to end. Fabric's unit tests cover the message. - A new, unrelated denial: OpenClaw looks up `clawhub.ai` about 0.3 s after answering a prompt. No test fails because of it, and it's likely not new. Part of #14011. Signed-off-by: Carlos Villela <[email protected]>
cv
added a commit
that referenced
this pull request
Nov 11, 2026
…ms (#14413) The release notes now list every user-visible change on `v1` since the `v0.1.0-rc9` tag, including the breaking ones, and four example pages drop claims that later changes made false. ## Problem `docs/about/release-notes.md` listed three breaking changes and none of the features, fixes, and onboarding changes that reached `v1` after `v0.1.0-rc9`; it didn't name the configuration shapes the parser now rejects or the intent record version `v0.1.0-rc9` writes. Some example claims went stale: - `examples/spark/README.md` said the pinned OpenShell has the Podman TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before OpenShell 0.1.0, and `v1` pins 0.1.7. - `examples/station/README.md` and `examples/gtc-dc/README.md` required exactly one visible GPU on the host; since #13929, `container.gpuDevices` lets a service on a host with more GPUs request one. - `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed that, and the pinned catalog's Deep Agents `reasoning_effort` accepts `none`. - The travel team cited #13313 for the booking key its service doesn't receive, but #13313 closed when `openshell_api` landed. ## Change - `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9", grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a later commit changed an earlier one, the entry describes the current code, and changes added and removed after the tag aren't listed: - Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186, #14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343. - Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912, #13964, #14388, #14390, #14397. - Gateways and Kubernetes: #13909, #13970, #13922 (an existing namespace, refused at plan by #13756, is now bound; cluster-wide reads dropped), #14014, #14169, #13921. - Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135, #13775, #13744, #13701. - Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228, #14233, #14334, #14336. - Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200, #13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813, #14246, and the pins in `versions.json` and `image/fabric/Dockerfile`. - Its breaking changes since the tag: - the intent record moving from 15, which `v0.1.0-rc9` writes, through 16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394); - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705); - a recipe `compatibility.gpu` outside every hardware profile (#13912); - model tuning the adapter doesn't accept (#14111), and Hermes's `max_tokens` losing its default (#14296); - `skills.paths` resolution (#14296); - endpoint and `networkCIDR` validation (#13847, #14081); - the HCL `gateway_values` attribute (#14014), and Kubernetes ownership receipts from before #13922 and #14014. The two earlier items stay, under their own heading. - `examples/spark/README.md` replaces the closed OpenShell#3427 blocker with the Podman and remote-model limits in `docs/resources/limits.md`. - `examples/station/README.md` and `examples/gtc-dc/README.md` require one GPU visible in the model container, and point to `container.gpuDevices` for a host with more. - `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the NeMo-Fabric#433 limitation, and the travel team's booking-key statements link #14417 instead of #13313. Not listed, because both changes landed after the tag: Deep Agents Code (#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the "Creating infrastructure state" progress step (#14169, #14248). Checked and left unchanged: the root `README.md`, `crates/nemoclaw-onboarding/README.md`, `crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the other example READMEs, and every example YAML header comment. The GPU autoscaling README and `load.sh` read the JSON fields `OperationResult` serializes, and ai-openshell/openshell#4287 is fixed only after the pinned 0.1.7. The two pre-tag release-note items still match the schema and SDK. `docs/README.md` is left to #14412, which retires the stale field reference snapshot it describes. Not verified: whether Hermes sends the booking key's placeholder to MCP servers; #14417 tracks the live check. ## Beyond CI Each relative link and anchor in the changed files resolves to an existing file and heading.
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
linux_amd64 / Live / Kindfailed intermittently after #14036 and #14037, on #14037 and #14024 (both passed on rerun). Inkubernetes_live::on_openshift_three_agents_keep_separate_identities_run_as_the_namespace_uid_and_answer_after_each_reapply, one of three OpenClaw sandboxes failed withstart_failed, and CI never showed why, because Fabric's message stayed in the runner's temporary directory.The cause is CPU starvation. Three agents start at once on four vCPUs, and each OpenClaw start took about 39 s on that runner, measured from the supervisor's relay logs. Fabric's OpenClaw adapter gave each startup step its own 30 s timeout, so the Gateway's readiness wait ran out at random. Local
live-kindruns reproduced the same error with a shorter timeout, and start time tracked the Kind node's CPUs: about 7.5 s with 20, 11.4 s with 4 and 26 s with 2. The deniedcatalog.openclaw.ailookup in the logs isn't the cause: OpenClaw starts it in the background after the Gateway is ready, and timing showed no difference with and without it.Decision
startup_timeout_secondsis now one deadline for all ofstart, from checking theopenclawcommand to the Gateway becoming ready, with a 60 s default and the existing 75 s maximum. That's the rule [Enhancement]: Epic: serve harnesses' native interfaces through one adapter contract NeMo-Fabric#547 (L3) already sets for adapters that gain the setting. It's in the reference implementation as cv/NeMo-Fabric@a7c5d024. This PR pins Fabric21ca8d3e, which includes it, through NVIDIA's codeload URL as before. The catalog changes only OpenClaw's default and description, plus the revision and checksum. The HCL e2e cases' catalog-derived names and image digest are updated.diagnostics/fabric-SANDBOX.json: stage, code, effects and message. Fabric's runtime server currently replaces the adapter's error with "Fabric could not establish an active runtime", so naming the cause also needs a Fabric change.startup_timeout_secondsin the live documents, or running fewer Kind tests in parallel, would have hidden the adapter's tight default for everyone else.journey_tree_preview::invalid_fabric_setting_is_labeled_without_printing_its_valuechecks that the value42never appears in the preview. The new revision contains "42", so the test now skips the "Fabric revision:" line, as it already skippedsha256:lines.Validation
v1at530e53d706(feat(apply): report sandbox service URLs #14024), thencargo ci: fmt, clippy, build, test 1791/1791, schema, bundle, lifecycle 161/161.cargo ci live-kindpassed three times, 7/7 each, once with the Kind node limited to 4 CPUs;cargo ci live-dockerpassed.cargo metadata --lockedpasses.Cargo.lockchanges only the source line, becausecargo update -p nemo-fabric-corealso downgradedwindows-sys.linux_amd64 / Live / Kind, where the flake happened, since this machine is arm64.Part of #14011.