Commit Graph
4 Commits
Author SHA1 Message Date
Anees Iqbal 5d93f3ab30 🐛 Key windows-tests.sh's two jobs so a call again joins them
potluck's dispatch returns only once its job's workspace starts, and a client
that gives up waiting has usually queued the job anyway, so a call of the
script again sent the build and the tests a second time. Each job now goes
with a potluck key: the commit, the packages, the tests' arguments and
MINIBASE, and for the tests the build's job too, so a second identical call
returns the jobs the first queued. KEY names another key, for a run again of
jobs that ended.
2026-11-25 16:03:49 -08:00
Anees Iqbal 08779e7c0e 🆕 Start the mini's Windows test builds from a kept base build
windows-tests.sh's build job on homelab-mac-mini-2018 compiled every crate and
SDL3's CMake build from nothing in each new workspace: 560 s for the library's
tests at a48b3984af (m3-max-60885), for a commit that changed a few files.

The job now first copies the target/ of a base workspace that the harness keeps
there, a build of development (scripts/internal/mini-base.sh seed). On ReFS,
robocopy clones it without copying data: 5.7 GB and 6592 files in 2 s, taking
41 MiB. The seed then fixes up the copy for the job's tree:
- unchanged tracked files get an old mtime, and changed ones the current time,
  so cargo rebuilds only what changed since the base's commit;
- packages whose units name the base's workspace, or whose sources bake in a
  path that cargo sets but does not track (env!("CARGO_MANIFEST_DIR") and the
  like), are dropped and rebuilt;
- build scripts' output that names the base's workspace is rewritten to name
  the job's.

A seeded job that fails says so in its last lines, naming the base, so a lane
can tell a seed fault from a compile error. MINIBASE=0 builds without the seed,
and where no base is published the build is the same as before.
2026-11-20 19:06:28 -08:00
Anees Iqbal a2353d4b01 🔧 Reserve 26 GiB for the Windows tests' job
windows-tests.sh reserved 20 GiB for the tests' job, its commit charge's limit
on Windows, and the tests have outgrown it: runs peaked at 14.7 to 18.1 GiB,
then one at 20.7 GiB (m3-max-56017), and a job that reserved 20 was ended over
memory at 20.1 GiB (m3-max-61085). The default is now 26, 1.25 times the
largest peak, as the merge harness's Windows legs already reserve; the
script's header says why. AGENTS.md's Windows row gave a 12.3 GiB peak of
reims-vgpu and reims-vgpu-c's tests, and now gives the measured peaks and the
reservation.
2026-11-20 18:41:05 -08:00
Anees Iqbal 378e8d384c 🆕 Add a script that runs the library's tests on Windows
Lanes ran the Windows tests through scripts of their own, each relearning
the mini's traps: the gnullvm target links with MSYS2 CLANG64's clang, SDL3
builds with CMake and Ninja there, a Windows machine takes only jobs that ask
for windows, and the build must not hold the GPU. The script dispatches the
tests' build and then the tests in its workspace, holding the UHD 630, waits
for both and prints the summary, with the check's tested features of the
crates it runs.
2026-11-15 09:07:15 -08:00