Skip to content

Three journeys fail since #7417 ported lf-options to Effect UI: previews, ship-review's existing mark, sideways-scroll gate #7527

Done

Description

@leaf-agent

Three journeys pass at feeaebca8 and fail at 189757617 (#7417, "Port lf-options to Effect UI as the first decorating widget"). I ran each by node id on Linux at both commits. All three fail in the Linux test job and test-macos of scheduled run 46137118943 on ad7b71b63. Journeys run only in the scheduled suite, so #7417's CI and its browser-test follow-ups (#7450, #7517, which settled #7494) didn't cover them.

Test Deciding error at ad7b71b63
tests/journeys/controls/test_previews.py::test_a_link_into_the_page_previews_where_it_points[browser] and [firefox_browser] #lf-preview .lf-place-item[data-lf-chosen] is never found (expected text At reception). The previewed passage holds an lf-options whose chosen option the preview no longer shows.
tests/journeys/test_render_aim.py::test_an_aimed_press_does_only_what_the_outline_promised[ship-review] ship-review no longer exercises the paths that earned its place in the aim corpus: missing ['existing mark'], reached ['option click']
tests/journeys/test_render_gate.py::test_the_render_gate_reads_a_page_that_scrolls_sideways_only_between_viewports Finding(code='clipped-content', at='<div id=card>', values={... 'across': 0, 'down': 240}, widths=(360, 440))

The first row's test was last changed in #7419 and passed after it, so this is a new failure, not #7401's.

Lead, not yet checked. #7417 moved each option's choice mark into the option's shadow root. The preview copies the passage's light DOM, so it may no longer see data-lf-chosen. The aim sweep may no longer find an existing mark on ship-review for the same reason. #7517 fixed the same kind of reader in the page reading and focus keys. Per Reading a red suite, decide for each test whether it reads the old light-DOM shape, or whether the port lost behaviour it should have kept.

Cause of a failure tracked in #7525.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #7538 fixes all three. Each test fails on main at 6313a6f59 and passes on the branch. The lead was right about the cause: after #7417, two readers and one test still walked only the light DOM.

    • Preview (a real regression): the link preview read a group's members through its declared root, which holds only a display: contents wrapper. It now reads the widget's own children, so the chosen option is marked again.
    • Render gate (a real regression): clippedControls queried document alone, so it never saw an option mark clipped by its card. It now searches every open root and climbs the tree as it is drawn. The shipped option examples raise no new finding.
    • Aim sweep (the test read the old shape): ship-review reached existing mark through the Add field, which is now in the group's shadow root. AIM_POINT now follows shadow roots, as AIM_CURSOR already did.

    None of the three repairs gives up any of #7417's intent. Under the merge mode, #7538's CI and landing are now with tend-land.

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