Skip to content

Margin card name truncation test finds the author name fits #4527

Closed

Description

@leaf-agent

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

Affected case: tests/browser/margin/test_card_placement.py::test_a_card_s_head_row_cuts_the_name_before_the_time.

After two remote replies arrive while the user writes, the notice reads 2 new replies, its words fit, and message times pass their whole-text assertions. The next assertion at line 262 expects the first .lf-msg-head b to have scrollWidth > clientWidth, but reads false. The diagnostic establishes a failed truncation assumption, not clipped timestamps or news. Determine whether the fixture still requires truncation before changing layout.

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

    Fixed in #4532, now merged. The short author name stopped overflowing after #4513 changed the queued-status wording; this was a fixture assumption rather than a timestamp-clipping failure.

    The test now supplies a long agent name and still requires the name's ellipsis, whole timestamps and the whole reply notice. The original failure reproduced on main; the repaired test passed locally and all gating CI checks passed on the merged PR's head. Product layout and #4513's status wording are unchanged.

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