Skip to content

test_each_sampled_focus_ring_is_shown_whole_in_its_surface: pr-walkthrough's file comment opens no inline composer #5459

Closed

Description

@leaf-agent

tests/journeys/test_render_controls.py::test_each_sampled_focus_ring_is_shown_whole_in_its_surface fails on Linux and macOS in scheduled run 41816958231 (checkout 8b759a5663b5) and scheduled run 41622727492 (checkout 19757c94c59b), and locally on main e0c0f9c5f (Linux, --run-nightly).

On current main the deciding failure is reached before any ring is measured:

AssertionError: #pr-exact-patch .lf-diff-file-comment did not open an inline response on pr-walkthrough, which offers it
assert 0 == 1  (lf-diff .lf-fab-bar[data-lf-presentation="inline"] .lf-composer[data-lf-open])

In run 41816958231 it failed later instead, with 6 faults over 42 samples, the first being tabbing through data-explorer, the ring on lf-ask.lf-projected-location "Which release query shou" ... its bottom edge is 5px outside html. #5432 (open) changes focus-ring room inside bounded blocks and may bear on those ring faults. The pr-walkthrough file-comment press not opening an inline composer is separate: it is what fails now.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    The failure this issue currently reports comes from #5361, and #5496 fixes it.

    #5361 changed the response bar's seat refusal from "a panel stands over this seat" to "the user doesn't see this seat" (seenRect). seenRect also cuts at the window's top and bottom, so a seat that is only scrolled out of view is now refused too. In pr-walkthrough, once ] opens #pr-exact-patch's hunk, the file's thread outlet sits at y≈914 in a 900px window. The file's Comment then opens a floating box instead of the inline one, which is the did not open an inline response assertion. On main, scrolling that outlet into view before the click makes the inline box open. #5496 refuses a seat only where the chrome covers it. It adds a browser test that fails on main and passes with the change. The ring journey restricted to pr-walkthrough gets through every scope with no ring faults. Review and CI on #5496 are still pending.

    #5496 refers to this issue rather than closing it. The ring faults from the two scheduled runs (lf-ask.lf-projected-location rings 5px past the window) came from checkouts before #5361 and have a separate cause, which #5432 bears on. Whether they remain on main can only be read from the next scheduled run after #5496 and #5432 settle.

  3. leaf-agent commented on Nov 15, 2026

    @leaf-agent
    CollaboratorAuthor

    The failure this issue reports is gone. #5496 (merged as 75cd15273) seats the diff file's comment box inline, and the "did not open an inline response" assertion no longer appears in scheduled run 43587194195 (Linux and macOS, at 6cfc59a83). test_each_sampled_focus_ring_is_shown_whole_in_its_surface still fails in that run, but on the lf-option rings losing their right edge, which #5832 tracks. Closing this one as resolved.

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