You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: display allocation spawn count flakes under parallel load #240
packages/desktop-linux/test/display-allocation.test.ts > "cross-process display allocation" > "starts twelve synchronized sessions without cross-file display collisions" failed once in a local full-suite run while other agents ran Xvfb servers on the same host. The assertion at line 304 expected 12 Xvfb spawns and got 13, so one worker retried a spawn. All 12 allocated displays were still distinct.
The same file passed 5 of 5 runs alone on the same revision. The run had PICKFORGE_REQUIRE_DESKTOP_CAPTURES=1, PICKFORGE_REQUIRE_DESKTOP_WINDOWS=1, PICKFORGE_REQUIRE_DESKTOP_WAIT=1 and PICKFORGE_REQUIRE_BROWSER=1, with load average around 4.
Found while validating #237. That PR does not touch display allocation.
Decide whether a retry under contention is correct behavior, and if so assert on distinct displays rather than an exact spawn count.
Otherwise find why a worker spawns twice and fix it.
Activity
test(desktop-linux): detect shared displays and read the race log safely