Files
alzeo/.github/workflows
Hasan BasbunarandClaude Opus 5.5 8ad9078571 ci: the offline step runs four test files at a time, the ones that free a port alone
One after the other, the files of dashboard/tests and tests/ took about 20
minutes of the offline step on the reference box (1332 s on GitHub for
v1.36.2). They now run up to four at a time, the longest first, each still on
its own as a human runs it, under the same witness HOME, audit hook and reaper,
with its count of declared against run tests. The files that take a port
number out of a socket they close (getsockname()[1]), to start a server on that
port later or to have one where nothing listens, run one at a time once the
others are over: a file running beside them can be handed that port
meanwhile. Eleven do on this commit; they are found by that call, not listed.
A red run now names every file that failed with the end of its output, not the
first one only, and a file whose run stopped before its verdict fails too.

Measured on the reference box, the step alone through the workflow's own
script, Bolt serving: ten runs, all green, a median of 511 s (509 to 593),
against 1273 s for the step of v1.36.2 on the same tree; at the peak, 25.6 GiB
of memory left and the SoC under 60 C. tests/test_offline_step.py runs the
step's script as ci.yml writes it over a tree of fake files: three of its four
tests fail on the old step, and six of seven mutants of the new one fail it
(the seventh, a run that stops before its verdict, was checked by hand).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:37:01 +02:00
..