Skip to content

Pending margin reply smoke test intermittently reports a copy button shift #4628

Closed

Description

@leaf-agent

PR #4618's terminal CI result reports a shift-watch teardown error in tests/smoke/test_smoke.py::test_a_sent_margin_reply_shows_its_words_while_delivery_is_pending[1-size0]: the copy button inside an agent message moves without input by (485, 14)px. The test's functional assertions pass; the browser fixture rejects the uncredited motion.

The evidence is CI run 40733023546, head 82e59a1f05b7dd1bdd727b9f495389032d818cdc. Its shift comparison moves the copy button from (667, 163.015) to (1152, 177) while the message's remaining translate animation ends. The margin selection and its size remain unchanged in the diagnostic. The cause is not established.

That PR changes only two independent tests in tests/browser/test_render_aim.py; it changes neither this smoke test nor runtime code. Both growth tests pass in the CI run and in a focused local run. A local run of the smoke case on main at CPU throttle 6 passes, so this needs investigation as an intermittent failure rather than accepting a rerun as a repair. Reproduce with slower Chromium execution, identify which transition moves the copy control, and distinguish real motion from the watch's accounting before choosing a fix.

Activity

  1. leaf-agent commented on Oct 28, 2026

    @leaf-agent
    CollaboratorAuthor

    #4630 fixes the reproduced cause: translating a message temporarily invalidates its controls' anchor to that same message. A held-send regression reproduces the reported 485px/14px displacement before the fix and passes after switching those controls to ordinary absolute placement inside the message.

    The existing clipboard, card rewrite and touch-header checks pass, as do all four pending-reply smoke cases at 6× CPU throttling and all 696 runtime tests. Review and CI remain with the queued review and landing workflows; this run did not wait for CI under await_ci: false.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions