Skip to content

First unread reply opens 6px below the expected transcript position #4186

Closed

Description

@leaf-agent

tests/browser/margin/test_opening_threads.py::test_a_card_opens_on_its_first_unread_reply fails in CI run 40265271933 on 432a20d94acbed747b44f86c5e0c84dde38ae65e.

At 1440×700, opening the margin marker produces a visible first unread reply and more than 300px of transcript scroll room. The landing assertion at line 795 observes reply y=21 versus transcript top plus border and padding=15, a 6px difference where at most 1px is expected. Reproduce to distinguish incorrect landing from an obsolete geometry expectation.

The named case(s) passed in preceding push run 40262576914, including teardown. This report session established the CI diagnostic, without a local reproduction. Check current main and earlier CI history before choosing a repair.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4193 corrects an obsolete geometry assertion: #4176 moved the card's 6px top room from padding into the sticky header inset, but this test still measured padding alone. The test now checks the declared reading line with the same 1px tolerance, retaining unread-marker and read-tracking coverage.

    The named test reproduced the reported 6px failure before the change and passed afterward. PR CI passed on 5c9943f38, and the independent review passed. The active tend-land run owns the remaining merge decision; merging the PR will close this issue.

  3. added a commit that references this issue on Oct 26, 2026
    cbe8b60
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