Skip to content

fix(examples): correct GTC DC templates and WSL2 guidance - #13378

Merged
cv merged 3 commits into
v1from
codex/gtc-dc-review-fixes
Oct 17, 2026
Merged

cv merged 3 commits into
v1from
codex/gtc-dc-review-fixes

Conversation

@cv

@cv cv commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

#13376 merged GTC DC templates whose agent image placeholders name a repository the build never produces. If someone replaces only the digest, the image does not resolve. Its README also made three claims that were unsupported or incorrect:

  • It said the pinned runtime image accepts the templates' fields. The image's base matches Docker Hub's vllm/vllm-openai:qwen38-flash-next tag, not a vLLM release, and nothing has loaded this model in it.
  • It said the model snapshot retains license and notice files. The snapshot has none; the license is declared only on the model card.
  • It said to leave room for Windows on RTX Spark without showing that the 116 GiB WSL2 minimum leaves at most 12 GiB of the 128 GB configuration.

Changes:

  • Use nc-fabric@sha256:… agent placeholders, matching what docker image inspect nc-fabric:<agent> prints and the other examples.
  • Rename the templates from .yml to .yaml, the extension every other example uses, and update the README links and commands.
  • Describe the runtime image as untested with this model, and name the NVIDIA Nemotron Open Model License.
  • State the WSL2 memory arithmetic and the CUDA-on-WSL driver model. Note that main's readiness checks qualify Docker Desktop's WSL integration but not Docker Engine installed inside WSL, and that neither has run these templates.
  • Remove the T-### tracker IDs from template headers; nothing in the repository resolves them.
  • Add the rtx-spark label to the onboarding TUI; every other profile has one.
  • Move the RTX Spark admission tests from contract.rs into tests/rtx_spark.rs, with the test bodies unchanged.

Memory budgets and serving settings are unchanged. Example discovery keeps accepting .yml, so a file with that extension cannot bypass schema, compilation, export, or onboarding checks.

Validation on macOS ARM64:

  • cargo fmt --all --check and Clippy with -D warnings for nemoclaw-runtime and nemoclaw-onboarding passed.
  • All nemoclaw-sdk tests, the nemoclaw-runtime integration tests (including the five RTX Spark cases), the nine GTC DC onboarding journeys, and the authoring example test passed after the rename.
  • nemoclaw-build docs --check and nemoclaw-build fern check passed with zero errors.
  • The full cargo ci was not run. The change renames example files, moves tests unchanged, adds one label, and edits placeholders, comments and prose. CI covers the rest.

No deployment or model inference was performed.

cv added 2 commits October 16, 2026 17:39
Use the nc-fabric repository that the agent image build prints, so replacing only the digest resolves. State that the pinned runtime image is the qwen38-flash-next vLLM build and untested with this model, and name the model license, which the snapshot does not ship as a file. Label rtx-spark in the onboarding TUI and move the RTX Spark admission tests into their own module.
State the WSL2 memory arithmetic, the CUDA-on-WSL driver model, and that neither Docker Desktop nor Docker Engine inside WSL has run these templates. Remove the GTC DC tracker IDs from template headers; nothing in the repository resolves them.
@cv
cv enabled auto-merge (squash) October 17, 2026 00:50
@cv
cv disabled auto-merge October 17, 2026 00:51
Every other example uses .yaml; match that convention and update the README links and commands.
@github-actions

Copy link
Copy Markdown
Contributor

cv added a commit that referenced this pull request Oct 17, 2026
## Why

Every provider contract test copied its providers into a fresh OpenTofu
workspace. On macOS, the first launch of each fresh copy waits about
0.65 s for verification, so most of the local contract-test time went to
copying and verifying. A symlinked provider starts in about 0.01 s.

