Skip to content

release matrix: with cc host headers on Linux (#2903); Windows capture timeout kills the tree, test lanes keep a hang guard (#2902) - #2904

Merged
ehartford merged 1 commit into
mainfrom
rel-0163
Nov 1, 2026
Merged

ehartford merged 1 commit into
mainfrom
rel-0163

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Fixes for the two platforms v0.16.0.2 could not publish (D180): linux-aarch64 (#2903) and windows-aarch64 (#2902).

  • with cc on Linux searches the host's multiarch and /usr/include directories after every sysroot directory, as c_import already does: a with get source build against a system package (glfw against xorg/system) finds X11/Xlib.h.
  • sdl.uat names its platforms (D171: dbus is a meson build where it is built from source); README row.
  • nightly-release.yml fetches main after each checkout: unit-return-review's base.
  • Windows runtime: each spawned child runs in its own job object (created suspended, assigned, resumed); a capture timeout terminates the job, not the direct child alone.
  • tools/debug_drop.w captures per fixture; the debug-alloc lane, the build-graph test lanes and with test's check use the hang guard (TEST_HANG_GUARD_MS, with test: a fixed 120 s per-file limit fails a passing test on a slower host (exit 124 reported as a run failure) #2362) instead of 60 s / 300 s speed budgets.

Evidence so far: POSIX baseline of the grandchild repro passes on the Mac; Windows before/after and the linux-aarch64 container UAT follow in comments. Battery on this top before ready.

… on Linux (#2903); the Windows capture timeout takes the child's whole tree down and test lanes keep a hang guard, not a speed budget (#2902)

#2903, linux-aarch64 release UAT: Conan Center has no armv8 Linux binary
for glfw, so `with get c.raylib` builds it from source through `with cc`,
which compiles with `--sysroot=<the SDK's libc>`; the recipe's xorg/system
requirement is a system package (link names only, HostLibs finds the
libraries on the host at link time) and nothing searched the host's include
directories: every unit failed `'X11/Xlib.h' file not found` though
libx11-dev was installed. c_import already searches the multiarch dir and
/usr/include after every sysroot dir (cimport_push_host_library_dirs,
#1915); `with cc` now does the same on Linux (-idirafter, so a header the
sysroot carries is never the host's). sdl.uat: SDL's Linux chain requires
dbus, a meson build (Python) where it is built from source; per D171 the
scenario names its platforms (darwin, windows, linux-x86_64) and
uat/README.md has the row.

#2902, windows-aarch64 release lane:

- unit-return-review diffs against origin/main; actions/checkout at the
  default depth on a tag push has no main, so every "Verify and package"
  job of every release run failed `fatal: bad revision 'origin/main'`. The
  workflow fetches main (depth 1: the review reads main's tree, not its
  history) after each checkout.

- A capture that timed out terminated the direct child only
  (win_wait_process_slot: TerminateProcess on the slot's handle); the POSIX
  spawners put a child in its own process group and kill the group.
  rt/windows_x86_64.w and windows_aarch64.w: every spawned child is created
  suspended, assigned to a job object of its own, then resumed, so nothing
  it starts escapes the job; the timeout path terminates the job, and the
  slot's release closes the job handle. A host that refuses the assignment
  leaves the child ungrouped, as a failed setpgid would. Observed: a
  terminated `with run --debug-alloc` left its program running, and the
  program wrote `m_drops=0 live=0` through its inherited handle into the
  next fixture's capture, which the lane reused per harness pid;
  tools/debug_drop.w names its captures per fixture.

- The debug-alloc lane's 60 s budget, the build-graph test lanes' 300 s
  ceilings (BuildGraphTests: the blocking wait, the polled wait, the
  reaper) and `with test`'s per-file check ceiling were speed budgets: on a
  loaded 4-core arm64 runner passing fixtures failed with nothing captured.
  Each now uses the hang guard a test binary gets (TEST_HANG_GUARD_MS,
  #2362), and the check message names the guard.

build/compiler.w: the process-state record knows the job-object calls.
@ehartford

Copy link
Copy Markdown
Contributor Author

Battery GREEN on ca93e89ea (tools/battery.w, wall 427 s, out/battery/status.txt green). Gate green before it (227.8 s).

Evidence per fix:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant