small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

fix(e2e): wait on the photon fixture's own ready line, not its files

The fixture wrote its two endpoints to files and the test polled for both to exist. A file exists before its content is written, so the test could read an empty endpoint, and a fixture that died left the test polling out its 10 s as "fixture failed to bind" (CI on 7878d6103 failed two photon cases that way, with no output from node). The fixture now prints both endpoints on one stdout line once both servers listen, and the test waits on the pipe. The wait reports a line written before its deadline however late the test thread runs, and a fixture that exits first fails at once with its status. Binding took 0.15 s idle and at most 0.83 s with 3 copies of the file on 2 CPUs beside a Gleam suite, so the 10 s bound stays.


Author aly.codes
Date Commit Parent 7d0849b3
+31 -12
2 changed files
+31 -12
2 changed files