32b94033

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Make e2e test derivation deterministic (#34)

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.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/34
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 29s 29s 30s
Build 3s 37s 13s 16s
Test - - - -
Deploy - - - -
Suite 0s 1m07s 30s 30s

Timeline

0s10s20s30s