This does **not** fix the linux_amd64 `openshell-provider::contract`
budget failure (#13376, #13348). This PR's CI showed no Linux change:

| Binary | linux_amd64 before | linux_amd64 after | linux_arm64 before |
linux_arm64 after |
|---|---|---|---|---|
| `openshell-provider::contract` | 182.4 s | 186.6 s | 175.9 s | 172.2 s
|
| `nemoclaw-provider::contract` | 55.9 s | 59.8 s | 50.3 s | 48.4 s |
| `fabric-provider::contract` | 34.3 s | 31.8 s | 36.7 s | 30.5 s |

"Before" is run 38988429435 attempt 3 (#13378); "after" is this PR's
first run.

## Change

On Unix, `TofuWorkspace` links each provider into the workspace instead
of copying it. Windows still copies: providers there must find the SSH
relay beside them.

## Validation

Local, macOS arm64, `--test-threads=4`:

| Suite | Copy | Symlink |
|---|---|---|
| `openshell-provider` contract (62 tests) | 45.4 s | 11.9 s |
| `nemoclaw-provider` contract (26 tests) | 22.1 s | 11.2 s |
| `fabric-provider` contract (4 tests) | 6.8 s | 3.3 s |

Also ran `cargo fmt --all --check`, Clippy for `nemoclaw-test-fixtures`,
and the `nemoclaw-test-fixtures` tests.
@cv
cv merged commit 3e17716 into v1 Oct 17, 2026
@cv
cv deleted the codex/gtc-dc-review-fixes branch October 17, 2026 04:46
cv added a commit that referenced this pull request Oct 17, 2026
… reply delay (#13382)

## Failure

#13381 committed `crates/vendor/tf-provider/target/`: 1,908 files, about
574 MB of Cargo build output. `.gitignore` ignored only the root
`/target/`, and `NOTICE.md` tells contributors to run `cargo test
--manifest-path crates/vendor/tf-provider/Cargo.toml`, which creates
that directory and an untracked `Cargo.lock` beside it. Every fetch of
`v1` since then downloads the build output.

#13381 also left one 40 ms reply delay in the tests. The fake OpenShell
gateway in `crates/nemoclaw-test-fixtures/src/openshell.rs` serves
without `TCP_NODELAY`, so each reply to the provider waits on Nagle's
algorithm and the provider's delayed acknowledgment, the delay #13381
removed from `tf-provider`.

## Decision

- Delete `crates/vendor/tf-provider/target/`.
- Ignore `target/` at any depth, and
`/crates/vendor/tf-provider/Cargo.lock`, which `NOTICE.md` says the copy
omits.
- Set `TCP_NODELAY` on each connection the fake gateway accepts, as
`tf-provider` now does.
- Lower the provider contract budgets in `.config/test-budgets.yaml` and
the matching per-test timeouts in `.config/nextest.toml` to the measured
times plus margin.

This commit does not shrink the repository's history: the build output
stays in `1844e321f4`. Removing it would require rewriting `v1`.

## Validation

`openshell-provider` contract tests in an Ubuntu 24.04 arm64 VM (8 CPUs)
with the linux_arm64 CI bundle. That VM reproduced CI's per-test times
before either fix.

| Build | Serial | 4 threads |
|---|---|---|
| Before #13381 | 171 s | 43 s |
| `tf-provider` fix only (measured with the same patch) | 80 s | 19 s |
| This branch | 21.2 s | 7.0 s |

Also ran `cargo fmt --all --check`, Clippy for `nemoclaw-test-fixtures`,
and `cargo test --manifest-path crates/vendor/tf-provider/Cargo.toml`,
after which `git status` showed no untracked files.

Linux CI, this PR's first run (39015106152) against `v1` after #13381
(39005227268) and before it (#13378, attempt 3):

| Binary, summed | Before #13381 | After #13381 | This PR |
|---|---|---|---|
| `openshell-provider::contract`, amd64 / arm64 | 182.4 / 175.9 s |
106.7 / 88.0 s | 56.3 / 48.6 s |
| `nemoclaw-provider::contract`, amd64 / arm64 | 55.9 / 50.3 s | 31.8 /
22.4 s | 27.5 / 23.2 s |
| `fabric-provider::contract`, amd64 / arm64 | 34.3 / 36.7 s | 21.6 /
22.1 s | 13.5 / 14.4 s |

New budgets, summed / per test: `openshell-provider::contract` 80 / 6 s
(was 190 / 12), `nemoclaw-provider::contract` 45 / 8 s (was 110 / 10),
`fabric-provider::contract` 25 / 10 s (was 40 / 22). They rest on one
run per platform. `cargo test -p nemoclaw-build --test integration ci::`
checks that the budgets and nextest timeouts agree.
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow chore Build, CI, dependency, or tooling maintenance integration: hermes Hermes integration behavior integration: openclaw OpenClaw integration behavior platform: n1x Affects N1X hardware or workflows platform: wsl Affects Windows Subsystem for Linux v1 NemoClaw v1 branch labels Oct 23, 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: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow chore Build, CI, dependency, or tooling maintenance integration: hermes Hermes integration behavior integration: openclaw OpenClaw integration behavior platform: n1x Affects N1X hardware or workflows platform: wsl Affects Windows Subsystem for Linux v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants