Repository navigation
ci: build Linux bundles on Ubuntu 22.04, the oldest supported Linux - #14355
Merged
Merged
Conversation
Signed-off-by: Carlos Villela <[email protected]>
Collaborator
Author
Authoring session — opening
|
Contributor
hunglp6d
added a commit
that referenced
this pull request
Nov 10, 2026
Avoid a mutable binding that is unused on non-Unix platforms while preserving private directory permissions on Unix. Merge the latest v1 bundle-build compatibility update (#14355). Signed-off-by: Hung Le <[email protected]>
cv
added a commit
that referenced
this pull request
Nov 10, 2026
The Linux `Unit build and test` job now runs `docker buildx version` before `cargo ci test`, so the unit tests' 8 s limit no longer includes the runner's first read of the Docker CLI and its Buildx plugin from disk. ## Problem On some hosted runners, `bake::agent_builds_default_to_the_host_platform_and_reject_others` and `bake::amd64_builds_every_harness` take 4 to 9 s instead of about 1.5 s; on a `v1` push they took 9.0 s and 8.6 s and failed `linux_amd64 / Unit build and test`. They sort first among the Bake tests, start together, and make the job's first Docker calls. Each of those calls reads the Docker CLI (43 MB) and the Buildx plugin (68 MB) from the runner's disk while the test run keeps the runner's four CPUs busy; later calls find both in the page cache and take 0.1 to 0.5 s. The delay depends on the runner, not the Ubuntu version: on `ubuntu-24.04`, before #14355 moved the job to `ubuntu-22.04`, the same tests took 4.6 s and 4.2 s in one run. ## Change - A `Load Docker Buildx from disk` step in `bundle-platform.yml` runs `docker buildx version` on Linux after the build and before the tests. It ignores a failure, because the Bake tests skip without Docker Buildx. - The test budget stays at 8 s. The Docker daemon isn't involved: `docker buildx bake --print` succeeds with `DOCKER_HOST` pointing at a missing socket, so waiting for the daemon, or giving Bake what it would ask the daemon, would not shorten these tests. ## Beyond CI A temporary workflow on this branch, removed before review, measured the cause and the fix on hosted `linux_amd64` runners: - A wrapper recorded each Docker call during `cargo ci test` in four runs. On one runner, an `ubuntu-24.04` one, the first two concurrent `docker buildx version` calls took 5.5 s each while the system took about 800 major page faults, and the two tests took 6.7 s and 6.1 s. On the three `ubuntu-22.04` runners, the first calls took 0.26 to 0.56 s with about 630 faults. Every later call took under 0.5 s with almost none. - Alone on an idle runner, the first `docker buildx version` took 0.3 to 0.7 s, and 2.7 s on an `ubuntu-22.04` runner after writing 6 GB that wasn't yet flushed. - Both images have Docker 28.0.4 and Buildx 0.38.1. - With the new step, in eight runs (six `ubuntu-22.04`, two `ubuntu-24.04`), the step took 0.09 to 2.2 s, the tests' first Docker calls took at most 0.22 s, and no Bake test took more than 2.5 s, including the wrapper's overhead. Unverified: the step moves the disk read rather than removing it, so the job's wall time keeps it; eight runs may not include a runner as slow as the one that took 9.0 s. --------- Signed-off-by: Carlos Villela <[email protected]>
cv
added a commit
that referenced
this pull request
Nov 10, 2026
…14372) When `CI / Bundle` runs the GPU HCL E2E cases on `v1` pushes and manual runs, Live / HCL now uses Linux AMD64's test archive, bundle, and live images from that run instead of building its own; a dispatch of Live / HCL still builds a candidate. ## Problem On every `v1` push, Live / HCL's `Build` job rebuilt the `linux_amd64` bundle, the `e2e` test executable, and the OpenClaw and Hermes images on Ubuntu 22.04, which took 530 to 713 seconds in recent pushes. Since #14355, `CI / Bundle` builds the same artifacts on Ubuntu 22.04 and checks their glibc requirement, so the GPU runner can run them. Resolves #14354 ## Change - The `E2E GPU` call moves from `bundle-platform.yml` into `e2e-platform.yml`, where it needs `E2E build images` and passes the test artifact prefix, the bundle, and the live images artifact or the `v1` commit whose pushed images to pull. Its jobs now show as `linux_amd64 / E2E / E2E GPU / ...`. Calling it from `bundle-platform.yml` would have had to wait for the whole E2E workflow, including the Docker and kind suites, to read the live images artifact's name. - `hcl-e2e.yml` takes those artifacts as inputs. Each case's job loads them as the hosted `E2E HCL CASE` jobs do: the bundle, the `e2e` executable from `PREFIX-live`, and the live images tagged as `nc-fabric:openclaw` and `nc-fabric:hermes`, or the commit's pushed images. - A new `Cases` job lists the cases and their runtime images and fetches the runtime images' pinned sources with `nemoclaw-build images fetch`, using `CI / Bundle`'s archived build tool when it has one. It passes the Ollama sources to the case jobs as a tar, which keeps the mode and time the image's layers retain. Each case's job still builds its model runtime images with Bake. - `Build` runs only without `CI / Bundle`'s artifacts, as on a dispatch. Its candidate unpacks to the same paths as those artifacts, so the case jobs share one load, run, and destroy path. - `Live / Brev` is unchanged: it runs only from a `v1` dispatch or a push to a `run-brev-v1-e2e/**` branch, never within a `CI / Bundle` run, so no `CI / Bundle` artifacts exist for it to download. It also builds its image as an OCI archive with recorded metadata, not the live images archive. - A workflow contract test checks that only the E2E platform workflow calls Live / HCL, with these artifacts, and that `Build` runs only without them. The testing and live-test guides describe the new wiring. ## Beyond CI A manual `CI / Bundle` run on this branch ran the three GPU cases on the NVIDIA GPU runner from `CI / Bundle`'s artifacts, with Live / HCL's `Build` skipped, and all three passed. A dispatch of Live / HCL on this branch with `hosted` off built its own candidate and passed the same three cases. Not exercised: the GPU cases with pulled `v1` commit images, which `CI / Bundle` uses only when a plan names such a commit, and a dispatch of Live / HCL with the hosted cases. Signed-off-by: Carlos Villela <[email protected]>
This was referenced Nov 11, 2026
cv
added a commit
that referenced
this pull request
Nov 11, 2026
Brings the contributor guides, three skills, and four workflow comments in line with what `v1` does now, for maintainers who run or change CI and the test suites. Only documentation and comments change. ## Problem An audit of `internal-docs/`, `.agents/skills/`, `AGENTS.md`, `WRITING.md`, and the comments in `.github/workflows/` and `.github/actions/` against the commits in `v0.1.0-rc9..origin/v1` and the current code found statements that no longer hold: - `testing.md` gave the old contract budgets for `fabric-provider::contract` (25/10/20 s) and `nemoclaw-provider::contract` (45/8/16 s); `.config/test-budgets.yaml` and `.config/nextest.toml` now set 32/16/32 s and 82/12/24 s. - `testing.md` still described an offline runtime-rebuild test in the `live-docker` profile, which went away with the runtime builder; every test in that profile now uses Docker and runs in the `docker-engine` group. It also said the `live-docker` report joins "four" nextest commands, while the same page counted five; since #14238 the count depends on the selected Docker HCL cases, which `--hcl-cases` names, and the page didn't mention that option's rules. - `testing.md` said `changes live-images` looks for a commit that pushed "all four images"; `LIVE_PULLED` in `crates/nemoclaw-build/src/ci.rs` has three (OpenClaw, Hermes, dummy) since #14250. - `testing.md` said Docker and Kind jobs restore the shared Rust cache. Since the live suites run from archives (`.github/actions/live-suite`), only `E2E build images` restores it; Live / HCL's `Build` job uses its own `hcl-deps-v1` prefix. - `testing.md` and `live-tests.md` said a manual dispatch needs the workflow on the default branch, as GitHub's documentation says, and so told readers to run the advisory check locally and Live / Brev only through a pushed branch. GitHub has accepted dispatches of `CI / Dependencies` on a feature branch, including the advisory step, and of `Live / Brev` on `v1`, although `main` is the default branch; the evidence comment links the runs. `brev.yml` made the same claim in a comment. - `testing.md` didn't mention CI / Dependencies' `Python scripts` check, the manual `E2E / Colossus runner connectivity` workflow (#14305, #14340), or the Buildx warm-up before the Linux unit tests (#14367). - `testing.md` told authors to report commands and results in the PR, and `documentation.md` asked for `docs:` commits that explain "the decision and validation"; #14214 changed the template to Problem, Change, and Beyond CI, and `AGENTS.md` now sends local check results to whoever asked for the change. - `live-tests.md` placed the three hosted HCL cases on Live / HCL; #14238 moved them to CI / Bundle's `E2E HCL CASE` jobs on Linux AMD64. - `integration-tests.md` said the GTC DC Kubernetes scenario plans against an existing gateway and that its HCL equivalent isn't planned. #14315 made the example install a managed Kubernetes gateway, added `gtc-dc-kubernetes-amd64-hcl`, which plans `examples/kubernetes/hosted-nvidia.tf`, let the runner take a single `.tf` file, and kept a managed Kubernetes gateway's endpoint when redirecting to the fixtures. - `integration-tests.md`'s `nemoclaw-provider` contract table missed `gpu_requests` (#14401), `readiness_refs`, and `references`. - Workflow comments: `e2e-platform.yml` referred to a "required E2E check" and said no required check depends on the live suites, though a failed suite fails `Test / PLATFORM`; `image-build.yml` said the live suites pull the proxy image; `hcl-e2e.yml` said the hosted cases run "on every run", though they run only when selected and not on forks' pull requests. - Skills: `add-fabric-harness` omitted the `read_write` key that `image/fabric/catalog.py` accepts in `adapters.json` (#14037); `write-tests`' `tofu test` reference omitted single-file HCL modules; `verify-yaml-deployment` said all committed examples use ports 17901–17909 and 172.30.180–188, which only the GTC DC examples do. ## Change - `internal-docs/contributing/testing.md`: the budgets, the `docker-engine` group, the `live-docker` commands and `--hcl-cases` rules, the image count, the opt-in `live-images` step, the `tools/ci` push path and `Python scripts` check of the dependency workflow, the dispatch command for the advisory step, the Colossus workflow, the Buildx warm-up, the cache-sharing paragraph, and the reporting rule above. - `internal-docs/contributing/live-tests.md`: the runner of the hosted cases, and how to run Live / Brev on `v1`. - `internal-docs/contributing/integration-tests.md`: the module sources, the Kubernetes endpoint exception, both GTC DC Kubernetes rows, and three contract-table rows. - `internal-docs/contributing/documentation.md`: the pull request title and description rule. - `.agents/skills/`: the three skill corrections above. - `.github/workflows/{e2e-platform,image-build,hcl-e2e,brev}.yml`: comments only. Checked and left unchanged: `configuration-schema.md` (paths, commands, generator behavior), `releases.md` (the 11 agent packages match `HARNESSES` in `docker-bake.hcl`; the prune keeps 10 commits), `image-assessment.md` (Syft 1.55.0, Grype 0.121.0, the 72-hour database limit, the 120-second timeout, and the acceptance test's name), `agent-image-maintenance.md`, `documentation-build.md`, the design records' pins and source paths (OpenShell revision `5d25211b`, Helm provider 3.3.0), the kind and interface scenario details in `live-tests.md` against their `.tftest.hcl` files, `AGENTS.md`, `WRITING.md`, the PR creation skill, and the historical evidence pages. Left out, because they are outside this audit's scope: - #14414: `.github/actions/setup-docs/action.yml` restores `cache-prefix: native-bundle-v3`, but the bundle job has written `native-bundle-v4` since #14355, so documentation builds restore no current cache. `testing.md` now says so and links the issue. - #14415: the comments in `.config/nextest.toml` and `.config/test-budgets.yaml`, and the `cargo ci` step help in `crates/nemoclaw-build/src/main.rs`, are stale in the same way as `testing.md` was. ## Beyond CI A local check of every relative link and heading anchor in `internal-docs/`, `.agents/`, `AGENTS.md`, `WRITING.md`, and `.github/*.md` found no broken target; `fern check` covers only the published pages.
cv
added a commit
that referenced
this pull request
Nov 11, 2026
…ms (#14413) The release notes now list every user-visible change on `v1` since the `v0.1.0-rc9` tag, including the breaking ones, and four example pages drop claims that later changes made false. ## Problem `docs/about/release-notes.md` listed three breaking changes and none of the features, fixes, and onboarding changes that reached `v1` after `v0.1.0-rc9`; it didn't name the configuration shapes the parser now rejects or the intent record version `v0.1.0-rc9` writes. Some example claims went stale: - `examples/spark/README.md` said the pinned OpenShell has the Podman TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before OpenShell 0.1.0, and `v1` pins 0.1.7. - `examples/station/README.md` and `examples/gtc-dc/README.md` required exactly one visible GPU on the host; since #13929, `container.gpuDevices` lets a service on a host with more GPUs request one. - `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed that, and the pinned catalog's Deep Agents `reasoning_effort` accepts `none`. - The travel team cited #13313 for the booking key its service doesn't receive, but #13313 closed when `openshell_api` landed. ## Change - `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9", grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a later commit changed an earlier one, the entry describes the current code, and changes added and removed after the tag aren't listed: - Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186, #14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343. - Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912, #13964, #14388, #14390, #14397. - Gateways and Kubernetes: #13909, #13970, #13922 (an existing namespace, refused at plan by #13756, is now bound; cluster-wide reads dropped), #14014, #14169, #13921. - Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135, #13775, #13744, #13701. - Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228, #14233, #14334, #14336. - Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200, #13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813, #14246, and the pins in `versions.json` and `image/fabric/Dockerfile`. - Its breaking changes since the tag: - the intent record moving from 15, which `v0.1.0-rc9` writes, through 16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394); - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705); - a recipe `compatibility.gpu` outside every hardware profile (#13912); - model tuning the adapter doesn't accept (#14111), and Hermes's `max_tokens` losing its default (#14296); - `skills.paths` resolution (#14296); - endpoint and `networkCIDR` validation (#13847, #14081); - the HCL `gateway_values` attribute (#14014), and Kubernetes ownership receipts from before #13922 and #14014. The two earlier items stay, under their own heading. - `examples/spark/README.md` replaces the closed OpenShell#3427 blocker with the Podman and remote-model limits in `docs/resources/limits.md`. - `examples/station/README.md` and `examples/gtc-dc/README.md` require one GPU visible in the model container, and point to `container.gpuDevices` for a host with more. - `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the NeMo-Fabric#433 limitation, and the travel team's booking-key statements link #14417 instead of #13313. Not listed, because both changes landed after the tag: Deep Agents Code (#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the "Creating infrastructure state" progress step (#14169, #14248). Checked and left unchanged: the root `README.md`, `crates/nemoclaw-onboarding/README.md`, `crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the other example READMEs, and every example YAML header comment. The GPU autoscaling README and `load.sh` read the JSON fields `OperationResult` serializes, and ai-openshell/openshell#4287 is fixed only after the pinned 0.1.7. The two pre-tag release-note items still match the schema and SDK. `docs/README.md` is left to #14412, which retires the stale field reference snapshot it describes. Not verified: whether Hermes sends the booking key's placeholder to MCP servers; #14417 tracks the live check. ## Beyond CI Each relative link and anchor in the changed files resolves to an existing file and heading.
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.
CI / Bundlenow builds the Linux bundles and test executables on Ubuntu 22.04 and fails if any bundle executable needs a glibc newer than 2.35, so its Linux artifacts run on Ubuntu 22.04 and later. The prerequisites page now names Ubuntu 22.04 as the oldest supported Linux.Problem
CI / Bundlebuilt the Linux bundles on Ubuntu 24.04, so their executables needed that release's glibc: onlinux_amd64,nemoclawand every NemoClaw provider neededGLIBC_2.38(__isoc23_sscanf), and alinux_arm64build on Ubuntu 24.04 needsGLIBC_2.39(pidfd_spawnp). Ubuntu 22.04 has glibc 2.35, so those executables don't start there, andLive / HCLandLive / Brevbuild their own candidates on Ubuntu 22.04 instead. Nothing stated which Linux releases NemoClaw supports.Change
nemoclaw-build check-glibc --minimum VERSION DIRECTORYnames each ELF executable underDIRECTORYthat needs a glibc symbol version newer thanVERSION. Weak references don't count, because the loader starts an executable without them.bundle-platform.ymltakesbuild-runner, the runner for the build and bundle jobs, andglibc, which the bundle job checks after building.CI / Bundlepassesubuntu-22.04-armorubuntu-22.04and2.35for Linux; the contract, integration, and live jobs stay on Ubuntu 24.04, where executables built against an older glibc also run. The Colossus suite passes neither, so it keeps building on the pilot machine without the check.native-deps-v5andnative-bundle-v4. Cargo doesn't rebuild C objects when the system headers change, so objects compiled on Ubuntu 24.04 would carry its glibc requirement into Ubuntu 22.04 builds. The first runs on each platform rebuild third-party crates once.Live / HCLandLive / Brevstill build their own candidates; #14354 tracks usingCI / Bundle's artifacts instead.Beyond CI
Locally, the check reported
GLIBC_2.39(pidfd_spawnp,pidfd_getpid) for executables built on Ubuntu 24.04 ARM64, asreadelf -Vdoes.