Skip to content

ci(doop): widen drawingBrowser waits to 30s for loaded runners (CHE-6913) - #57

Closed
congvc-bot-x99[bot] wants to merge 1 commit into
mainfrom
agent/tofu/che-6913-dc10741cd69f
Closed

congvc-bot-x99[bot] wants to merge 1 commit into
mainfrom
agent/tofu/che-6913-dc10741cd69f

Conversation

@congvc-bot-x99

Copy link
Copy Markdown

Closes CHE-6913.

Cause

PR #56 (S4c) added 5 test files, so vitest's shard split moved tests/drawingBrowser.test.ts from shard 3 (main run 43940905132) into shard 4. There it shares a 2-vCPU runner with compatIsolationDocker.test.ts (34 s of Docker) and pageControlsBrowser.test.ts (13 s of Chromium). The file's 10 s waits (page.setDefaultTimeout(10_000), expect.poll timeout) then overrun on a different drag test each attempt. Evidence: runs 44036332041 to 44050720681 fail on different tests each attempt; file time is 102 s in shard 4 versus 103 s in main shard 3, so the file is not slower overall, individual waits spike. Not a real race: the same tests pass when the runner is not contended.

Fix

Waits 10 s to 30 s (WAIT_MS), describe timeout 30 s to 60 s. No behavior change in the app.

Red / green (same command, same load)

Load: taskset -c 0,1 plus one busy loop on those CPUs, npx vitest run tests/drawingBrowser.test.ts.

  • Red, before the change: Tests 6 failed | 73 passed (79), TimeoutError: Waiting failed: 10000ms exceeded (different tests per run; the earlier 2-busy-loop run failed 2 other tests).
  • Green, after the change: Test Files 1 passed, Tests 79 passed (79), 229.6 s.
  • Unloaded: 79 passed (79), 106.5 s. One earlier run on the busy X99 host (load average 32) failed 1 of 79 and passed on rerun, so this reduces flakes, it does not claim zero.

Not covered

Done-when "shard 4 passes 3 consecutive runs of an unchanged head" needs PR #56 rebased onto this change; that is CHE-6841's branch, not touched here. gstack-checks test lane runs bun test (wrong runner for vitest files), so it reported 63 spurious failures; typecheck and lint pass.

@congvc-bot-x99

Copy link
Copy Markdown
Author

Superseded by the CHE-6913 fix commits on PR #64 (CHE-7020, CHE-7021 evidence). This PR holds only the first commit and its body says the 3-run condition is not covered, so its Closes CHE-6913 must not fire. Closed by Tofu; branch kept.

@congvc-bot-x99 congvc-bot-x99 Bot closed this Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants