fix: start Xvfb manually instead of via xvfb-run

xvfb-run's readiness check waits for Xvfb to send SIGUSR1, which this
build never does — it hangs forever even though the X11 socket comes
up fine. Starting Xvfb directly with a short fixed sleep is more
reliable here.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5 committed 2026-10-08 07:27:59 +02:00
1 parent c550cea4a3
commit 6fed2cd382
1 file changed
+1 -1
+1 -1
View File
@@ -5,4 +5,4 @@ aptPkgs = ["xvfb"]
cmds = ["npm ci", "npx playwright install --with-deps chromium"]
[start]
cmd = "xvfb-run -a npm start"
cmd = "Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & sleep 2 && DISPLAY=:99 npm start"