323f0ba5

By: syd <syd@kronor.io>

Make test derivation outputs deterministic

nix build --rebuild reported the test derivations as possibly non-reproducible:
their output was Vitest stdout verbatim, which carries a wall-clock start time
and per-file durations. That defeats --rebuild and would defeat any
content-addressed early cutoff, since a rerun of unchanged tests produced a
different output hash every time.

The output is now a normalized summary: which files ran, how many assertions
passed, and the totals, with the timing dropped. All nineteen per-package test
derivations now pass --rebuild.

The machinery the two prototypes share moves to nix/support.nix.

Total

8m03s

Created Started Finished

Time to Start Worker time Duration Time to finish Idle
Config 41s 1s 1s 42s 41s
Eval 42s 4m50s 4m50s 5m32s 0s
Build 1m03s 3m42s 7m41s 8m44s 1m31s
Suite 41s 8m33s 8m03s 8m44s 2m13s

Timeline

Config Eval Build Compressed gap
0s1m2m3m4m5m8m