087b3353

By: Michael Lynch <git@mtlynch.io>

Make e2e test derivation deterministic

Stop copying Playwright run artifacts into the e2e test output.
Those files include traces and videos that vary between runs, which
caused `nix build .#e2e-tests --rebuild` to fail with a nondeterministic
output error even though the tests themselves passed.

The derivation now writes a fixed sentinel file after the Playwright
check phase succeeds, so the build still proves the tests passed while
remaining reproducible.

Suite timing

Time to Start Worker time Duration Time to finish
Config 1s 1s 1s 2s
Eval 2s 35s 35s 37s
Build 33s 2m57s 58s 1m31s
Test - - - -
Deploy - - - -
Suite 1s 3m33s 1m29s 1m31s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s