Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
51 changes: 51 additions & 0 deletions .github/workflows/platform-vitest-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,57 @@ 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
shell: bash
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
Expand Down
4 changes: 2 additions & 2 deletions ci/platform-matrix.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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 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)",
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/prerequisites.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 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. |
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/platform-support.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 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. |
Expand Down
39 changes: 39 additions & 0 deletions src/lib/onboard/preflight-ubuntu-2604.test.ts
Original file line number Diff line number Diff line change
@@ -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,
});
});
});
4 changes: 2 additions & 2 deletions test/install-preflight.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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
Expand Down
Loading