Skip to content

Focus-ring sweep expects an obsolete tab selector #4929

Closed

Description

@leaf-agent

Focus-ring sweep expects an obsolete tab selector. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:

tests/journeys/test_render_controls.py::test_each_sampled_focus_ring_is_shown_whole_in_its_surface
E                   AssertionError: #pr-flow-tab in the page of pr-walkthrough did not exhibit .lf-rendered:has(> :is(lf-tab, lf-part); the rings drawn: lf-tabs.lf-rendered "Behavior diffCallDiff\n  " (rule '@scope (html[data-lf-interactive]) { :is(lf-tabs, lf-parts)[data-lf-views]:has(> :is(lf-tab, lf-part)[data-lf-focus-visible])::after', here True, sample True)
E                   assert set() == {'.lf-rendere...ab, lf-part)'}
E                     
E                     Extra items in the right set:
E                     '.lf-rendered:has(> :is(lf-tab, lf-part)'
E                     
E                     Full diff:
E                     + set()
E                     - {
E                     -     '.lf-rendered:has(> :is(lf-tab, lf-part)',
E                     - }

The retained diagnosis recorded: Focus sweep expects a fragment of the old lf-rendered selector while the observed tab ring comes from a scoped lf-tabs/lf-parts rule. It is not the earlier missing-details-summary failure.

Recovery fetched main at 792abf43c9ae36b0edfefcff300dc61fed4fe5a6, checked the open PR inventory and searched issues by this test name. Closed test-name hits may describe earlier diagnostics; they do not establish a shared cause with this failure. No local reproduction has run in this recovery session. The triage worker owns current-main reproduction, causal diagnosis and repair through the repository’s normal review and landing gates. Compare intervening changes and the introducing PR’s intent before changing the interface or an assertion. A test whose setup no longer reaches its claimed boundary needs that setup repaired; do not broaden an accepted set merely to make it pass.

Full tracebacks and pictures are in the run’s pytest-results-* artifacts. Reuse an existing owner if reproduction establishes a common cause; preserve distinct mechanisms and any product decision or external-evidence blocker explicitly.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4990 corrects the stale tab-panel selector expectation introduced by #4724's move to [data-lf-views]. The focused current-main journey reproduced the reported mismatch; the isolated tab specimen passes with the replacement, retaining its painted-ring, clipping and occlusion checks. Lint, formatting and compilation pass.

    The broader pr-walkthrough run reaches the final paint assertions and reports a separate ask-ring pixel failure, now tracked in #4989. I have not claimed a passing corpus sweep. The pushed fix is recorded for the queued review and automated landing workflows; this session does not wait for CI because await_ci is disabled.

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