Repository navigation
Conversation
added 4 commits
October 24, 2026 22:00
…ild stripped its external body in every unit but the first gen_closure added `__closure` with default (external) linkage while the thunks and the environment clone/drop helpers are internal; unit_demote_foreign_definitions (#681) deletes the body of every external function a unit does not own, so a generic instance placed in unit 1 whose body returned a closure linked against an undefined `___closure` — `List[str].sort()` in a compiler module (CiContracts) was the first body to land there. A closure is reached only through the value its enclosing function builds, never by name across units: internal linkage, as the helpers. Fixture behav_codegen_units_closure_in_generic (WITH_CODEGEN_UNITS=8, a generic closure factory, List[str].sort()). CiContracts sorts with List.sort again.
… the driver itself is pid 1, and skipping it left the identity unverified The walk stopped at pid 1, so a `docker run … src/main build` whose driver is pid 1 reported "no ancestor process resolves to a file" and the seed-driven battery had to run under `sh /leg.sh`. The parent of pid 1 is 0, where the walk stops now.
…r core, two gibibytes a lane, 1..32 build_pool_width took the core count alone; an 18-core container with 7.7 GiB ran 18 lanes of corpus tests and the kernel killed the leg at exit 137 (the fix at the time was WITH_BUILD_JOBS=3 by hand). build_graph_pool_width_for(cores, memory_total) in BuildGraphRuntime holds the rule, with_sysinfo's memory total feeds it, and test/internals/build_pool_width_test pins the cases (the container's 18/7.7 GiB → 3; an unknown total does not bound).
…r the worktree's absolute path (#2602, D50) `// Generated by: with migrate <abs path>` made two identical promotions differ by machine and directory (the M*LIB test program carried the mlib-lane worktree's scratch path). The header now names the source relative to the migration's input directory, or by its basename for a single file; the contracts basic test forbids the absolute path and checks the relative one.
Contributor
Author
|
Seed-driven battery GREEN on 3df0d2c (wall 421 s). |
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.
The four bugs I filed today instead of fixing, fixed (Eric: "why do u keep making github issues instead of fixing it").
___closure. Closures are reached only through the value their enclosing function builds, never by name across units: internal linkage, like the thunks and the environment helpers. Fixturebehav_codegen_units_closure_in_generic(WITH_CODEGEN_UNITS=8; it fails on the previous stage1 and passes on this one). The resolver keeps its insertion sort with the reason stated: the pinned seed predates the fix and still has to link stage1;names.sort()returns with the next seed.build_graph_pool_width_for(cores, memory_total): one lane per core, two gibibytes a lane, 1..32;test/internals/build_pool_width_testpins it.Battery: seed-driven, posted below when green.