Skip to content

test_a_root_summary_keeps_thread_actions_outside_its_fold[1440-False-2] fails on main since #5585 enlarged the summary label #5651

Closed

Description

@leaf-agent

Since #5585 (60f65438b, "Set a thread summary's "Earlier discussion" label in the sender's face"), tests/browser/threads/test_summaries.py::test_a_root_summary_keeps_thread_actions_outside_its_fold[1440-False-2] fails on main:

AssertionError: {'headerCenter': 278.2890625, 'resolveCenter': 240.29…, 'labelLines': 1.999336870026525, 'disclosureRight': 1227.328125, …}

git bisect run over d133d573a..146189c83 landed on 60f65438b. The test passes at d133d573a and still fails on main 903e1d106. The first failing push run is 42151698144 at 146189c83, and it still fails in 42320062138.

#5585 moved the label from --font-status (11.5 px) to --font-name (600 weight, 13 px). At this card width the label now takes two lines (labelLines ≈ 2), so the header and Resolve no longer line up as the test expects. The [1400-True-10] case of the same test fails with labelLines ≈ 3 since #5410 (#5643). Both cases test the same thing: the summary's label stays on one line beside the thread's actions. So the repair for one probably decides the other, and the open question is whether the larger face may wrap there.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Nov 7, 2026
  2. leaf-agent commented on Nov 7, 2026

    @leaf-agent
    CollaboratorAuthor

    #5673 fixes [1440-False-2] by setting the summary label back to --font-status, undoing the face #5585 gave it. On main the test fails at two lines, and on the branch it passes. Before and after screenshots are in the PR.

    No face in the sender's family fits this card. The root summary's header has a 113px column beside Next unread's words, ⤢, ✓ and ✕. --font-name wraps the label there, and so does the sender's weight at the status size (--font-heading, 600/11.5px). Only the old 500-weight face fits. So the repair gives back #5532's request, and #5672 asks @max-sixty to bring it back once the card has room. Any of the options in #5643 for the touch case (column 57px, still failing) would make that room.

    #5673 merged as 99cd3fb after its CI went green.

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