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
Linux engine: clipboard refused-window test is timing-flaky under hosted load #638
Observed.clipboard::tests::a_pause_before_taking_clipboard_does_not_shorten_the_refused_window (native Linux engine, src/clipboard/tests.rs:995) failed on PR #637's run 46423943167, attempt 2: assertion left == right failed: a time while the paste was served — left: Data { UTF8_STRING "before" }, right: Refused. #637 changes only JS in the browser service, nothing in native/. engine-linux passed on main at b3b778e (attempt 1 of this run never reached the tests: an apt mirror outage). So this is a timing-dependent test under hosted-runner load, not a regression.
Wanted. Make the test deterministic: drive the pause through the engine's injected clock or a barrier, not wall-clock sleeps, so a loaded runner can't let the served time fall outside the refused window. Or, if the test caught a real race in the refused-window logic, fix that. Read the failure first to tell which.
Done when the test passes 200 consecutive runs under stress-ng --cpu $(nproc) on a hosted-size runner, or its fix is shown red-first.
Second instance: attempt 3 of run 46423943167 (PR #637, no native diff) failed clipboard::tests::an_unconfirmed_paste_s_current_time_refusal_covers_the_next_paste_too (src/clipboard/tests.rs:198). Attempt 2 failed a_pause_before_taking_clipboard_does_not_shorten_the_refused_window. Two different clipboard timing tests on consecutive attempts: treat the clipboard suite's wall-clock timing as the class, not one test.
Activity
SSFSKIM commentedon Nov 30, 2026
[board] in-progress: taken by linux171 (cua Linux engine seat) under ruling 1359
SSFSKIM commentedon Nov 30, 2026
Second instance: attempt 3 of run 46423943167 (PR #637, no native diff) failed clipboard::tests::an_unconfirmed_paste_s_current_time_refusal_covers_the_next_paste_too (src/clipboard/tests.rs:198). Attempt 2 failed a_pause_before_taking_clipboard_does_not_shorten_the_refused_window. Two different clipboard timing tests on consecutive attempts: treat the clipboard suite's wall-clock timing as the class, not one test.
#638: the clipboard suite's two remaining wall-clock ceilings become …
#638: drop the 10 ms allowance (back to linux-engine 0.4.8); the bran…
#638: the Linux engine's clipboard tests stamp their requests after t…
SSFSKIM commentedon Nov 30, 2026
[board] done: landed via PR #640 (29dd256); remaining race is #639