eddd2c25

Author: Michael Lynch <git@mtlynch.io>

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

Make e2e-tests derivation deterministic (#42)

Replace the installPhase block that copies Playwright run artifacts
(traces, videos, reports) into $out with a simple result marker file.
The copied artifacts vary between runs, causing `nix build .#e2e-tests
--rebuild` to fail with a nondeterministic output error.

Co-authored-by: Shelley <shelley@exe.dev>

Reviewed-on: https://codeberg.org/mtlynch/go-app-starter/pulls/42
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 10s 1s 1s 11s
Eval 13s 35s 35s 48s
Build 8m46s 3m41s 1m46s 10m33s
Test - - - -
Deploy - - - -
Suite 10s 4m18s 10m23s 10m33s

Timeline

0s20s30s40s8m50s9m9m10s9m20s9m30s9m40s9m50s10m10m10s10m20s10m30s