From e03fb285264b9ada5ce4c607f5dcc864cbc93b90 Mon Sep 17 00:00:00 2001 From: Ho Lim Date: Sun, 12 Jul 2026 17:34:51 -0700 Subject: [PATCH 1/3] ci(platform): add Ubuntu 26.04 contract lane Signed-off-by: Ho Lim --- .github/workflows/platform-vitest-main.yaml | 50 +++++++++++++++++++ ci/platform-matrix.json | 4 +- docs/get-started/prerequisites.mdx | 2 +- docs/reference/platform-support.mdx | 2 +- src/lib/onboard/preflight-ubuntu-2604.test.ts | 39 +++++++++++++++ 5 files changed, 93 insertions(+), 4 deletions(-) create mode 100644 src/lib/onboard/preflight-ubuntu-2604.test.ts diff --git a/.github/workflows/platform-vitest-main.yaml b/.github/workflows/platform-vitest-main.yaml index 6348aefab1b..78b414fc3e7 100644 --- a/.github/workflows/platform-vitest-main.yaml +++ b/.github/workflows/platform-vitest-main.yaml @@ -23,6 +23,56 @@ concurrency: cancel-in-progress: true jobs: + ubuntu-2604-contract: + runs-on: ubuntu-latest + container: + image: ubuntu:26.04@sha256:b7f48194d4d8b763a478a621cdc81c27be222ba2206ca3ca6bc42b49685f3d9e + timeout-minutes: 20 + steps: + - name: Install runner dependencies + run: | + apt-get update + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + ca-certificates git python3 + rm -rf /var/lib/apt/lists/* + + - name: Checkout + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + with: + persist-credentials: false + + - name: Setup Node.js + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 + with: + node-version: "22" + cache: npm + + - name: Verify Ubuntu 26.04 userspace + run: | + set -euo pipefail + . /etc/os-release + test "$ID" = "ubuntu" + test "$VERSION_ID" = "26.04" + printf 'os=%s version=%s arch=%s\n' "$ID" "$VERSION_ID" "$(uname -m)" + node --version + npm --version + + - name: Install dependencies + run: npm ci --ignore-scripts + + - name: Build CLI + run: npm run build:cli + + - name: Run Ubuntu 26.04 compatibility contracts + run: | + npx vitest run --project cli \ + src/lib/onboard/preflight.test.ts \ + src/lib/onboard/preflight-ubuntu-2604.test.ts + npx vitest run --project integration test/platform.test.ts + npx vitest run --project installer-integration \ + --testTimeout 30000 \ + test/install-preflight.test.ts + macos-vitest: runs-on: macos-26 timeout-minutes: 20 diff --git a/ci/platform-matrix.json b/ci/platform-matrix.json index 81fd2046f68..337dbcb0ea3 100644 --- a/ci/platform-matrix.json +++ b/ci/platform-matrix.json @@ -1,7 +1,7 @@ { "$comment": "Single source of truth for NemoClaw launch claims and platform support. Covers platforms, inference providers, supported agents, messaging integrations, and deployment paths. Scripts read this to generate README and docs tables. QA/CI update platform/provider rows; the engineering owner reviews other rows. Docs are derived.", "version": "1.1", - "updated": "2026-06-25", + "updated": "2026-07-12", "project_status": { "stage": "alpha", @@ -31,7 +31,7 @@ "status": "tested", "prd_priority": "P0", "ci_tested": true, - "notes": "Primary tested path. Ubuntu 24.04 is the validated distro in production source (`DEFAULT_COMPAT_IMAGE` in `src/lib/onboard/docker-driver-gateway-compat.ts:16` and the preflight tests pin 24.04 only); the installer's package-manager probes assume apt-get. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated." + "notes": "Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on every main update; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated." }, { "name": "macOS (Apple Silicon)", diff --git a/docs/get-started/prerequisites.mdx b/docs/get-started/prerequisites.mdx index 47a2513a5e6..761f50633be 100644 --- a/docs/get-started/prerequisites.mdx +++ b/docs/get-started/prerequisites.mdx @@ -91,7 +91,7 @@ The table comes from [`ci/platform-matrix.json`](https://github.com/NVIDIA/NemoC {/* platform-matrix:begin */} | OS | Container runtime | Status | Notes | |----|-------------------|--------|-------| -| Linux | Docker | Tested | Primary tested path. Ubuntu 24.04 is the validated distro in production source (`DEFAULT_COMPAT_IMAGE` in `src/lib/onboard/docker-driver-gateway-compat.ts:16` and the preflight tests pin 24.04 only); the installer's package-manager probes assume apt-get. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated. | +| Linux | Docker | Tested | Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on every main update; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated. | | macOS (Apple Silicon) | Colima, Docker Desktop | Tested with limitations | Start the container runtime (Colima or Docker Desktop) before running the installer. Homebrew Colima users must install both Colima and the Docker CLI (`brew install colima docker`) before `docker info` can work. Xcode Command Line Tools (`xcode-select --install`) are typically required for Node native modules during install. NemoClaw recommends them but does not enforce them during preflight. | | DGX Spark | Docker | Tested | Use the standard installer and `$$nemoclaw onboard`. For an end-to-end walkthrough with local inference, see the [NVIDIA Spark playbook](https://build.nvidia.com/spark/nemoclaw). | | Windows WSL2 | Docker Desktop (WSL backend) | Tested with limitations | Requires WSL2 with Docker Desktop backend. | diff --git a/docs/reference/platform-support.mdx b/docs/reference/platform-support.mdx index d635b9412e9..f4a69ebe2fc 100644 --- a/docs/reference/platform-support.mdx +++ b/docs/reference/platform-support.mdx @@ -78,7 +78,7 @@ For the onboarding-time supported set without deferred rows, refer to [Prerequis {/* platform-matrix-full:begin */} | OS | Container runtime | Status | PRD priority | CI | Notes | |----|-------------------|--------|--------------|----|-------| -| Linux | Docker | Tested | P0 | Yes | Primary tested path. Ubuntu 24.04 is the validated distro in production source (`DEFAULT_COMPAT_IMAGE` in `src/lib/onboard/docker-driver-gateway-compat.ts:16` and the preflight tests pin 24.04 only); the installer's package-manager probes assume apt-get. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated. | +| Linux | Docker | Tested | P0 | Yes | Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on every main update; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated. | | macOS (Apple Silicon) | Colima, Docker Desktop | Tested with limitations | P0 | Yes | Start the container runtime (Colima or Docker Desktop) before running the installer. Homebrew Colima users must install both Colima and the Docker CLI (`brew install colima docker`) before `docker info` can work. Xcode Command Line Tools (`xcode-select --install`) are typically required for Node native modules during install. NemoClaw recommends them but does not enforce them during preflight. | | DGX Spark | Docker | Tested | P1 | Yes | Use the standard installer and `$$nemoclaw onboard`. For an end-to-end walkthrough with local inference, see the [NVIDIA Spark playbook](https://build.nvidia.com/spark/nemoclaw). | | Windows WSL2 | Docker Desktop (WSL backend) | Tested with limitations | P1 | No | Requires WSL2 with Docker Desktop backend. | diff --git a/src/lib/onboard/preflight-ubuntu-2604.test.ts b/src/lib/onboard/preflight-ubuntu-2604.test.ts new file mode 100644 index 00000000000..6e91f971a2b --- /dev/null +++ b/src/lib/onboard/preflight-ubuntu-2604.test.ts @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + +import { describe, expect, it } from "vitest"; + +import { assessHost } from "./preflight"; + +describe("Ubuntu 26.04 preflight compatibility (#3245)", () => { + it("keeps Docker and cgroup v2 on the supported Linux path", () => { + const result = assessHost({ + platform: "linux", + env: {}, + release: "6.14.0-15-generic", + dockerInfoOutput: JSON.stringify({ + ServerVersion: "29.3.1", + OperatingSystem: "Ubuntu 26.04 LTS", + CgroupVersion: "2", + }), + readFileImpl: () => '{"default-cgroupns-mode":"private"}', + commandExistsImpl: (name: string) => + name === "docker" || name === "apt-get" || name === "systemctl", + runCaptureImpl: (command: readonly string[]) => + ({ + 'sh -c command -v "$1" -- apt-get': "/usr/bin/apt-get", + 'sh -c command -v "$1" -- systemctl': "/usr/bin/systemctl", + "systemctl is-active docker": "active", + "systemctl is-enabled docker": "enabled", + })[command.join(" ")] ?? "", + }); + + expect(result).toMatchObject({ + dockerInfoSummary: "29.3.1 ยท Ubuntu 26.04 LTS", + runtime: "docker", + packageManager: "apt", + dockerCgroupVersion: "v2", + requiresHostCgroupnsFix: false, + }); + }); +}); From eab20c3bf59a148b9f39dc17196fa2f94ee131e3 Mon Sep 17 00:00:00 2001 From: Charan Jagwani Date: Mon, 13 Jul 2026 10:38:36 -0700 Subject: [PATCH 2/3] fix(ci): run Ubuntu 26.04 probe with bash Signed-off-by: Charan Jagwani --- .github/workflows/platform-vitest-main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/platform-vitest-main.yaml b/.github/workflows/platform-vitest-main.yaml index 78b414fc3e7..6b95357ceb2 100644 --- a/.github/workflows/platform-vitest-main.yaml +++ b/.github/workflows/platform-vitest-main.yaml @@ -48,6 +48,7 @@ jobs: cache: npm - name: Verify Ubuntu 26.04 userspace + shell: bash run: | set -euo pipefail . /etc/os-release From 941b6e786e072ebd1fa62f7f48f789a31ce06c80 Mon Sep 17 00:00:00 2001 From: Charan Jagwani Date: Mon, 13 Jul 2026 10:57:17 -0700 Subject: [PATCH 3/3] test(platform): cover Ubuntu 26.04 installer preflight Signed-off-by: Charan Jagwani --- ci/platform-matrix.json | 2 +- docs/get-started/prerequisites.mdx | 2 +- docs/reference/platform-support.mdx | 2 +- test/install-preflight.test.ts | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/platform-matrix.json b/ci/platform-matrix.json index 337dbcb0ea3..ed73d215241 100644 --- a/ci/platform-matrix.json +++ b/ci/platform-matrix.json @@ -31,7 +31,7 @@ "status": "tested", "prd_priority": "P0", "ci_tested": true, - "notes": "Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on every main update; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated." + "notes": "Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on eligible main pushes; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated." }, { "name": "macOS (Apple Silicon)", diff --git a/docs/get-started/prerequisites.mdx b/docs/get-started/prerequisites.mdx index 761f50633be..648d550a0cb 100644 --- a/docs/get-started/prerequisites.mdx +++ b/docs/get-started/prerequisites.mdx @@ -91,7 +91,7 @@ The table comes from [`ci/platform-matrix.json`](https://github.com/NVIDIA/NemoC {/* platform-matrix:begin */} | OS | Container runtime | Status | Notes | |----|-------------------|--------|-------| -| Linux | Docker | Tested | Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on every main update; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated. | +| Linux | Docker | Tested | Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on eligible main pushes; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated. | | macOS (Apple Silicon) | Colima, Docker Desktop | Tested with limitations | Start the container runtime (Colima or Docker Desktop) before running the installer. Homebrew Colima users must install both Colima and the Docker CLI (`brew install colima docker`) before `docker info` can work. Xcode Command Line Tools (`xcode-select --install`) are typically required for Node native modules during install. NemoClaw recommends them but does not enforce them during preflight. | | DGX Spark | Docker | Tested | Use the standard installer and `$$nemoclaw onboard`. For an end-to-end walkthrough with local inference, see the [NVIDIA Spark playbook](https://build.nvidia.com/spark/nemoclaw). | | Windows WSL2 | Docker Desktop (WSL backend) | Tested with limitations | Requires WSL2 with Docker Desktop backend. | diff --git a/docs/reference/platform-support.mdx b/docs/reference/platform-support.mdx index f4a69ebe2fc..89a2a5c2317 100644 --- a/docs/reference/platform-support.mdx +++ b/docs/reference/platform-support.mdx @@ -78,7 +78,7 @@ For the onboarding-time supported set without deferred rows, refer to [Prerequis {/* platform-matrix-full:begin */} | OS | Container runtime | Status | PRD priority | CI | Notes | |----|-------------------|--------|--------------|----|-------| -| Linux | Docker | Tested | P0 | Yes | Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on every main update; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated. | +| Linux | Docker | Tested | P0 | Yes | Primary tested path. Ubuntu 24.04 has host-level onboarding validation. A digest-pinned Ubuntu 26.04 userspace lane builds the CLI and runs preflight, installer, and platform contracts on eligible main pushes; Docker-host, AppArmor, Landlock, and live onboarding validation on 26.04 remain pending. Other distros (Ubuntu 22.04, Fedora, Rocky, Alma, NixOS, Arch) may work but are not validated. | | macOS (Apple Silicon) | Colima, Docker Desktop | Tested with limitations | P0 | Yes | Start the container runtime (Colima or Docker Desktop) before running the installer. Homebrew Colima users must install both Colima and the Docker CLI (`brew install colima docker`) before `docker info` can work. Xcode Command Line Tools (`xcode-select --install`) are typically required for Node native modules during install. NemoClaw recommends them but does not enforce them during preflight. | | DGX Spark | Docker | Tested | P1 | Yes | Use the standard installer and `$$nemoclaw onboard`. For an end-to-end walkthrough with local inference, see the [NVIDIA Spark playbook](https://build.nvidia.com/spark/nemoclaw). | | Windows WSL2 | Docker Desktop (WSL backend) | Tested with limitations | P1 | No | Requires WSL2 with Docker Desktop backend. | diff --git a/test/install-preflight.test.ts b/test/install-preflight.test.ts index 12a2e7301ff..fbc8bc50be1 100644 --- a/test/install-preflight.test.ts +++ b/test/install-preflight.test.ts @@ -778,7 +778,7 @@ exit 0 expect(fs.existsSync(openshellLog)).toBe(false); }); - it("auto-resumes an interrupted onboarding session during install", () => { + it("auto-resumes an interrupted onboarding session after Ubuntu 26.04 installer preflight (#3245)", () => { const tmp = fs.mkdtempSync(path.join(os.tmpdir(), "nemoclaw-install-resume-")); const fakeBin = path.join(tmp, "bin"); const prefix = path.join(tmp, "prefix"); @@ -797,7 +797,7 @@ exit 0 path.join(fakeBin, "docker"), `#!/usr/bin/env bash if [ "$1" = "info" ]; then - echo '{"ServerVersion":"29.3.1","OperatingSystem":"Ubuntu 24.04","CgroupVersion":"2"}' + echo '{"ServerVersion":"29.3.1","OperatingSystem":"Ubuntu 26.04 LTS","CgroupVersion":"2"}' exit 0 fi exit 0