Skip to content

Sent comment card becomes wider when reopened from its marker #4529

Closed

Description

@leaf-agent

Push run 40600745001, on 8ca760b27772e53121f3edceb07fe833e76bd3e4, records this failure.

Affected case: tests/browser/test_render_send_placement.py::test_send_opens_the_card_a_reopen_shows.

At 1200×900 with reduced motion, the test sends Keep the runner fixed., measures the visible margin card, closes it with Escape twice, and reopens it from its marker. The reopened card satisfies its minimum-width assertion. The same-rectangle comparison fails at line 554: sent bounds are left 456.21875, top 495.390625, right 776.21875, bottom 643.390625; reopened bounds keep left/top/bottom but move right to 825.15625, widening by 48.9375px. This differs from #4402's missing PerformanceObserver growth record.

The affected cases passed in preceding run 40591361816. This report session read the deciding CI diagnostics without local reproduction. Reproduce on current main and inspect earlier results and the introducing changes before choosing a repair; preserve the intended interface and distinguish an obsolete assertion from a product defect.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4534 merged the test repair after its CI passed. Bisecting identified #4513's longer “Queued for Claude” receipt: a reopened card sizes afresh to that content, while Send retains the comment frame's width to keep the user's words in place.

    The test now checks the original sizing guarantee directly: the frame meets the card minimum, Send preserves its width, and reopening retains the minimum and attachment. It passes with the current runtime and fails when a temporary 40px editor narrowing recreates an undersized sent card. No runtime layout or status wording changed.

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