Repository navigation
refactor(e2e): separate integration and live end-to-end test trees - #14088
Merged
Merged
Conversation
Move nemoclaw-e2e's local-fixture tests to tests/integration (binary integration) and its live tests to tests/e2e (binary e2e). The shared NemoClaw documents move from hcl/cases to cases, the tofu test root to tests/integration/hcl, its runner to tests/integration/tofu_test, and the live HCL to tests/e2e/hcl. Module and test names are unchanged. Related to #14060 and #14061.
Collaborator
Author
Authoring session — opening
|
Contributor
This was referenced Nov 2, 2026
sandl99
added a commit
that referenced
this pull request
Nov 2, 2026
Pair the Rust integration tests with the hcl/ scenarios as rust/, beside #14088's integration tree. Signed-off-by: San Dang <[email protected]>
sandl99
added a commit
that referenced
this pull request
Nov 2, 2026
#14090) <!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> <!-- SPDX-License-Identifier: Apache-2.0 --> ## Failure Part of #14061 (parent #13933). Stacked on #14082, which is stacked on #14088. The live checks for several agents sharing one local model, and for agents on a managed Ollama model, were Rust tests that no workflow ran: the Spark plan-and-apply test needs GB10 hardware, and `shared_service`, `managed_ollama`, and `existing_ollama` run against a simulated Ollama service. Two more, `managed.rs` and `nemoclaw-sdk`'s `managed_live`, only re-read state an earlier manual run left behind. ## Decision Add two HCL E2E scenarios on the Live / HCL NVIDIA GPU runner. Each has the four runs from #14082: apply through the bundled CLI, a reply from each agent's recorded runtime, a plan without changes, and destroy that keeps only the expected storage. | Case | Deployment | Reply check | |---|---|---| | `docker-openclaw-hermes-vllm` | OpenClaw and Hermes sharing one vLLM Qwen3-4B service with bearer authentication | Any reply from each | | `docker-openclaw-hermes-ollama` | OpenClaw on NVIDIA hosted inference beside Hermes on a managed Ollama `qwen3:0.6b` | OpenClaw answers `FOUR`; Hermes any reply | Both documents copy the integration cases `docker-vllm-shared-two-agents` and `docker-hosted-ollama-two-agents`, changing only what the GPU runner needs: the `rtx-pro-6000-blackwell` hardware profile, candidate agent image templates, and their own identity, port, and subnet. I first changed the shared cases instead, but the profile and image changes alter resource addresses that the #14063 integration scenarios assert, so `hcl_integration` failed; the shared cases are unchanged here. Live / HCL builds the `ollama` image for the Ollama case and binds `nc-prototype-ollama@sha256:a…` to it, as it binds the vLLM and agent images. Deleted, with where each remaining check belongs: | Deleted | Happy path now in | Other checks | |---|---|---| | `spark::spark_yaml_plans_and_applies_expected_resources` | `docker-openclaw-hermes-vllm` | The Spark document's exact plan set: #14063. GB10 hardware: a later Spark case. The image-change test stays in `tests/e2e/rust/spark.rs`. | | `shared_service` | `docker-openclaw-hermes-vllm` | Export/reapply of a shared service: #14063 export test | | `managed_ollama` | `docker-openclaw-hermes-ollama` | Capacity and container-creation failures, storage retained without a container: #14063 and #14064 `nemoclaw/storage` | | `existing_ollama` | `docker-openclaw-hermes-ollama` (managed Ollama) | A changed upstream model digest is refused: #14063. Reusing an existing Ollama server has no live case yet. | | e2e `managed.rs`, `nemoclaw-sdk` `managed_live` | Every scenario's unchanged plan and destroy | None; they re-read an earlier run's state | The service-image helpers that only those tests used are removed; `remote_models` keeps the rest. Net: +354/−641 across 16 files. ## Validation - `cargo ci fmt`, `cargo ci clippy`, and `cargo ci test` (1,746 tests) passed on darwin_arm64. - `cargo ci lifecycle` on darwin_arm64: `hcl_integration` shards pass with the shared cases unchanged. One run failed `nemoclaw-provider` `service_readiness::standalone_readiness_defers_to_apply_rechecks_unchanged_services_and_allows_destroy` under load; it passed twice when run alone, and this PR doesn't touch providers. - The Linux-only service-image modules don't compile on macOS. I compiled them with clippy `-D warnings` after stripping their `cfg(target_os = "linux")` gates in a scratch copy, which found the helpers removed here; the files in the PR keep their gates. - Both scenarios pass against a fake CLI and probe with the pinned OpenTofu 1.12.9. - Not run: the two Live / HCL GPU lanes. They need a push to `run-hcl-e2e/**`, which hasn't been authorized. Until they pass, this PR should not merge.
kaofelix
approved these changes
Nov 2, 2026
kaofelix
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed at 84cf54f, the merge with v1 after #14064. The tree matches the trial merge I checked: every module from the old tests/main.rs is declared once with the same gate, include_str!/#[path] targets and the HCL module sources resolve, no old paths remain in code, docs, workflows, or tools, and the integration binary uses only local fixtures. CI is green, including Lifecycle on all platforms and Live / Docker and Live / Kind on Linux.
Non-blocking:
hcl-e2e.ymlis opt-in, so this PR's CI didn't run it. Please dispatch it once after merge to confirmcandidate/e2eandcases/.lifecyclenow selects the wholeintegrationbinary, so a live test added there by mistake would run in lifecycle. Worth a line in the contributor docs that live tests go intests/e2e.- Please file a v1 issue to decide what happens to the unused
tests/e2e/fixtures/gateway_readiness.tf.
cv
pushed a commit
that referenced
this pull request
Nov 3, 2026
## Failure The v1 system tests repeated the same deployment flows in many Rust scenarios. Graph outcomes such as registrations, bindings, policy, agent configuration, isolation, and unchanged reconciliation were checked through the SDK lifecycle, often with export, reapply, and destroy repeated at the end of each test. Several assertions froze counts or authored defaults that did not identify the behavior under test. The `tofu test` integration layer from #13849 already compiled shared documents against the same fixtures, but only covered eight documents and could not apply examples or authored HCL. Resolves #14060. Pull requests into `v1` don't close issues; close #14060 after merge. ## Decision Move graph outcomes into `tofu test` scenarios that reuse the existing runner, fixtures, harness, and `observed` module, and keep Rust only for what OpenTofu's test framework cannot observe. **Runner and fixtures** - A test file names the modules it applies: `./cases/<name>` (shared catalog), `./examples/<path>` for an example document compiled unchanged, or `./examples/<path>` for an authored HCL directory copied with the bundle's NVIDIA provider versions pinned. - Fixtures can declare the models the upstream lists, a sandbox creation or deletion delay, and a one-time gateway change (stop one agent runtime, change an agent's model inside its sandbox, or forget registrations). Observations add gateway effects, the most sandboxes created at once, and current sandbox IDs and registration names. The teardown check names what remains. - The harness adds `gateway_change`, `sandbox_create_delay_ms`, and `baseline`, and outputs `gateway` and `baseline` so a later run can compare with an earlier one. - The runner now builds on every platform. Windows reaches the fixture engine through the `ssh` relay that the lifecycle step puts on `PATH`, and skips scenarios with a managed Docker gateway, recording them as skipped in the CI summary. **New scenarios** | Scenario | Replaces | Owns | |---|---|---| | `kubernetes-external-three-agents` (`examples/kubernetes/external-gateway.yaml` unchanged) | `kubernetes_agents`, Fabric harness tests, stopped runtime, missing registration, concurrent sandboxes, agent removal | Shared registration and credential reference, per-agent configuration, concurrent creation, unchanged apply with no gateway effects or agent starts, restart in the same sandbox, re-registration without sandbox changes, one sandbox's replacement leaving the others | | `external-multiple-providers` (+ `-writer` case) | `multiple_providers` | Provider union per sandbox, two deployments with separate workspaces and owners, reapplying one after the other changes nothing | | `kubernetes-search-scopes` | Registration count in `export_observations::mixed_search_export…` | One inference and one web search registration per harness, each with the credential its deployment, sandbox, or agent scope names; the unused integration is not registered | | `kubernetes-slow-sandbox-delete` | `deployment::destroy_waits_for_graceful_sandbox_stop_without_retrying` | A 31 s sandbox deletion is requested once, and the replacement follows | | `travel` | `travel_example` | Authored example with Docker mocked: readiness, registration, policy, agent configuration, unchanged apply | | `travel-team` | `travel_team_example` | Per-role attachments, grants, toolsets, and a hosted-model change replacing only the scheduler's and buyer's sandboxes | **Rust that remains** covers SDK and CLI behavior: CLI output, saved state and intent, export, interrupted and cancelled operations, saved plans, and provider errors, which `expect_failures` cannot expect. The six export/reapply tests become one test that applies a document with integrations, an authored inference API, native settings, grants, exposures, and a tool limit, then checks each kind of observed drift with one table. `remote_service` and `helm_recovery` stay as they were, except two Ollama rows that repeat the vLLM storage and post-pull image checks. **Builds on #14088** (merged), which split `nemoclaw-e2e` into the `integration` and `e2e` binaries. This PR then organizes `crates/nemoclaw-e2e/tests/integration` by format: ``` tests/integration/ ├── main.rs ├── hcl/ # tofu test scenarios: main.tf, harness/, modules/, tests/ ├── tofu_test/ # their runner, the hcl_integration module ├── rust/ # Rust tests for what tofu test cannot express │ ├── deployment.rs, export_observations.rs, fabric_deployment.rs │ ├── multi_agent.rs, remote_service.rs │ └── helm_recovery.rs, helm_recovery/ └── agent_compatibility.rs, docker_fixture.rs, fabric_bridge.rs, openshell_contract_fixtures.rs, tls.rs, web_search.rs # offline checks, run with the unit tests ``` `main.rs` declares each `rust/` file with `#[path]`, so module and test names do not change. Migrating the failure cases further is a later step. **Assertions removed or consolidated:** exact effect and change counts, repeated export/reapply tails, the text row of the startup-failure test (renderer tests own it), authored defaults such as `max_turns` and temperature, the OpenShift duplicate of the Kubernetes example, and the Service-host policy check that SDK `kubernetes_inference` tests cover. **OpenTofu 1.12 limits found and documented** in `docs/contributing/integration-tests.md`: assertions cannot reference runs, only the latest applying run's outputs per module are kept, cleanup silently skips the destroy when the last run's variables reference a dropped run, and a JSON array never equals a list. ## Validation - `cargo ci` (fmt, clippy, build, test, schema, bundle, lifecycle) passed on darwin_arm64. - `hcl_integration`: 14 scenarios pass in 4 shards. With the 31 s deletion, the slowest local shard took 52 s; the others took 18 to 27 s. - Retained Rust boundary tests in `deployment`, `export_observations`, `fabric_deployment`, and `multi_agent`: 19 pass. - Each new scenario detected a deliberate, reverted regression: a timestamp-triggered replacement on unchanged apply, two deployments with one owner, an extra researcher change during the hosted-model change, a second replaced sandbox, and teardown without `destroy = true`. `every_scenario_test_names_its_inputs` failed on a missing example. - Same machine and bundle, `cargo ci lifecycle` on `24b35280fb` versus this branch: 162 → 140 tests, 151.8 s → 112.7 s wall, 1204 s → 894 s summed; the `nemoclaw-e2e` system tests went from 62 tests and 1046 s to 40 tests and 742 s. `hcl_integration` grew from 8 scenarios in 52 s to 12 in 67 s. - Net: Rust −1813 lines, HCL +801, case YAML +102. - `kubernetes-external-three-agents` also owns two checks moved out of `export_observations`: no sandbox runs an inference or runtime probe, and a model changed inside another sandbox is not drift. - `kubernetes-search-scopes` detected a deliberate, reverted regression: the Pi agent using the deployment's Tavily search instead of its own. - After merging #14088 and moving the Rust tests to `rust/`: `cargo ci` passed every step, including test (1748 tests), bundle, and lifecycle (140 tests). After moving four more checks into HCL, `cargo ci lifecycle` passed 139 tests. After merging `v1` with #14088 and #14064, whose shared fixture state now holds declarations and observations, `cargo ci` passed every step: 1748 tests, bundle, and lifecycle (100 tests; the slowest scenario shard took 47 s). The `integration` binary lists 40 ignored tests: the 36 failure cases and the 4 scenario shards. Deferred to CI: Linux and Windows lifecycle. The Windows path of the runner is untested locally; no Windows target is installed here. --------- Signed-off-by: San Dang <[email protected]>
cv
pushed a commit
that referenced
this pull request
Nov 3, 2026
## Failure v1 live coverage was spread across separate Rust lifecycles that each repeated the same apply, invoke, reapply, and destroy code with their own state readers: `brev.rs` (its own test executable), `fabric_live.rs`, `model_live.rs`, `dummy_agent.rs`, and `hosted_parity`'s live module. Only Brev and the dummy test ran in CI; the others were manual. The HCL E2E pattern from #13723 covered two cases, and the CLI applied each deployment before `tofu test` started. ## Decision Part of #14061 (parent #13933). Builds on #14088, now merged into `v1`; this branch also contains #14090, which was merged into it. Each scenario is a `cases/<case>.yaml` document and a `tests/e2e/hcl/tests/<case>.tftest.hcl` with four runs: 1. `apply` through the bundled CLI. 2. A real reply from the recorded runtime after the apply process exited, with an exact answer when the case names one. 3. A `plan` with no changes. 4. `destroy` that retains only the case's persistent storage. | Case | Runner | Replaces | |---|---|---| | `docker-openclaw-nvidia` | Live / HCL | The existing reply check, now also applying, planning, and destroying in HCL | | `docker-openclaw-v0-parity` (moved from `fixtures/openclaw-nvidia-hosted/v1.yaml`) | Live / HCL, Live / Brev | `brev.rs`, `fabric_live.rs`, `hosted_parity` OpenClaw live | | `docker-hermes-v0-parity` (moved from `fixtures/hermes-nvidia-hosted/v1.yaml`) | Live / HCL | `hosted_parity` Hermes live | | `docker-openclaw-vllm` | Live / HCL GPU runner | `model_live.rs` | | `docker-dummy` | `cargo ci live-docker` | `dummy_agent.rs` | | `docker-openclaw-hermes-vllm` (#14090) | Live / HCL GPU runner | `spark` plan-and-apply test, `shared_service` | | `docker-openclaw-hermes-ollama` (#14090) | Live / HCL GPU runner | `managed_ollama`, `existing_ollama` | Layout of the `e2e` test tree: - `tests/e2e/hcl/`: the HCL E2E scenarios and their modules, run by `hcl_live::case`. - `tests/e2e/rust/`: live tests not yet migrated, with their fixtures and helpers, moved unchanged except for relative include paths. Module names are unchanged, so test names and the `live-docker` and `live-kind` filters still match. - `hcl_live.rs` and `hosted_parity.rs` stay at the top: the HCL runner, and the deterministic v0 comparisons of the parity cases. Components: - `tests/e2e/hcl/cli` runs one bundled `nemoclaw` command (`plan`, `apply`, `destroy`) and returns its exit status, error, and JSON result. `hcl_live::case` no longer applies. - `tests/e2e/hcl/verifier` gains an optional exact `answer`. The probe writes reply text to the run's private `work` directory; published reports still hold outcomes only. - `cargo ci live-docker` binds the dummy case's template to a fresh UID, port, subnet, and image (`bind_case`) and passes the copy as `NEMOCLAW_HCL_DOCUMENT`. Its labelled-resource cleanup is unchanged. - Live / HCL builds the Hermes image and binds `nc-fabric-hermes@sha256:0…`. Brev runs the `e2e` executable's `hcl_live::case` (the separate `brev` test target is removed), then `nemoclaw destroy`, and uploads the reports, destroy receipt, and fresh-host checks; deleting the VM remains the required cleanup. - `hosted_parity`'s deterministic v0 comparisons read the moved case documents. Removed checks that were not on the successful path, and their owners: | Removed check | Owner | |---|---| | Export equals the document; reapplying it changes nothing | The SDK/CLI export test #14063 keeps | | Runtime and resource identities unchanged by reapply; restart of a stopped agent runtime in the same sandbox | #14063 `kubernetes-external-three-agents` | | Exact created resources; plan matches apply; `plan --destroy` preview | #14063 graph scenarios | | Undeclared egress denied | Policy sent to OpenShell: HCL integration `docker-openclaw-nvidia`. Enforcement is OpenShell's. | | First plan leaves Docker unchanged | Proposed: #14064 `openshell/gateway` plan contract; not yet confirmed | | vLLM manifest, storage reuse, `USR1` memory guard, recovery of the stopped container | Proposed: #14064 `nemoclaw/runtime` and `nemoclaw/storage`, and the vLLM supervisor tests; not yet confirmed for the stopped-container recovery | | Workspace file kept across reapply | Redundant with the unchanged plan | | Dummy: no sandbox objects after destroy | `cargo ci live-docker` cleanup fails on leftovers | | Dummy: derived image's executable in the sandbox | Dropped; the image is still built and deployed | | `fabric_live` against an external gateway | Was manual only; no CI case before or after | Not in this PR: `spark.rs`, `managed_gateway.rs`, `interfaces_live.rs`, `cache_provider.rs`, `docker_registry.rs`, the Kind suite, `service_images`, and the read-only SDK and provider live tests. Their happy paths and failure owners are a follow-up under #14061. OpenTofu 1.12.9 limits found here (also in #14063): assertions cannot read `run.<name>`, and a run's outputs become unknown once a later run applies the same module. The scenarios avoid both. Net against `v1`, including #14090: +1,114/−2,583 across 63 files, many of them renames into `tests/e2e/rust`. #14090 also deleted `managed.rs` and `nemoclaw-sdk`'s `managed_live`, which only re-read an earlier run's state. ## Validation - After merging `v1` (the squashed #14088, #14064, and #14080): `cargo ci fmt`, `cargo ci clippy`, and `cargo ci test` (1,746 tests) passed on darwin_arm64. The merge keeps this branch's `tests/e2e/hcl` and `tests/e2e/rust` layout; every other file matches `v1`. - After merging #14088's branch and adding `tests/e2e/rust`: `cargo ci fmt`, `cargo ci clippy`, and `cargo ci test` (1,746 tests) passed on darwin_arm64. The Linux-only modules (`docker_registry`, `service_images`, and the Ollama tests) don't compile on macOS; I checked that each of their moved include paths names an existing file, and Linux CI compiles them. One run hit `release_assessment::scanner::tests::subprocess_failures_hide_stderr_and_timeouts_reap_the_owned_process` under load; it passed three isolated reruns and the next full run. - `hcl_live::case`, `hosted_parity::`, `hcl_integration::every_scenario_test_names_a_case`, `live_docker::tests::the_dummy_case_binds_its_identity_gateway_and_image`, and the two `ci_lifecycle::live_docker_*` tests pass. - Every scenario passes under OpenTofu 1.12.9 with a fake `nemoclaw` and probe. A wrong answer and a failed apply each fail the expected run. - `tofu fmt -check`, `shellcheck` on the Brev scripts, and `tools/ci/test_brev*.py` pass. - Deferred to CI: `cargo ci live-docker` runs `docker-dummy` on this PR. Not run: Live / HCL (four cases, including the GPU lane) and Live / Brev need a push to `run-hcl-e2e/**` or `run-brev-v1-e2e/**`. Run them before merge; the deleted Rust live tests have no live replacement evidence until they pass. `cargo ci lifecycle` was not run locally.
8 tasks
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-e2ebuilds one test binary,integration(tests/main.rs), with three kinds of test in it: system tests against local fixtures, live tests against real Docker, Kubernetes, images, or inference, and non-ignored offline checks.Only the module lists in
.config/nextest.tomlsay which is which.hcl/also mixes the shared NemoClaw documents (hcl/cases), the live HCL (hcl/main.tf,hcl/tests,hcl/verifier), and the integrationtofu testroot (hcl/integration), whose runner lives intests/hcl_integration/.Related to #14060 and #14061; this PR resolves neither. #14063 will be rebased on top of it.
Decision
Split the binary into two trees, following the repository's
tests/<layer>/main.rsconvention. This PR moves and renames files only: no test, assertion, fixture behavior, or scenario changes. Rust module names and test names are unchanged, so nextest filters and test IDs keep working; only the binary ID changes.In every other crate,
integrationis the ordinary unit-test binary;testing.mdnow says so once.Placement
deployment,export_observations,fabric_deployment,kubernetes_agents,multi_agent,multiple_providers,remote_service,helm_recovery(+destroy_faults),travel_example,travel_team_exampleintegrationhcl_integrationintegrationtofu testrunner. Its directory is nowtests/integration/tofu_test/, declared with#[path = "tofu_test/mod.rs"] mod hcl_integration;so that test names, thehcl-integrationtest group filter, and documentation stay the same.docker_engine,kube_api,transport(crates/test-support)integrationhcl_integrationandhelm_recovery.docker_fixtureintegrationnemoclaw_e2e::http_fixture, which the system tests and thetofu testfixtures use.fabric_bridge,tls,web_searchintegrationnemoclaw_e2e::openshell::Fixture), the system tests' gateway. They use no real infrastructure.agent_compatibilityintegrationimage_runtimebinding and policy, which the system tests use throughimage_runtime::engineandmetadata_bundle.openshell_contract_fixturesintegrationopenshell-providercontract fixtures in sync with the SDK; it serves the lifecycle layer, not the live suites.cache_provider,docker_provider_proxy,docker_registry,dummy_agent,interfaces_live,managed_gatewaye2elive-dockerprofile.kubernetes_live(+kubernetes_oidc,kubernetes_registry,kubernetes_requests),kubernetes_charte2elive-kindprofile.kubernetes_requestsandkubernetes_registryhold non-ignored checks ofkubernetes_live's helpers, and are its#[path]submodules.hcl_live,fabric_live,model_live,hosted_parity,spark,managed,existing_ollama,managed_ollama,remote_models,shared_service,service_imagese2efabric_live,hosted_parity, andinterfaces_livetest those modules' own helpers and stay with them.pseudo_terminale2einterfaces_live; its non-ignored tests check that helper.registry_fixturee2edocker_registryandkubernetes_registry.Every
#[cfg(...)]gate is unchanged: a script compared each of the 41 module declarations in the oldtests/main.rswith the newmain.rsfiles and found each declared exactly once with the same gate.Crate-root
fixtures/(hosted parity) stays where it is. Moving it would also changetools/e2e/brev-v1-guest.shandlive-tests.mdand gain nothing for this split.Consumers updated
crates/nemoclaw-e2e/Cargo.toml:[[test]]targetsintegration(tests/integration/main.rs) ande2e(tests/e2e/main.rs); the comment explains the split.include_str!/include_bytes!gain one../.#[path]attributes tocrates/test-supportare updated. Thetofu testrunner readsCARGO_MANIFEST_DIR/casesandCARGO_MANIFEST_DIR/tests/integration/hcl.hcl_livereadscases/<case>.yamland runs OpenTofu intests/e2e/hcl, still relative to the crate directory that the workflow uses as its working directory. Paths inside the HCL harness are unchanged, because the integration root moved as one directory.every_scenario_test_names_a_casereadstests/e2e/hcl/testsandtests/integration/hcl/testsand looks up each name incases/. It is still a non-ignored test..config/nextest.toml:lifecycleselectspackage(nemoclaw-e2e) & binary(=integration)whole.live-dockerandlive-kindkeep their module filters, now onbinary(=e2e). Thehcl-integrationtest group and itsmax-threads = 1limit are unchanged..config/test-budgets.yamlnames nonemoclaw-e2ebinary, so it is unchanged..github/workflows/hcl-e2e.yml: builds and copies thee2eexecutable, runscandidate/e2e hcl_live::case, and pins images incrates/nemoclaw-e2e/cases/. The working directory stayscrates/nemoclaw-e2e.cargo ci archivederives its binaries from the profiles, so on Linux it now archivesnemoclaw-e2e::e2efor the live jobs; no code change was needed. No determinator rule ortools/script names the moved paths.brev.ymlandbrev-v1-guest.shuse only the unchangedbrevbinary and crate-rootfixtures/.testing.md(layer table, unit, system, and live text),integration-tests.md(tofu testpaths and the system-test binary),live-tests.md(everynemoclaw-e2ecommand now names--test e2e, plus thecache_provider.tflink), and links indocs/provider.md,docs/security.md,docs/design/fabric-management.md, andexamples/hcl/travel-team/README.md. The remaining--test integrationcommands fornemoclaw-e2e, including the one in.agents/skills/add-fabric-harness/SKILL.md, run modules that are inintegration.Not moved cleanly
tests/main.rswas rewritten as two new files, so Git records it as deleted andtests/integration/main.rsandtests/e2e/main.rsas added;git log --followdoes not connect them. Every other file is a rename.tests/e2e/fixtures/gateway_readiness.tfhad no consumer before this PR and still has none. It moved withtests/fixtures; this PR does not decide whether to remove it.hcl_live::probe's#[ignore]reason names its caller's path, so it now readstests/e2e/hcl/verifier. Two include lines also changed wrapping aftercargo fmt.Validation
On darwin_arm64 at
a98fc08603:Test lists. I ran
cargo nextest list --workspace --all-targets --profile P --run-ignored onlyforlifecycle,live-docker, andlive-kind, and theciprofile's non-ignored list, before the move (origin/v1at24b35280fb) and after it. After removing thenemoclaw-e2e::integration/nemoclaw-e2e::e2ebinary ID, each pair of sets is identical, and no test changed ignored state:nemoclaw-e2eafterlifecycleintegrationlive-dockere2elive-kinde2eci(non-ignored)integration, 12e2e, 2brev, 9 libnemoclaw-e2etestsintegration, 28e2e, 3brev, 9 libThese lists cover macOS only. The Linux-only modules (
docker_registry,existing_ollama,managed_ollama,remote_models,service_images,shared_service) are covered by the module-declaration comparison above and by CI's Linux jobs.cargo ci --base origin/v1passed all selected steps (tools, fmt, clippy, build, test, schema, bundle, lifecycle) in 466 s. Test: 1748 passed. Lifecycle: 162 passed, the same count as the baseline list, including all fourhcl_integration::scenarios_in_shard_*tests.cargo nextest run -p nemoclaw-e2e --test integration --test e2e --profile ci: 26 passed.cargo run -p nemoclaw-build -- fern check: 0 errors (Node 25.9.0 locally; CI uses 24.22.1).git log --followworks on moved files, for exampletests/integration/tofu_test/mod.rs(through test(e2e): run SDK-compiled cases under tofu test against shared fixtures #13849) andcases/docker-openclaw-nvidia.yaml(through test(e2e): define verification scenarios in HCL #13723).CI / Bundleona98fc08603passed every job:Live / Dockerran thee2ebinary's live-docker tests on linux_amd64 and linux_arm64: 7 tests, then one in each of the three gateway runs, all passed.Live / Kindran thee2ebinary's 7 live-kind tests on linux_amd64 and linux_arm64, all passed.Merging
origin/v1atc17761c8fe(merge commit84cf54f5e9) brought in #14064 and #14080. Git applied #14064's change totests/hcl_integration/fixtures.rsthrough the rename, and the mergedtests/integration/tofu_test/fixtures.rsis identical to v1's file. After the merge:nemoclaw-e2etest lists for every profile are unchanged froma98fc08603. The other changes, all from test(contract): migrate provider contract scenarios to tofu test #14064, are in the providercontractbinaries:lifecyclenow lists 123 tests.cargo ci --base origin/v1passed in 251 s: test 1748 passed, lifecycle 123 passed.CI / Bundleon84cf54f5e9passed. The firstlinux_amd64 / Live / Kindattempt ran all 7 tests and passed them, but took 304 s against the 270 s budget in.config/test-budgets.yaml, so the job failed. Twokubernetes_livetests took about 197 s each, against the 150 s per-test limit. The rerun took 234 s and stayed within budget. Thee2ebinary's code is the same as ata98fc08603, where this job took 231 s.No live suite ran locally: Docker was not running.
After merge, dispatch
Live / HCL(hcl-e2e.yml). It is manual-only, and its executable name, case path, and OpenTofu directory changed.