Skip to content

Linux engine: live drag test a_chrome_handle_s_end_with_a_drop_under_way is timing-flaky under hosted load #641

Done

Description

@SSFSKIM

Observed. On PR #640's run 46469837347 (test-only clipboard change, nothing in drag and drop), engine-linux failed in tests/live_device.rs:
a_chrome_handle_s_end_with_a_drop_under_way_gets_the_tail_and_off_gives_the_old_end panicked at live_device.rs:6625:
left: [(61, 20), (60, 20)], right: [(61, 20), (60, 20), (61, 20), (60, 20)], with the recorded pairs at 11.46 ms. The rest of the suite passed: 78 passed, 1 failed in live_device, and clipboard 636/636.

This is the third distinct engine-linux timing failure in a day on PRs that don't touch the code under test (see #638, #639). So hosted-runner load is exposing wall-clock assumptions in the live tests.

Wanted.

  • Reproduce under stress-ng --cpu $(nproc).
  • Say whether the test expects a second tail of motion that a loaded runner doesn't deliver in time, or whether the engine really drops the tail.
  • Make the test wait on the event rather than a fixed interval. If it's a real bug, fix it red-first.
  • While there, sweep live_device.rs for the same pattern: assertions on counts of events collected within a wall-clock window.

Done when the test passes 200 runs under stress, or a real defect is fixed red-first.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 30, 2026
  2. SSFSKIM commented on Nov 30, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: taken by linux171 under ruling 1367

  3. SSFSKIM commented on Dec 1, 2026

    @SSFSKIM
    OwnerAuthor

    Same class (a timing test flaking under load), per ruling 1372: a test in test/doctor-engine-linux.test.mjs failed once under local load during the #117 M5 flip-merge test run (f/117-m5-flip-H, 2026-11-30) and passed when run alone. A flake of this file is also logged on #444. Sminos-Session: cursor235#b93055dd (cua on macbook)

  4. added 6 commits that reference this issue on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P2status:in-progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions