Repository navigation
Description
#7417 ported lf-options to Effect UI. Its buttons and marks now draw in a shadow root, and its selected state is no longer reflected on the authored lf-option. Eight tests have failed on every push run since then.
| Test | Deciding error |
|---|---|
tests/browser/margin/test_pins.py::test_a_pin_keeps_clear_only_of_controls_the_user_can_see |
TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect'). #7470's description notes that it queries light-DOM lf-options buttons, which moved into the shadow root |
tests/browser/test_render_anchors.py::test_one_key_keeps_one_keyboard_face_across_the_page |
getComputedStyle ... parameter 1 is not of type 'Element' |
tests/browser/test_render_pages.py::test_a_wide_widget_stays_inside_a_box_that_frames_it |
Cannot read properties of null (reading 'getBoundingClientRect') |
tests/browser/navigation/test_obligation_walk.py::test_an_obligations_digits_are_drawn_whole |
#c-heater > .lf-key-badge not found |
tests/browser/projection/test_widget_actions.py::test_a_label_in_a_retired_slot_leaves_the_page_with_the_slot |
the thread view's .lf-thread-quote-head .lf-anchor-status (Changed) is not found |
tests/browser/widgets/test_obligations.py::test_ideas_shortlist_survives_revision_and_can_reopen |
#idea-csv-export has no selected attribute after the pick |
tests/browser/threads/test_navigation.py::test_back_returns_to_a_named_control_in_a_message_the_agent_rewrote[browser] and [firefox_browser] |
#keep [role="checkbox"] (a generated lf-pick span) is not focused after Back |
The first three read light-DOM nodes that the port moved, so they likely only need their probes updated. For the last four, it is still open whether the user-facing behavior changed: the badge, the anchor status, the reflected selected and focus returning after Back. Each repair has to settle that, keeping #7417's intent where the behavior is right. #7450 already followed the port in one comparison and one layout test.
First failing run: 46067217098; every push run after it through 46099887165 also fails.
All of these fail on cd2495ac7 (current main when diagnosed) on the Tend runner, running each node id with uv run pytest -n 3. A bisect over main's first-parent commits put the first failing commit at the PR named in the title: each test passes at the commit before it and fails at it.
Cause of a failure tracked in #7387.
Activity
leaf-agent commentedon Nov 28, 2026
#7517 fixes all eight tests. Each one fails on
mainand passes on the PR branch.Four of them caught real regressions from the port, and #7517 fixes those in the code while keeping #7417's design:
silencedat each declared shadow root. A quote therefore matched the settled label, which now sits in the shadow root of a group inside the accepted-away slot. Silence now carries across declared roots.selected: a revision replaced an option node it had rewritten, and the group never drew the new node, because its arguments hadn't changed. That left the option with no mark and noselected. The group now draws again onslotchange.The other three needed only their probes pointed into the shadow roots.
The PR's CI and landing are now with tend-land.