Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
055f2bc
fix(e2e): build changed sandbox images locally
sandl99 Aug 25, 2026
723a32b
fix(e2e): complete local image qualification
sandl99 Aug 25, 2026
6a55a5f
refactor(e2e): share image input matching
sandl99 Aug 25, 2026
72e7af8
fix(e2e): route Pi to its candidate image
sandl99 Aug 25, 2026
f151510
fix(onboard): report pairing settlement failures
sandl99 Aug 25, 2026
c1e3570
fix(e2e): preserve local DCode base resolution
sandl99 Aug 25, 2026
f340c61
fix(onboard): consume pairing producer receipts
sandl99 Aug 25, 2026
c0d08cd
test(e2e): use valid vLLM storage GPU UUID
sandl99 Aug 25, 2026
5acda20
Merge remote-tracking branch 'origin/main' into fix/e2e-local-build-f…
sandl99 Aug 25, 2026
51d0933
fix(e2e): use private managed-image catalog writer
sandl99 Aug 25, 2026
b8c4387
test(e2e): remove duplicate managed-image cases
sandl99 Aug 25, 2026
a1b9a0a
test(e2e): cover renamed managed-image inputs
sandl99 Aug 25, 2026
88ab371
refactor(e2e): remove unrelated pairing changes
sandl99 Aug 25, 2026
4d2df93
test(e2e): cover PR revision guards
sandl99 Aug 25, 2026
d73cd20
fix(e2e): qualify local images on arm64
sandl99 Aug 25, 2026
80f0aba
test(e2e): set multiarch workload source
sandl99 Aug 25, 2026
95cd106
Merge branch 'main' into fix/e2e-local-build-for-image-changes
sandl99 Aug 26, 2026
6b980cc
fix(onboard): restore local build fallback
sandl99 Aug 26, 2026
65ed831
fix(e2e): harden managed image selection
sandl99 Aug 26, 2026
39d60e4
fix(e2e): qualify local images on protected runtime
sandl99 Aug 26, 2026
b188ad6
fix(mcp): wait for final provider revision
sandl99 Aug 26, 2026
12fe0e8
fix(e2e): resolve local Dockerfile from agent
sandl99 Aug 26, 2026
087f361
fix(onboard): wait for canonical pairing before warmup
sandl99 Aug 26, 2026
b49077a
docs(e2e): qualify GitHub rate-limit retries
sandl99 Aug 26, 2026
82206e4
chore(mcp): leave provider revision fix to owning PR
sandl99 Aug 26, 2026
66fd3ed
chore(onboard): leave pairing settlement unchanged
sandl99 Aug 26, 2026
2513729
merge(main): synchronize current base
sandl99 Aug 26, 2026
b6f45b2
fix(e2e): preserve local base identity on GPU
sandl99 Aug 26, 2026
272b372
fix(e2e): keep workload selection acyclic
sandl99 Aug 26, 2026
f560f03
fix(ci): resolve managed image verification failures
sandl99 Aug 26, 2026
b425a07
Merge remote-tracking branch 'origin/main' into fix/e2e-local-build-f…
sandl99 Aug 26, 2026
6b57594
test(ci): remove duplicate advisor watch trigger
sandl99 Aug 26, 2026
993c194
chore(mcp): remove unrelated credential revision fix
sandl99 Aug 26, 2026
9259f23
chore(ci): leave advisor trigger fix to owner
sandl99 Aug 26, 2026
44026cd
Merge branch 'main' into fix/e2e-local-build-for-image-changes
sandl99 Aug 26, 2026
649968b
fix(e2e): bind workload selection to commit trees
sandl99 Aug 26, 2026
1effafb
merge(main): synchronize current base
sandl99 Aug 26, 2026
7dee76e
merge: resolve conflicts with main
github-actions[bot] Aug 26, 2026
8803497
merge: resolve conflicts with main
github-actions[bot] Aug 26, 2026
577fe69
Merge branch 'main' into fix/e2e-local-build-for-image-changes
prekshivyas Aug 26, 2026
4f2407a
merge(main): resolve PR #10263 conflicts
sandl99 Aug 28, 2026
4661092
Merge remote-tracking branch 'origin/main' into fix/e2e-local-build-f…
sandl99 Aug 28, 2026
e1b8531
refactor(e2e): remove unused PR image catalog path
sandl99 Aug 28, 2026
a2b575e
fix(e2e): retain managed image catalog assembler
sandl99 Aug 28, 2026
0847dd9
refactor(e2e): remove obsolete DCode publication path
sandl99 Aug 28, 2026
20a39f1
fix(e2e): retain trusted base for local builds
sandl99 Aug 28, 2026
fecee10
refactor(e2e): remove unused publication outputs
sandl99 Aug 28, 2026
cdf63ce
Merge branch 'main' into fix/e2e-local-build-for-image-changes
sandl99 Aug 28, 2026
86bcb5b
Merge branch 'main' into fix/e2e-local-build-for-image-changes
sandl99 Aug 28, 2026
5994ff0
fix(e2e): bind image selection to commit trees
sandl99 Aug 29, 2026
f39859c
merge(main): synchronize current base
sandl99 Aug 29, 2026
6f7f097
test(e2e): map live helpers to existing coverage
sandl99 Aug 29, 2026
d9331e3
test(onboard): remove duplicate activation case
sandl99 Aug 29, 2026
363bbea
merge: resolve conflicts with main
github-actions[bot] Aug 30, 2026
f977478
merge: resolve conflicts with main
github-actions[bot] Aug 31, 2026
b247dee
Merge branch 'main' into fix/e2e-local-build-for-image-changes
cv Aug 31, 2026
53fc625
fix(e2e): restore workload source contract
cv Aug 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/base-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
- ".github/workflows/managed-images.yaml"
- "test/e2e/live/managed-image-activation-e2e.test.ts"
- "test/e2e/live/managed-image-activation-e2e-helpers.ts"
- "test/e2e/fixtures/workload-source-env.ts"
- ".github/actions/ci-reviewed-npm-audit/**"
- ".github/actions/build-base-image-platform/**"
- ".github/actions/publish-base-image-manifest/**"
Expand Down
46 changes: 6 additions & 40 deletions .github/workflows/e2e-standard-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ on:
cli_artifact_provenance:
required: true
type: string
managed_image_catalog:
managed_image_revision:
required: true
type: string
workload_source:
required: true
type: string
credential_boundary:
Expand Down Expand Up @@ -106,7 +109,9 @@ jobs:
timeout-minutes: ${{ inputs.timeout_minutes }}
env:
E2E_JOB: "1"
E2E_MANAGED_IMAGE_REVISION: ${{ inputs.managed_image_revision }}
E2E_TARGET_ID: ${{ inputs.target_id }}
E2E_WORKLOAD_SOURCE: ${{ inputs.workload_source }}
NEMOCLAW_RUN_LIVE_E2E: "1"
NEMOCLAW_E2E_EXPECTED_SHA: ${{ inputs.candidate_sha }}
NEMOCLAW_E2E_CORRELATION_ID: ${{ inputs.risk_signal_correlation_id }}
Expand Down Expand Up @@ -392,45 +397,6 @@ jobs:
with:
provenance-json: ${{ inputs.cli_artifact_provenance }}

