mirror of
https://github.com/nexu-io/open-design.git
synced 2026-10-27 09:51:12 +01:00
* test(desktop): give Electron probes a CI-sized timeout The PPTX layered-background and base-href tests each spawn a throwaway Electron process (xvfb-run on Linux) and gave it 10-20s. A cold Electron start on a busy GitHub runner regularly exceeds that, and execFile then reports a bare "Command failed: xvfb-run … electron …" with no stderr — which is how an unrelated PR turns red on one probe (see #7772, four consecutive runs, and #7768 on the same case) while the file passes locally. Both files now share one probe budget (60s) and one per-test budget (90s) behind named constants instead of scattered literals. A probe that really hangs still fails, just later. * test(desktop): run the PNG paint probe sandbox-less and surface its output The paint probe was the one Electron spawn in the file without --no-sandbox --disable-gpu, and the only one that rethrew a failed spawn without the child's stdout/stderr. On the CI runner that combination is a probe that exits before app.whenReady() with a bare "Command failed" — the failure #7774's first run still showed with the larger budget. Align it with the other probes and attach the child's output on failure so the next flake, if any, says why.