nemoclaw onboard fails with "manifest unknown" after pulling — stale dist/ not detected
Description
After pulling commit bb5fdb44 (fix: revert base image digest pinning that broke all e2e tests (#1938)), running nemoclaw onboard from source fails at the Docker build step with a cryptic manifest unknown error.
The root cause: dist/ is gitignored, so git pull does not update the compiled output. Any developer who had previously run npm run build:cli while cf4941a4 (the digest-pinning commit) was in their history retains a stale dist/lib/onboard.js that still patches ARG BASE_IMAGE with a digest that no longer resolves:
// present in stale dist — removed by bb5fdb44
dockerfile = dockerfile.replace(
/^ARG BASE_IMAGE=.*$/m,
ARG BASE_IMAGE=ghcr.io/nvidia/nemoclaw/sandbox-base@${blueprintDigest}
);
Docker tries to pull ghcr.io/nvidia/nemoclaw/sandbox-base@sha256:b3d832b... at step 8/15 (FROM ${BASE_IMAGE}), the digest does not exist, and the build fails. The error message gives no indication that a dist rebuild is needed.
Workaround: npm run build:cli
Related: #1904 (the underlying problem bb5fdb44 was addressing)
Reproduction Steps
- git checkout cf4941a4 # last commit before the revert
- npm run build:cli # compiles dist/ with digest-pinning code baked in
- git pull / rebase onto bb5fdb44 (or current main) — source is now clean but dist/ is stale; git reports nothing to commit
- node bin/nemoclaw.js onboard → build fails at step 8/15: "manifest unknown" stream error manifest unknown
Environment
OS: Ubuntu 20.04.6 LTS / kernel 5.15.0-139-generic Node.js: v22.22.2 Docker: Docker Engine (rootful, containerd runtime) NemoClaw: built from source (fix/dashboard-port-forward-1925, rebased on bb5fdb44) Date: 2026-04-16
Debug Output
N/A — issue is reproducible before nemoclaw onboard completes
Logs
Step 8/15 : FROM ${BASE_IMAGE}
stream error manifest unknown
After running npm run build:cli the build proceeds normally.
Checklist
- [x] I confirmed this bug is reproducible
- [x] I searched existing issues and this is not a duplicate
✨ Possibly related open PRs:
Possibly related open PRs:
Possibly related open issues: