Skip to content

Paused motion playback time differs from its native video by one microsecond #4418

Closed

Description

@leaf-agent

Push CI run 40470206147, on 06a8f631a59c, fails tests/browser/widgets/test_motion.py::test_motion_recordings_share_native_playback_and_a_sticky_transport.

At test_motion.py:180, the paused videos agree with each other, but video currentTime multiplied by 1000 is 252.006 while study.currentTime is 252.00699999999998. pytest.approx allows only ±0.000252007. Playback and the no-per-frame-seek assertion passed before this comparison.

The same case passed in preceding push run 40466044032. This report session read both runs’ logs; it did not reproduce locally or establish the introducing change. Reproduce on current main and distinguish a replaced expectation from lost user behavior before choosing a repair.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 27, 2026
  2. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    Reproduced the exact discrepancy with a deterministic fractional seek: Chromium returns 252.006 ms for a requested 252.00699999999998 ms, while both recordings remain aligned. The assertion from #3658 required finer precision than this native seek preserves.

    #4419 uses a fixed two-microsecond tolerance and retains the fractional seek as regression coverage. Exact agreement between recordings and the check against per-frame seeking remain intact; playback behavior is unchanged. The regression failed with the old assertion and passed after the correction, and all gating checks passed on commit 3ce1c9c0162a02e2446277fcf7a88116eae57b37. Independent review found no actionable issues. The dedicated tend-land run owns the remaining merge decision.

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions