You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Out of memory. Most of the 20 internals-tests and 26 behavior-tests failures are LLVM ERROR: out of memory / Allocation failed, in lld-link (exception 0xC000001D after abort) and in the compile. The internals failures are the conan_* tests and link_rpath_args_test: each imports a compiler module, so each compiles and links a large part of the compiler with a PDB (Build time: a program that imports one compiler module lowers every body of the compiler (60 s of a 106 s build for a 31-line test) #3351), four at a time, beside the other lanes on a 4-core runner. The behavior failures cluster alphabetically (prelude_* … where_*), the files that were building while memory was gone.
behav_3166_child_pwd_is_the_real_path, parser_unit_test, debug-alloc-tests: not read yet.
Run 43787522673 is dispatched on main with #3356. What remains is the memory: the lanes each start one job per core, so the runner holds lanes × cores compiles at once (#699). A shared job pool across lanes, or a memory-aware limit, is the fix; moving every compiler-importing test into the serial lane (as #3352 did for two) is the smaller one.
Root cause of the lld-link: out of memory failures, measured on the win10 VM (16 GiB) with the CI's job settings (WITH_BUILD_JOBS=4, 4 slots):
One compiler-importing test alone commits about 1.3 GiB in with.exe and far less in lld-link. Not the problem by itself.
During :test, a sampler of committed memory caught 27 with.exe processes alive at once, 27.6 GiB committed.
Exact line:src/BuildGraphTests.w, let jobs_limit = if use_js: 32 else: build_graph_test_jobs(). With a jobserver every test past a lane's first holds a slot, except in a lane the driver lists as on the critical path, which takes none: its window was the fixed 32. On the 4-vCPU, 16 GiB runner that is 32 compilers. macOS and Linux overcommit; Windows refuses the allocation, in whichever process asks next (lld-link, or the runner itself: "lost communication with the server").
Fix (in battery): every lane's window is the machine's width (build_graph_test_window_for: its cores, bounded by its memory as the lane pool is, #2603).
The windows are opened by the build driver, which in CI is the pinned seed, so the fix reaches the nightly when a seed carrying it is pinned. Until then the Windows workflow hands the driver a jobserver (a driver that did not create it names no critical lane), marked seed-bound in the workflow.
Reachability codegen (#3359) and the comptime cache fix (#3357) made each test cheaper but could not cure this.
Green: run 43841534513 on daa3691 (dispatched after #3363) completed with success, the first green Windows x86_64 run since this issue opened.
What it took: #3356 (the strict-UAT test names a non-host platform; the citation bar reads CRLF rows; the reducer's guard), #3358 (the child-PWD test reads a drive path), and #3363, the cause of the out-of-memory failures (a lane on the critical path ran 32 tests at once; 27 compilers and 27.6 GiB committed, measured on win10).
Still in the tree for the next seed pin: selfhost-windows.yml hands the driver a 6-slot jobserver because the driver is the pinned seed, whose test window is still the old one. It is marked seed-bound there and is deleted with the pin that carries build_graph_test_window_for.
Activity
github-actions commentedon Nov 4, 2026
Run https://github.com/withlang-dev/with/actions/runs/41875553687 on 2e34f1d (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 5, 2026
Run https://github.com/withlang-dev/with/actions/runs/42074143426 on 2e34f1d (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 6, 2026
Run https://github.com/withlang-dev/with/actions/runs/42255277021 on d1ac828 (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 7, 2026
Run https://github.com/withlang-dev/with/actions/runs/42387417619 on 8e33ab2 (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 8, 2026
Run https://github.com/withlang-dev/with/actions/runs/42497427909 on 40beac1 (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 9, 2026
Run https://github.com/withlang-dev/with/actions/runs/42686858360 on 659ae4f (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 10, 2026
Run https://github.com/withlang-dev/with/actions/runs/42860670298 on 3a254c9 (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 11, 2026
Run https://github.com/withlang-dev/with/actions/runs/43065003748 on 6a905fd (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 12, 2026
Run https://github.com/withlang-dev/with/actions/runs/43271011765 on 42ad684 (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
github-actions commentedon Nov 15, 2026
Run https://github.com/withlang-dev/with/actions/runs/43734937844 on 8d6e104 (schedule). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
Linux and Windows nightlies: each ELF function has its own section so…
ehartford commentedon Nov 16, 2026
Run 43734937844 (8d6e104), read from its log:
internals-testsand 26behavior-testsfailures areLLVM ERROR: out of memory / Allocation failed, inlld-link(exception 0xC000001D after abort) and in the compile. The internals failures are theconan_*tests andlink_rpath_args_test: each imports a compiler module, so each compiles and links a large part of the compiler with a PDB (Build time: a program that imports one compiler module lowers every body of the compiler (60 s of a 106 s build for a 31-line test) #3351), four at a time, beside the other lanes on a 4-core runner. The behavior failures cluster alphabetically (prelude_*…where_*), the files that were building while memory was gone.behav_uat_strict_blocked_scenario: the test named windows-x86_64 as "another platform"; fixed in Linux and Windows nightlies: per-function sections on ELF, a host-independent strict-UAT test, CRLF rows in the citation bar, a real hang guard on the reducer (#3030, #3031) #3356.contract-view-tests: "has 0 uncited claims and … records 0", a\rkept on a CRLF checkout; fixed in Linux and Windows nightlies: per-function sections on ELF, a host-independent strict-UAT test, CRLF rows in the citation bar, a real hang guard on the reducer (#3030, #3031) #3356.deep-debug-tool-tests(reduce): a 120 s limit under load; a hang guard now (Linux and Windows nightlies: per-function sections on ELF, a host-independent strict-UAT test, CRLF rows in the citation bar, a real hang guard on the reducer (#3030, #3031) #3356).behav_3166_child_pwd_is_the_real_path,parser_unit_test,debug-alloc-tests: not read yet.Run 43787522673 is dispatched on main with #3356. What remains is the memory: the lanes each start one job per core, so the runner holds lanes × cores compiles at once (#699). A shared job pool across lanes, or a memory-aware limit, is the fix; moving every compiler-importing test into the serial lane (as #3352 did for two) is the smaller one.
github-actions commentedon Nov 16, 2026
Run https://github.com/withlang-dev/with/actions/runs/43787522673 on b349b75 (workflow_dispatch). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
with migrate checks a directory's output as it checks a file's (#3344)…
github-actions commentedon Nov 16, 2026
Run https://github.com/withlang-dev/with/actions/runs/43823821663 on 525025a (workflow_dispatch). The failing step and its captures are on the run. A red nightly is fixed like any other bug (AGENTS.md).
ehartford commentedon Nov 16, 2026
Root cause of the
lld-link: out of memoryfailures, measured on the win10 VM (16 GiB) with the CI's job settings (WITH_BUILD_JOBS=4, 4 slots):with.exeand far less inlld-link. Not the problem by itself.:test, a sampler of committed memory caught 27with.exeprocesses alive at once, 27.6 GiB committed.src/BuildGraphTests.w,let jobs_limit = if use_js: 32 else: build_graph_test_jobs(). With a jobserver every test past a lane's first holds a slot, except in a lane the driver lists as on the critical path, which takes none: its window was the fixed 32. On the 4-vCPU, 16 GiB runner that is 32 compilers. macOS and Linux overcommit; Windows refuses the allocation, in whichever process asks next (lld-link, or the runner itself: "lost communication with the server").Fix (in battery): every lane's window is the machine's width (
build_graph_test_window_for: its cores, bounded by its memory as the lane pool is, #2603).The windows are opened by the build driver, which in CI is the pinned seed, so the fix reaches the nightly when a seed carrying it is pinned. Until then the Windows workflow hands the driver a jobserver (a driver that did not create it names no critical lane), marked seed-bound in the workflow.
Reachability codegen (#3359) and the comptime cache fix (#3357) made each test cheaper but could not cure this.
A lane's test window is the machine's width, a critical-path lane's i…
ehartford commentedon Nov 16, 2026
Green: run 43841534513 on daa3691 (dispatched after #3363) completed with success, the first green Windows x86_64 run since this issue opened.
What it took: #3356 (the strict-UAT test names a non-host platform; the citation bar reads CRLF rows; the reducer's guard), #3358 (the child-PWD test reads a drive path), and #3363, the cause of the out-of-memory failures (a lane on the critical path ran 32 tests at once; 27 compilers and 27.6 GiB committed, measured on win10).
Still in the tree for the next seed pin:
selfhost-windows.ymlhands the driver a 6-slot jobserver because the driver is the pinned seed, whose test window is still the old one. It is marked seed-bound there and is deleted with the pin that carriesbuild_graph_test_window_for.The nightly release's Windows jobs hand the pinned seed's driver a jo…