Skip to content

ci: compile the offline runtime rebuild alongside the Docker live tests - #13001

Merged
cv merged 1 commit into
v1from
ci/overlap-runtime-rebuild
Oct 11, 2026
Merged

cv merged 1 commit into
v1from
ci/overlap-runtime-rebuild

Conversation

@cv

@cv cv commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Failure

Linux AMD64's Live / Docker job decides how long required checks take. In #12995's run (38137587218), its tests took 313 s. One test, runtime::tests::retained_runtime_rebuilds_offline_without_protobuf_or_a_dependency_cache, took 163 s of that on AMD64 and 113 s of 232 s on ARM64.

The live-docker profile runs one test at a time because the tests share one Docker engine. That test uses no engine at all: it compiles the runtime in release mode from its retained source archive, offline, with an empty CARGO_HOME and no protoc. It's in this profile only because it needs Linux, yet every Docker test waits behind it.

Decision

  • Test group: a docker-engine nextest group that allows one test at a time. An override for the live-docker profile puts every test except the rebuild in it.
  • Threads: the profile runs two tests at once. The Docker tests still run one at a time, and the rebuild compiles alongside them.
  • Docs: updated testing.md to say so.

The runner's later commands each select one gateway test, so they're unchanged. On AMD64, the first command should drop from about 250 s to roughly the rebuild's 163 s plus however much the compile slows the Docker tests on a 4-CPU runner. This PR's own run measures that, because .config/nextest.toml is a live input.

This doesn't depend on #12995, which shares the live images.

Validation

  • Groups: cargo nextest show-config test-groups --profile live-docker --run-ignored only puts the other nine tests in docker-engine and leaves the rebuild outside it.
  • Local run: cargo ci live-docker passed all 10 tests on Linux ARM64 in 258 s. In its JUnit report, the rebuild ran from 0 to 39 s while the Docker tests ran one after another, and the first command took 143 s instead of 178 s. This machine compiles much faster than a hosted runner, so CI should save more.
  • cargo ci passed in 472 s: 1,336 workspace tests and 127 lifecycle tests. Afterwards, the documentation tests passed again with the testing.md change.

@github-actions

Copy link
Copy Markdown
Contributor

@cv

cv commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator Author

Measured in this PR's run, 38170709225, which includes #12995. Every job passed.

#12995's run (38137587218) This PR
AMD64 Live / Docker job 537 s 352 s
AMD64 Docker tests, all four commands 313 s 195 s
First command about 250 s about 133 s
Required checks done +926 s +856 s

In the AMD64 JUnit report, the rebuild ran from 0 to 133 s, while the Docker tests ran one after another from 0 to 127 s. The compile slowed some of them: the Docker proxy test took 62 s instead of 41 s, and fabric_cache 29 s instead of 17 s.

The image job also ran slower this time, finishing at +446 s instead of +382 s, so the gain on required checks is smaller than the job's. AMD64 Live / Kind now finishes last, at +849 s, with Docker at +800 s.

@cv
cv merged commit 5f2c4a1 into v1 Oct 11, 2026
@cv
cv deleted the ci/overlap-runtime-rebuild branch October 11, 2026 20:21
@cv cv added the v1 NemoClaw v1 branch label Oct 12, 2026
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance labels Oct 28, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants