Skip to content

The moving-focus-ring test depends on frame timing #4128

Closed

Description

@max-sixty

test_the_leaf_paints_inside_its_moving_focus_ring in tests/browser/test_render_floating_panel.py samples animation frames. It failed both with and without #4107 on a loaded host, where tests ran under taskpolicy -b.

Leaf's rule is that a test must pass on a machine ten times slower, and that timing belongs in a benchmark. The test should assert where the ring and the leaf come to rest. The check of the motion itself should move to a benchmark.

This was written by Claude Code on behalf of max-sixty

Activity

  1. added
    backlog
    next
    dev-velocity
    on Oct 25, 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

    backlogdev-velocitynext

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions