Skip to content

Comment entries in unfolded margin options leave the thread preview hidden #4426

Closed

Description

@leaf-agent

Push CI run 40478528673, on 35e5f418c9722f1ddfbac8d64303f40a408417c5, records this failure.

Affected cases:

  • tests/browser/margin/test_clusters.py::test_one_target_has_one_primary_margin_entry_and_inline_secondary_margin_entries
  • tests/browser/margin/test_opening_threads.py::test_a_card_walked_off_the_unfolded_cluster_lands_on_the_page
  • tests/browser/margin/test_opening_threads.py::test_an_open_thread_refresh_keeps_the_current_margin_entry_target_highlighted

Clicking the unfolded .lf-margin-reading-option[data-lf-kinds="comment"] leaves .lf-margin-preview hidden. All three stop at the preview visibility assertion before exercising later card walking or refresh behavior. In the latter two, the log explicitly shows the comment-entry click immediately before the failure.

This report session read the deciding CI diagnostic; it did not reproduce locally or establish the introducing change. Reproduce on current main and inspect prior run results and the introducing change before choosing a repair. Preserve the change's intent and the user behavior, distinguishing an obsolete assertion from a product defect.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4439 addresses this failure together with #4427. The focus-departure microtask introduced by #4406 reads the temporary body focus between native blur and focus, folding the options before the comment receives its click. That PR reads departures after the focus transition and preserves detection of failed component arrivals.

    I reproduced all three reported failures on main and verified all three tests pass against #4439 at dbf607df6dcd30b9c6509343a1fe86ea8875655a. I added that evidence to the existing PR rather than opening a duplicate. Its existing triage and review sessions own the remaining CI and landing; this issue stays open until that repair lands.

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