Skip to content

build(fabric): pin the Fabric stack after its second review round - #14140

Merged
cv merged 1 commit into
v1from
build/fabric-review-round-2
Nov 3, 2026
Merged

cv merged 1 commit into
v1from
build/fabric-review-round-2

Conversation

@cv

@cv cv commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Failure

#14054 pinned Fabric ddf59e87, the nine upstream pull requests (NVIDIA/NeMo-Fabric#568 to #576) after their first review round. The second round found a bug that can block a service, and three smaller gaps, so the pinned tree no longer matches what those pull requests contain.

Decision

Pin Fabric e5b5ebf2, integration/nemoclaw-pin on cv/NeMo-Fabric, which merges the nine branches after the second round. What changes at runtime:

  • A service forgets a connected runtime even when its stop fails; before, every later connection failed with StateInUse.
  • A workspace patch leaves out kept agent state when the artifact directory sits inside the workspace, and the state lock sits beside the state folder so an adapter that replaces the folder can't drop it.
  • Hermes's interfaces fail start on Windows before any child starts.
  • Deep Agents Code claims only the live health check; active and ready report unsupported, which NemoClaw's refresh already treats as running.

The pin moves the computed fixture image, so the HCL cases and the registration names in one HCL test follow it.

Validation

On linux_arm64, on top of v1 at 57395fee53:

  • cargo ci: passed, 1,812 tests and 100 lifecycle tests.
  • cargo ci live-docker: passed; interfaces_live took 63.0 s.
  • Fabric e5b5ebf2: the Rust workspace tests, the Python suite (excluding OpenCode tests, which need Bun 1.4.2), the Hermes suite and the TypeScript tests for common, strands and deepagents-code passed.

GitHub's codeload archive for a fork commit under the NVIDIA/NeMo-Fabric URL sometimes returns 404, which can fail an image build; a rerun gets past it.

Deferred to CI: cargo ci live-kind; the Kubernetes images change only by the Fabric pin.

Pin Fabric e5b5ebf2, cv/NeMo-Fabric's integration/nemoclaw-pin branch,
which now merges the nine upstream pull requests after their second
review round.

What changes at runtime:

- A workspace patch leaves out kept agent state when the artifact
  directory sits inside the workspace, and the state lock sits beside the
  state folder.
- A service forgets a connected runtime even when its stop fails.
- Hermes's interfaces fail start on Windows before any child starts.
- Deep Agents Code claims only the live health check.

The pin moves the computed fixture image again, so the HCL cases and the
registration names in one HCL test follow it.

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

cv commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded pi 1.4.0 (session format 3) with the Pit TypeScript tool Session header and installed package metadata
Skills recorded nemoclaw-contributor-create-pr (complete read) Tool reads to cutoff; other skills were listed but not read
Instruction files recorded AGENTS.md (injected); WRITING.md (complete read); .github/PULL_REQUEST_TEMPLATE.md (complete read); .github/SESSION_REPORT_TEMPLATE.md (complete read) Startup context and tool reads to cutoff; NeMo-Fabric's AGENTS.md and CONTRIBUTING.md were read only in part
Tool calls partial typescript: 853 (18 failed) Wrapper calls in this session's record; nested shell, git and gh calls inside each program are not recorded separately, and helper agents that worked on the Fabric pull requests ran in their own sessions, not counted here
Session window recorded 2026-11-01T08:27Z to 2026-11-03T09:50Z; 49 h 23 min First event to cutoff, including idle time; the same session also produced #14052 and #14054
Compactions recorded 0 Complete record to cutoff; context elisions are not compactions
Models recorded claude-opus-5-5 Model change event; no changes
Reasoning levels recorded high Thinking-level event; no changes

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@cv
cv enabled auto-merge (squash) November 3, 2026 09:59
@cv
cv merged commit 8f91c83 into v1 Nov 3, 2026
56 checks passed
@cv
cv deleted the build/fabric-review-round-2 branch November 3, 2026 10:06
@cv

cv commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

Manual end-to-end retest at this pin (Fabric e5b5ebf2), on a DGX Spark (linux_arm64) with images and the bundle built from this branch, against a real model (nemotron-3.5-super-vl served by vLLM):

Step Result
Apply OpenClaw, Hermes and Deep Agents Code Passed in 25 s; token files are owner-only (600)
OpenClaw Control UI Wrong token rejected; signed in; chat answered "hello from OpenClaw" in 12 s
Hermes API 200 with the token, 401 without it or with a wrong one; chat completion in 17 s; session created
Hermes dashboard Browser chat answered
Deep Agents Code fabric-agent-ctl invoke answered in 11 s; the terminal UI answered
Hermes sandbox replacement (runtime.keep_state on a mounted artifacts volume) Apply took 21 s and gave a new sandbox ID; the earlier API session still loads (200), the agent recalled a word from it in 6 s, and the dashboard lists the earlier sessions
Kept-state lock Beside the state folder (.main.lock)
Plan after apply No changes
Secrets Neither interface token nor the model key appears in state, apply output, the deployment file or export
Destroy 13 s

Two output problems from this run are fixed in a follow-up PR: a vague apply error when gateway storage from another state directory remains, and a deletion warning that ignores mounted volumes.

cv added a commit that referenced this pull request Nov 3, 2026
…mes (#14141)

## Failure

While retesting #14140 by hand, two messages misled me:

1. I applied a deployment from a new state folder, reusing the
`metadata.uid` of one I had destroyed. Destroy keeps gateway storage (a
volume, a network and an exited initializer container) by design. Apply
refused with `observed ownership, generation, or durable identity
changed` and didn't say which object or what to do. I took the retained
network for a leak.
2. Replacing the Hermes sandbox printed `Sandbox files and conversation
history deleted.`, but its sessions were on a mounted volume (with
`runtime.keep_state`), and the replacement kept them.

## Decision

- When retained gateway storage carries another state folder's or
deployment's labels, the error now names the volume, network or
initializer container and gives the two ways forward from [Remove
Retained Resources](docs/usage.md#remove-retained-resources): apply with
the state folder that created it, or remove the retained resources and
apply with a new `metadata.uid`. Other binding mismatches keep their
message, and nothing is adopted or recreated.
- The sandbox deletion warning in plan, apply and destroy now ends with
"except on mounted volumes". NemoClaw passes `driverConfig` to OpenShell
unchanged, so the warning doesn't inspect mounts. It covers both cases.

## Validation

- Both new tests failed before the fix:
`storage_left_by_another_state_directory_names_the_object_and_the_way_out`
(provider, against a Docker fixture) and
`sandbox_deletion_says_mounted_volumes_survive` (CLI).
- `cargo ci` passed, including the lifecycle tests.
- By hand on a DGX Spark with the built bundle: applied a one-sandbox
deployment, destroyed it, then applied the same file with a new state
folder. Apply now fails with `... volume
nc-41cae6b4eecde970-gateway-data belongs to another state directory or
deployment; apply with the state directory that created it, or remove
the retained resources and apply with a new metadata.uid`. I then
removed the UID-labelled objects.
- Not run locally: `cargo ci live-docker`. The change touches only an
error message and CLI text, not what runs in images; CI runs it.

Signed-off-by: Carlos Villela <[email protected]>
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build area: integrations Third-party service integration behavior area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance integration: dcode LangChain Deep Code integration behavior v1 NemoClaw v1 branch labels Nov 3, 2026
@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: docs Documentation, examples, guides, or docs build area: integrations Third-party service integration behavior area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance integration: dcode LangChain Deep Code integration behavior v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants