Skip to content

build(fabric): pin Fabric that names a failed start's cause - #14042

Merged
cv merged 1 commit into
v1from
deps/fabric-start-cause
Oct 31, 2026
Merged

cv merged 1 commit into
v1from
deps/fabric-start-cause

Conversation

@cv

@cv cv commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

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 fix(fabric): give OpenClaw's startup one 60-second deadline #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). NemoClaw already keeps Fabric's message, so fix(fabric): give OpenClaw's startup one 60-second deadline #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). 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.

When an agent fails to start, Fabric's runtime server answers with a
fixed message, "Fabric could not establish an active runtime.", and
drops the adapter's error code. The diagnostics that the live Kubernetes
tests print on a failed apply therefore can't tell a startup timeout
from a crash. OpenClaw's Gateway also tries to refresh its model catalog
from catalog.openclaw.ai, which the sandbox policy denies, so every Kind
run logs a denial that looks like a cause.

Pin Fabric e7913b6c on cv/NeMo-Fabric. Its runtime server ends a failed
start, invoke or stop message with "Cause: <code>." when the code is a
lowercase identifier of at most 64 characters, such as
openclaw_gateway_start_timeout. Its OpenClaw adapter sets
models.catalogRefresh.enabled to false.

- Pins: FABRIC_REVISION and FABRIC_SHA256, nemo-fabric-core in three
  crates and Cargo.lock, and the pinned documentation links.
- Catalog: regenerated; no descriptor changed, so only its revision and
  checksum change.
- Tests: the HCL e2e scenarios' catalog-derived fixture image digest and
  inference resource names are regenerated. No NemoClaw test asserts
  Fabric's message text, and NemoClaw does not read the cause, so no
  test is added.

Signed-off-by: Carlos Villela <[email protected]>
@cv

cv commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness partial Pi Interactive Pi session in a herdr pane, continuing the #14039 investigation; the record doesn't store Pi's version.
Skills partial none read in this task's interval Skills injected at startup aren't stored in the record; earlier in the session it read test-driven-development.
Instruction files partial none read in this task's interval Startup project-context injection, including AGENTS.md, isn't stored in the record.
Tool calls recorded 19 typescript calls (0 returned errors) From this task's message to the final report; nested host calls aren't itemized.
Session window recorded 2026-10-31T17:24:59Z–17:48:47Z (24 min) This task's interval within the longer session.
Compactions recorded 0 No compaction entries in the session record.
Models recorded aws/anthropic/bedrock-claude-opus-5-5 From the session's assistant messages.
Reasoning levels recorded high From the session's thinking-level setting.

@cv
cv enabled auto-merge (squash) October 31, 2026 17:49
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit 49a633f into v1 Oct 31, 2026
56 checks passed
@cv
cv deleted the deps/fabric-start-cause branch October 31, 2026 18:05
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

NemoClaw can't run LangChain's Deep Agents Code (`dcode`), so #14011's
third P0 interface, its terminal UI, has no image to run in. Fabric's
Deep Agents Code adapter (NVIDIA/NeMo-Fabric#546, in the reference
implementation that `v1` already pins) runs one `dcode --acp` process
per runtime. With `interfaces.terminal`, it writes a launcher for
`dcode`'s terminal UI.

## Decision

- **Image:** a `deepagents-code` agent image built with the
`add-fabric-harness` steps. It contains Fabric's packed TypeScript
adapter on Node.js, and `dcode` 0.2.2 in its own Python 3.14
environment, installed from a hash-locked `uv.lock` under
`image/fabric/deepagents-code/`. It also adds the Bake target, the
catalog entry (regenerated with `--adapter`), an example, and the image
docs.
- **Apply output:** for the terminal, apply prints `openshell sandbox
exec -n SANDBOX --tty -- <launcher>` with the current runtime ID, plus
the `sh` form for `noexec` mounts, in human and `-o json` output. It
prints no forward and no token.
- **Docs:** the terminal UI opens a separate session that shares the
runtime's state. It can list the runtime's thread but not open it while
the runtime runs (NVIDIA/NeMo-Fabric#567).
- **Live test:** the terminal checks run inside `interfaces_live`, on
the same gateway as OpenClaw and Hermes, rather than as a separate test.
That keeps the Docker live step under its time budget without raising
it. The test sends one request through Fabric, then opens the launcher
with `openshell sandbox exec --tty`, gets past `dcode`'s first-run
onboarding, and gets a reply to one prompt from the configured model.
- **Live tests stay serial:** OpenShell gives every containerized
gateway's helper containers the same names, so parallel gateway starts
on one engine can collide (ai-openshell/openshell#5094).

**For a maintainer:**
- `ghcr.io/nvidia/nemoclaw/v1/deepagents-code` exists (internal), and
NVIDIA/NemoClaw has Write access.
- **Licenses to review:** `langgraph-runtime-inmem` 0.37.0, which serves
the terminal UI's local agent server, is under the Elastic License 2.0.
`textual-speedups` 0.2.1 declares no license.

## Validation

- Rebased onto `v1` at `49a633f85f` (#14042): `cargo ci` passed, test
1805/1805 and lifecycle 162/162.
- **Before the rebase, on the same pin:**
- `cargo ci live-docker` passed all 10 tests in 335.5 s, against the 360
s budget. With the separate terminal test it had taken 351.5 s.
  - The images built and qualified.
- **Manual check against a real model** (posted on #14011):
  - planning rejects `terminal.port`;
  - apply prints the launcher;
- `threads list` through the launcher shows the runtime's thread, and
`-r` is refused as documented;
  - a terminal session answers with the configured model;
  - `auto` blocks the shell, and `yolo` runs it;
  - the first `destroy` succeeds.
- **Deferred to CI:** linux_amd64 builds and `live-kind`. This machine
is linux_arm64, and Kind doesn't run this image.

Completes #14011's P0 harnesses.

---------

Signed-off-by: Carlos Villela <[email protected]>
@wscurran wscurran added area: integrations Third-party service integration behavior area: observability Logging, metrics, tracing, diagnostics, or debug output area: packaging Packages, images, registries, installers, or distribution area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance integration: openclaw OpenClaw integration behavior v1 NemoClaw v1 branch labels Nov 2, 2026
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.
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: integrations Third-party service integration behavior area: observability Logging, metrics, tracing, diagnostics, or debug output area: packaging Packages, images, registries, installers, or distribution area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance integration: openclaw OpenClaw integration behavior v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants