Repository navigation
Open
Description
What needs tracking?
Pull request CI waits on the macOS pool while Linux and Windows runners sit idle, and main rarely finishes its own check. This issue tracks moving full workspace verification to Linux, keeping only macOS-native coverage on the Macs, and making every main push produce a result.
Measurements
From the 200 most recent PR check runs; the busy day is 2026-11-19.
| 2026-11-19 | |
|---|---|
verify jobs |
81 |
| Queue time before a Mac picked the job up | median 11 min, p90 52 min, max 108 min |
verify run time when it passed |
median 29 min |
| Mac minutes used | 1788, of which 425 (24%) on jobs that were cancelled or failed |
Peak concurrent verify jobs |
3 |
- Only
macos-2,macos-5andmacos-6have taken jobs since 2026-10-30. Their logs report two host names (colabdeMac-miniformacos-2,colabdeMac-mini-2for bothmacos-5andmacos-6).macos-3,macos-4,macos-7andmacos-8last ran a job on 2026-10-30. verifystep medians: build and Clippy 6.8 min, workspace tests 14.2 min (156 test executables, 4391 tests), actual CLI profile 2.9 min, release-stamped CLI 2.4 min, Node bindings 1.3 min.- Build time depends on the compiler cache: 15 of 78 builds finished in under 2 minutes, 54 took more than 5. One full build stores about 30 GiB, and the logs show evictions of 63 GiB in one pass and 255 "cached action is missing blob" warnings in a single job.
- Six test targets account for 58% of test time:
cli_flow360 s,transport_flow185 s,storage_flow114 s,modality_flow86 s,model_catalog_flow54 s,migration_flow48 s. - Linux has no workspace coverage on pull requests today; Windows runs
dim-cli --libonly.
main
Of 20 full main push runs since 2026-11-19, 5 passed, 8 were cancelled by the next merge and 7 failed:
| Failures | Cause | State |
|---|---|---|
| 4 | acp-registry on linux-runner-005: rustup could not write to root-owned /usr/local/rustup |
Fixed on the runner; run 44666231831 passed there afterwards |
| 2 | staged_update::tui_update::update_now_stops_an_idle_daemon_and_restarts_or_refuses_a_busy_or_old_one never showed Update now within 300 s (44544822669, 44577712528; one of them also had the acp-registry failure) |
Open; 2 failures in 18 runs since #1865, both on macos-6 |
| 1 | minimal_execution::a_foreground_result_past_the_limit_keeps_the_earliest_bytes: bash: child setpgid: Operation not permitted (44472956502) |
Open; seen once |
| 1 | The self-hosted runner lost communication with the server (44489912325) | Runner infrastructure |
Plan
maincompletes and is visible. Stop a later push from cancelling the build and test jobs of an earlier one, and show the result as a badge in the README. Running all 14 full pushes of 2026-11-19 to completion would have cost about 55 more Mac minutes (3% of that day).- Trial: full verification on Linux. Run the existing
verifysteps on the self-hosted Linux x64 runners beside macOS, without gating, to learn the run time and which tests need host support (bubblewrap, PTY,/proc). ci: support Linux and macOS verification #1754 is the earlier attempt; it closed on two fixable review points (an invalid action pin, and the four macOS-onlydim-ocrlibrary tests left out of the macOS selection). - Switch. Pull requests require full Linux verification plus the macOS-native tests;
mainkeeps full macOS verification. The macOS-native selection must be checked against the code instead of listed by hand. Updatedocs/architecture/build.mdanddocs/release/README.mdwith the change. - Later, measured separately: fewer test executables per crate (less linking, smaller cache), running only the crates a change affects, a compiler cache shared between runners, and the release-stamped rebuild only where the update code changed.
References or acceptance criteria
- A push to
mainis not cancelled by the next one, and the README shows the latestmainresult. - The Linux trial reports its run time and every test that fails or silently skips on the Linux runners.
- Pull requests pass
ci-okwithout waiting for a full macOS workspace run, and the macOS-native tests still run on every Rust change. - The two open test failures above are fixed or tracked in their own issues.
- The CI and build documentation describe the platform split.
Automatic notification of a failed main run is out of scope for now.
Activity
eric8810 commentedon Nov 20, 2026
Adding measurements from the #1921 Linux trial run (
44684351971, job136115097609onnode-1-runner) and tracking the non-overlapping follow-up items separately:#1921 Linux trial observations (
node-1-runner: 32 vCPU, 93 GiB RAM)136096924994) to 970s (Linux, 2.52× faster; wall time 5m37s vs 16m33s), withmigration_flow7.9× faster andgoal_product_flow7.5× faster, and ~0.1m queue time — even thoughrun-rust-test.mjs(3processes ×--test-threads=3) only used 9 of 32 vCPUs.bubblewrap(bwrap) is not installed onnode-1, causingxtask::scenario_evalisolated-run tests to fail.dim-modality(ocr_descriptors+ 21 cases inmodality_flow) expect macOS 12+ Apple Silicon.transport_flow::timeline_export::timeline_export_reads_a_live_product_home_and_its_copies.Linked follow-up issues (split out so #1919 stays focused on the Linux migration + main greenness)
ci-changes.mjspath rules (unmatched.agents/**/templates,dependencieson Rust-only PRs,scriptsoff macOS,mainpush scoping) and remove dead steps (migration_flow node_).DIM_RELEASE_BUILDindim-agent-capabilities+-p dimcodefeature mismatch recompiling 56 crates (~1.7 GiB, 2.1–2.4 min) on every Rust PR.xtask checkscans (literal_main,boundaries,comment_links,npm) from the workspace-coupledxtaskbinary (relevant to ci: run xtask check when Web sources change #1925).mbxcache thrashing) and split monolithiccli_flow.cargo-nextest, optimize hot dev third-party crates (model_catalog_flow60s), cachewindows-cli(3m30s build for 7.7s of tests), and trim slow Step 9 tail tests.ci: run the Linux trial on dim-verify runners
ci: probe the login shell on the Linux runners (temporary)
ci: name the profile script that prints under bubblewrap (temporary)
ci: let the profile probe finish (temporary)
fix(eval): find the run home on any line of the preflight output
test(eval): give the native tool probe a private socket directory
test(host): verify descendant cleanup in the helper PID namespace
test(permission): wait for the child approval before changing the parent
test(cli): wait for shell settlement before repeating the turn interrupt
test(node): settle session startup inputs before checking read-only p…
test(app-server): settle startup inputs before capturing reasoning ba…
test(app-server): wait for the old background task after tool reload
test(cli): install fixture updaters from a separate process
ci: run xtask check when Web sources change (#1925)
build(ci): replace DIM_RELEASE_BUILD recompile loop with release-safe…
test(app-server): settle context usage before comparing exports (#1937)
xtask(ci): decouple pure static repository checks into xtask-check
ci: let every main push finish its checks (#1920)
ci: require Linux verification and run native macOS checks on pull re…
test(session-title): observe the initial title before requiring live …
ci: require full Linux verification and macOS-native checks on pull r…
xtask(ci): decouple pure static repository checks into xtask-check
build(ci): replace DIM_RELEASE_BUILD recompile loop with release-safe…