- name: Materialize temporary managed-image catalog
if: ${{ inputs.managed_image_catalog != '' }}
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
env:
CANDIDATE_SHA: ${{ inputs.candidate_sha }}
MANAGED_IMAGE_CATALOG: ${{ inputs.managed_image_catalog }}
RESTORE_CLI: ${{ inputs.restore_cli && 'true' || 'false' }}
run: |
set -euo pipefail
catalog_path="${RUNNER_TEMP}/e2e-managed-image-catalog.json"
jq -e --arg revision "$CANDIDATE_SHA" '
type == "object" and length > 0 and
all(.[];
.source.revision == $revision and
(.source.release | type == "string" and length > 0) and
(.source.cohort | type == "string" and length > 0)
) and
([.[].source.release] | unique | length) == 1 and
([.[].source.cohort] | unique | length) == 1
' <<<"$MANAGED_IMAGE_CATALOG" >/dev/null || {
echo "::error::managed-image catalog source identity does not match the candidate" >&2
exit 1
}
if [[ "$RESTORE_CLI" == "true" ]]; then
candidate_release="v$(jq -r '.nemoclawVersion' dist/build-identity.json)"
jq -e --arg release "$candidate_release" '
all(.[]; .source.release == $release)
' <<<"$MANAGED_IMAGE_CATALOG" >/dev/null || {
echo "::error::managed-image catalog release does not match the restored CLI" >&2
exit 1
}
fi
jq -c . <<<"$MANAGED_IMAGE_CATALOG" >"$catalog_path"
[[ -s "$catalog_path" && ! -L "$catalog_path" ]] || {
echo "::error::temporary managed-image catalog is invalid" >&2
exit 1
}
printf 'NEMOCLAW_E2E_MANAGED_IMAGE_CATALOG=%s\n' "$catalog_path" >>"$GITHUB_ENV"

