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
{{ message }}
Repository navigation
Reseed gate memory tripwire fails on main: compiling the build runner peaks at ~1.2 GB (limit 1024M) #1182
:install-user cannot pass on main: the reseed gate's memory tripwire (reseed_gate_smoke, src/main.w, 1024M, #679/#757) fails because compiling the native build runner (#921) peaks at about 1.2 GB. It is not caused by any recent change; it has been over the limit since at least 2026-09-12.
error: reseed gate: candidate as orchestrator peaked at 1199M (limit 1024M, #679 tripwire) — the clone-storm class (#757)
Hit reseeding after #1181 (battery green on c1e32920: build, :fixpoint, :test, :test-green, :last-green all rc=0).
Measurements
/usr/bin/time -l <compiler> build :compiler-main-source with WITH_BUILD_ACTION_FORCE=1 after removing out/.build-state/build-graph.cache and out/.build-state/build-runner.key (so the runner really compiles; each run printed [build] runner compiled ~16.5s). macOS arm64.
So neither the compiler nor the build layer regressed recently; the runner compile costs ~1.2 GB in every cell.
For scale, with the c1e32920 release binary: hello world 48 MB; a program that uses std.build 84 MB; check src/main.w (the whole compiler) 432 MB; check build.w 92 MB. The runner (build.w + build/*.w, ~24.7k lines) costs 3x a check of the entire compiler, and the cost is after Sema (check is 92 MB).
Lead
build(ctx) is one very large function. #1173 measured the dense drop-state matrix growing with locals x blocks (7 GB on the unbundled regex match_ body). The same analysis over build(ctx) is the first suspect. Route: --dump-drop-state sizes / a heap profile of the runner compile, not a guess.
Decision needed
The tripwire is doing its job (it exists to catch the clone-storm class) and should not be raised to make this pass. Either the runner compile's memory is fixed (likely #1173), or Eric re-baselines the limit deliberately. Until then no compiler built from main can be installed through :install-user.
Activity
Re-baseline the reseed gate's memory tripwire to 2048M (#1184)