- name: Install reviewed cloudflared
if: ${{ inputs.cloudflared }}
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
Expand Down
283 changes: 163 additions & 120 deletions .github/workflows/e2e.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/managed-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ jobs:
find "$RUNNER_TEMP/managed-pr-contracts" -type f -name contract.json -print0
)
node --experimental-strip-types --no-warnings \
tools/e2e/pr-managed-image-publication.mts assemble \
tools/e2e/pr-managed-image-source.mts assemble \
"$CANDIDATE_SHA" \
"$NEMOCLAW_MANAGED_ACTIVATION_CATALOG" \
"${contracts[@]}"
Expand Down Expand Up @@ -1146,7 +1146,7 @@ jobs:
find "$RUNNER_TEMP/managed-pr-contracts" -type f -name contract.json -print0
)
node --experimental-strip-types --no-warnings \
tools/e2e/pr-managed-image-publication.mts assemble \
tools/e2e/pr-managed-image-source.mts assemble \
"$CANDIDATE_SHA" \
"$NEMOCLAW_E2E_MANAGED_IMAGE_CATALOG" \
"${contracts[@]}"
Expand Down
7 changes: 4 additions & 3 deletions scripts/checks/build-protected-managed-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ esac
target_arch="${platform#linux/}"
npm_target_os="linux"
npm_target_libc="glibc"
[[ "$openclaw_base" =~ ^ghcr[.]io/nvidia/nemoclaw/sandbox-base@sha256:[a-f0-9]{64}$ ]] || usage
[[ "$hermes_base" =~ ^ghcr[.]io/nvidia/nemoclaw/hermes-sandbox-base@sha256:[a-f0-9]{64}$ ]] || usage
[[ "$dcode_base" =~ ^ghcr[.]io/nvidia/nemoclaw/langchain-deepagents-code-sandbox-base@sha256:[a-f0-9]{64}$ ]] || usage
base_prefix='(ghcr[.]io/nvidia/nemoclaw|localhost:5000/nemoclaw-managed-protected-base)'
[[ "$openclaw_base" =~ ^${base_prefix}/sandbox-base@sha256:[a-f0-9]{64}$ ]] || usage
[[ "$hermes_base" =~ ^${base_prefix}/hermes-sandbox-base@sha256:[a-f0-9]{64}$ ]] || usage
[[ "$dcode_base" =~ ^${base_prefix}/langchain-deepagents-code-sandbox-base@sha256:[a-f0-9]{64}$ ]] || usage
[[ "$source_root" == /* && "$source_root" != *$'\n'* && -d "$source_root" && ! -L "$source_root" ]] || usage
source_root="$(cd -- "$source_root" && pwd -P)"
seed_helper="$source_root/scripts/checks/materialize-locked-npm-cache-seed.mts"
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/RETRY_INVENTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ Exhaustion remains failed.
| `workflow-main-observer` | Completed `E2E main` run; `tools/e2e/main-run-retry.mts`, `.github/workflows/e2e-main-retry.yaml` | Any failed job | 0 automatic reruns | Not established at workflow scope | Test owner | `failed-no-retry`, `ignored`, `passed-first-attempt`, or `passed-after-retry` for a later manually requested rerun | Failed job names, non-skipped job count, runner minutes, and source SHA for each attempt | Broad rerun removed; operation-level evidence is required |
| `hosted-runner-recovery` | Confirmed GitHub-hosted runner loss; `tools/e2e/hosted-runner-recovery.mts`, `tools/e2e/hosted-runner-loss*.mts` | Authenticated runner-allocation or internal-runner evidence that remains identical across 2 consecutive reads | 2 immediate evidence reads and at most 1 recovery request; no delay | GitHub reruns a workflow attempt | GitHub Actions | Dedicated runner-loss classifications | Source and recovery run links plus authenticated job evidence | External owner; governed by #7146, not this policy |
| `pr-rerun-reconciliation` | PR E2E dispatch reconciliation; `tools/e2e/pr-e2e-dispatch-reconciliation.mts`, `tools/e2e/pr-e2e-retry-receipt.mts` | Trusted dispatch receipt state | Contract-defined single reconciliation | Reconciles workflow and commit identity before action | GitHub Actions | Receipt-specific terminal states | Signed workflow identity and receipt | External scope; governed by #7206 |
| `github-publication-read` | GitHub API reads; `tools/e2e/base-image-publication.mts` | Fetch error, 408, rate limit, or 5xx | 3 attempts; Retry-After/rate-limit reset or linear delay capped at 10s | Read-only | GitHub API | Returned parsed selection on success; thrown terminal HTTP/fetch error on failure or exhaustion | Caller artifact records the returned publication selection; terminal errors identify exhausted fetch or HTTP status without response content | Eligible bounded read; existing implementation retained |
| `github-publication-read` | Publication and PR metadata reads; `tools/e2e/base-image-publication.mts`, `tools/e2e/pr-managed-image-source.mts` | Fetch error, 408, rate limit, or 5xx | 3 attempts; Retry-After/rate-limit reset or linear delay capped at 10s | Read-only | GitHub API | Returned publication or workload-source selection on success; thrown terminal HTTP/fetch error on failure or exhaustion | Caller records the publication selection or PR workload source; terminal errors identify exhausted fetch or HTTP status without response content | Eligible bounded read; existing implementation retained |
| `ghcr-pr-exact-digest-visibility` | Anonymous pull after same-repository PR publication; `scripts/checks/pull-public-exact-digest.sh`, `.github/workflows/managed-images.yaml` | Final nonempty Docker output line is exactly `ERROR: <validated-reference>: not found`; every other Docker failure is terminal | 5 attempts; exponential 2s, 4s, 8s, then 16s | Read-only registry request for one immutable digest; any local image-cache write repeats the same content-addressed result | GHCR | `passed-first-attempt`, `passed-after-retry`, `failed-no-retry`, or `exhausted` | Sanitized outcome, attempt number, total attempts, retry delay or Docker exit status; raw Docker output, credentials, and environment values are excluded | Eligible bounded external read after the independently fetched manifest bytes match the publication digest; every non-exact failure remains terminal and no workflow rerun occurs |
| `protected-managed-image-buildkit-transport` | One agent's exact protected managed-image `docker buildx build`; `scripts/checks/build-protected-managed-images.sh` | Final nonempty line exactly matches BuildKit's `ERROR: failed to build: failed to solve: stream error: stream ID <digits>; INTERNAL_ERROR; received from peer`; every near-match and other Docker failure is terminal | 2 attempts; fixed 2s delay | Before retry, a read-only local registry `HEAD` request confirms that the isolated revision tag is absent. The script then repeats the same agent, inputs, revision tag, and content-addressed push. A present tag or any inconclusive registry result is terminal. Existing digest, registry-byte, and image-contract checks still gate success. | BuildKit transport | `passed-first-attempt`, `passed-after-retry`, `failed-no-retry`, or `exhausted` | Existing Docker attempt output remains in the job log. Sanitized job-log annotations retain the agent, attempt, outcome, retry delay or Docker exit status, failure class, and revision-tag state without image content. | Eligible bounded operation retry for the exact pre-export transport failure observed in #9763; repeated exact failure remains failed and no workflow rerun occurs |
| `protected-managed-image-npm-registry-dns` | One agent's exact protected managed-image `docker buildx build`; `scripts/checks/build-protected-managed-images.sh` | One attempt line has an optional BuildKit step prefix, an elapsed-time field, and exact text `ERROR: curl failed: curl: (6) Could not resolve host: registry.npmjs.org`; every other curl exit, host, and near-match is terminal | 2 attempts; fixed 2s delay | Before retry, a read-only local registry `HEAD` request confirms that the isolated revision tag is absent. The script then repeats the same agent, inputs, revision tag, and content-addressed push. A present tag or any inconclusive registry result is terminal. Existing digest, registry-byte, and image-contract checks still gate success. | npm registry DNS | `passed-first-attempt`, `passed-after-retry`, `failed-no-retry`, or `exhausted` | Existing Docker attempt output remains in the job log. Sanitized job-log annotations retain the agent, attempt, outcome, retry delay or Docker exit status, failure class, and revision-tag state without image content. | Eligible bounded operation retry for the exact pre-export DNS failure observed in run 32621454757, job 97154036894; repeated exact failure remains failed and no workflow rerun occurs |
| `hermes-pinned-source-archive` | Hermes base-image source archive; `scripts/checks/download-hermes-source-archive.sh`, `agents/hermes/Dockerfile.base` | Final HTTP 429 only; curl transport failures and every other HTTP status are terminal | 3 total attempts; fixed 1s then 2s | Each attempt repeats the same read-only GET for one version-pinned archive. A failed or partial file is removed before another attempt, and the existing SHA-256 check remains before extraction. | GitHub source archive | `passed-first-attempt`, `passed-after-retry`, `failed-no-retry`, or `exhausted` | The build log records only the attempt number, total attempts, outcome, retry delay, and bounded failure class. Curl output, response content, URLs, paths, headers, and environment values are excluded. | Eligible bounded external read after HTTP 429 in both native Hermes base-image builds in #9815; checksum, archive, extraction, and patch failures remain terminal, and no workflow or platform-build retry occurs |
| `trusted-controller-collaborator-permission-read` | Collaborator-permission reads for manual PR dispatch and Launchable E2E dispatch; `.github/workflows/e2e.yaml` | Curl exit 5, 6, 7, 16, 18, 28, 35, 52, 55, 56, 92, 95, or 96; HTTP 408, 429, or 5xx | 3 attempts; linear 1s then 2s | Read-only GitHub API request | GitHub API | Transient API read versus terminal authentication, authorization, actor, or response failure | Operation name, attempt number, and sanitized failure class or HTTP status; no response body, header, or token | Eligible bounded read; HTTP 401, 403, 404, and 422, malformed responses, actor failures, and insufficient roles remain terminal; no cached permission or workflow rerun |
| `pr-exact-openclaw-mcp-repetition` | Exact managed-image OpenClaw MCP discovery and lifecycle acceptance; `.github/workflows/managed-images.yaml`, `test/e2e/live/mcp-bridge.test.ts` | Either independent matrix execution fails | 2 required executions on fresh runners; 0 workflow or test retries | Each execution creates and cleans up its own sandbox against the same exact candidate publication cohort | NemoClaw | Each execution passes or fails independently; both must pass | Existing redacted MCP diagnostics, request ledger, cleanup evidence, and fixture-credential scan for each matrix pass | Fixed acceptance repetition required by #8746; not a retry, and one pass never masks the other; trusted-private DNS-rebinding remains in full E2E where the supervisor resolver is authoritative |
| `github-exact-artifact-content-read` | Bound base-image or PR managed-image contract artifact; `tools/e2e/exact-artifact-download.mts`, `tools/e2e/pr-managed-image-publication.mts` | Transport failure, HTTP 408, HTTP 429, or HTTP 5xx while reading one pre-bound artifact ID | 3 attempts; Retry-After or linear delay capped at 10s | Read-only request against one immutable artifact ID, name, size, digest, producer run, attempt, and producer commit | GitHub artifact service | `passed-first-attempt`, `passed-after-retry`, `exhausted` for transient exhaustion, or `failed-no-retry` for terminal HTTP; identity, size, digest, archive, and contract failures throw without an aggregate outcome or `failureClass` | Content-read attempts log only the sanitized operation, attempt, HTTP status or transport class, and outcome; thrown validation failures expose only their bounded error message, never headers, body, token, signed URL, or artifact content | Standalone bounded content read; it does not use `retry-policy.ts` or `RetryEvidence`, and all identity, integrity, archive, and contract failures remain terminal |
| `github-exact-artifact-content-read` | Bound base-image or managed-image contract artifact; `tools/e2e/exact-artifact-download.mts` | Transport failure, HTTP 408, HTTP 429, or HTTP 5xx while reading one pre-bound artifact ID | 3 attempts; Retry-After or linear delay capped at 10s | Read-only request against one immutable artifact ID, name, size, digest, producer run, attempt, and producer commit | GitHub artifact service | `passed-first-attempt`, `passed-after-retry`, `exhausted` for transient exhaustion, or `failed-no-retry` for terminal HTTP; identity, size, digest, archive, and contract failures throw without an aggregate outcome or `failureClass` | Content-read attempts log only the sanitized operation, attempt, HTTP status or transport class, and outcome; thrown validation failures expose only their bounded error message, never headers, body, token, signed URL, or artifact content | Standalone bounded content read; it does not use `retry-policy.ts` or `RetryEvidence`, and all identity, integrity, archive, and contract failures remain terminal |
| `inference-set-route-convergence` | Sandbox inference probe after one OpenShell route selection; `src/lib/actions/inference-set-provider.ts`, `src/lib/actions/inference-set.ts` | HTTP 400 or 404 only when the selected API family changes; authentication, authorization, unsafe or malformed input, every other HTTP status, transport failure, and probe failure are terminal | Initial 6s route-cache wait after a provider/model change; then up to 3 probes with 2s and 4s retry delays | Each retry repeats only the read-only sandbox inference probe after one route mutation | OpenShell route cache | Converged, terminal failure, or exhausted rollback | Retry progress records only HTTP status, attempt number, and delay; the final command error stays redacted, and focused tests assert the exact attempt count and rollback | The initial wait covers one full 5s OpenShell 0.0.106 cache-refresh interval even when the stale route returns a valid 2xx; exhaustion restores the prior route, removes the uncommitted provider, and remains failed |
| `inference-switch-ts` | Verified inference route update; `test/e2e/fixtures/inference-switch-retry.ts` | Timeout, reset, DNS/connectivity/connect error, request transport error, or exact 502/503/504 status; authentication, authorization, policy, malformed-input, and invalid-request signals take precedence | 1-10 attempts; linear 5s | Setting the same desired provider/model is idempotent | Inference provider | Shared `RetryEvidence` classifications | Every attempt classification and aggregate outcome; command artifacts remain separate and redacted | Uses `runBoundedRetry`; deterministic verification mismatches stop; no `--no-verify` exhaustion bypass |
| `inference-switch-shell` | Verified shell inference route update; `test/e2e/lib/inference-switch-retry.sh` | Same bounded transient and terminal-precedence signatures as the TypeScript helper | 1-10 attempts; linear 5s | Setting the same desired provider/model is idempotent | Inference provider | Exit status remains failed on exhaustion | Existing command output and retry progress | Bounded compatibility helper; no `--no-verify` exhaustion bypass |
Expand Down
17 changes: 11 additions & 6 deletions test/e2e/fixtures/phases/onboarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,16 @@ export class OnboardingPhaseFixture {
);
}
const sandboxName = sandboxNameFromOptions(environment.onboarding, options);
const baseImageReference = requireDcodeBaseImageReference(
options.dcodeBaseImageReference === undefined
? process.env
: { [DCODE_BASE_IMAGE_ENV]: options.dcodeBaseImageReference },
);
const useCandidateBase =
options.dcodeBaseImageReference === undefined &&
process.env.E2E_WORKLOAD_SOURCE === "local-dockerfile";
const baseImageReference = useCandidateBase
? undefined
: requireDcodeBaseImageReference(
options.dcodeBaseImageReference === undefined
? process.env
: { [DCODE_BASE_IMAGE_ENV]: options.dcodeBaseImageReference },
);
const apiKey = this.secrets.required("NVIDIA_INFERENCE_API_KEY");
this.registerSandboxCleanup(sandboxName);
const result = await this.host.nemoclaw([...ONBOARD_ARGS, "--observability"], {
Expand All @@ -282,7 +287,7 @@ export class OnboardingPhaseFixture {
NEMOCLAW_PREFERRED_API: process.env.NEMOCLAW_PREFERRED_API || "openai-completions",
NVIDIA_INFERENCE_API_KEY: apiKey,
[HOSTED_INFERENCE_CREDENTIAL_ENV]: apiKey,
[DCODE_BASE_IMAGE_ENV]: baseImageReference,
...(baseImageReference ? { [DCODE_BASE_IMAGE_ENV]: baseImageReference } : {}),
}),
redactionValues: [apiKey],
timeoutMs: options.timeoutMs ?? DEFAULT_TIMEOUT_MS,
Expand Down
Loading
Loading