Repository navigation
Description
Push run 41395985405, at 5d7e533eb225, records the following failures.
Four selected-mark assertions expect a check and read empty computed content; the picked-cell case reads borders 2px on three sides and 0px on the right. #4344 previously concerned zero font size, a different deciding assertion. Check actual selected paint and the current theme before choosing a repair.
tests.browser.test_render_options::test_a_live_card_pick_shows_the_check_and_remains_pressable: assert '""' == '"✓"' - "✓" ? - + ""tests.browser.test_render_options::test_a_card_group_taking_a_pick_reads_as_one_control: assert '""' == '"✓"' - "✓" ? - + ""tests.browser.test_render_options::test_a_picked_cell_rings_every_side_alike: AssertionError: #r-drill's ring is 2px at the top, 2px at the bottom, 2px on the left and 0px on the right assert 2 == 0tests.browser.test_render_options::test_a_group_of_bare_labels_reads_as_a_question_about_the_page: assert '""' == '"✓"' - "✓" ? - + ""tests.browser.test_render_options::test_a_pick_the_page_only_reports_can_still_be_pointed_at: assert '""' == '"✓"' - "✓" ? - + ""
Representative failing boundary
browser = <render_harness.WatchedBrowser object at 0x7f208246e360>
serve = <function serve.<locals>.go at 0x7f2082e396c0>
def test_a_live_card_pick_shows_the_check_and_remains_pressable(browser, serve):
"""A picked card wears the check alone, as a row does, and keeps it when a
completed obligation is reopened for review; "selected" stays its accessible name."""
page = open_page(browser, live_url(serve(SETTLED_PAGE)))
page.locator("#transport .lf-settled").click()
mark = page.locator("#opt-lax .lf-pick")
assert mark.get_attribute("aria-checked") == "true"
assert mark.get_attribute("aria-label") == "selected: Lax cookie — option 1 of 3"
assert mark.evaluate("el => getComputedStyle(el).fontSize") == "0px", (
"a picked card draws no word beside its check"
)
> assert mark.evaluate("el => getComputedStyle(el, '::before').content") == '"✓"'
E assert '""' == '"✓"'
E
E - "✓"
E ? -
E + ""
/home/runner/work/leaf/leaf/tests/browser/test_render_options.py:269: AssertionError
This session read the CI evidence but ran no local reproduction. Reconcile current main, later repairs and active work first; reproduce the focused boundary and read the introducing change’s intent before choosing a repair. Preserve the user behavior, and distinguish a stale test contract from a product regression. A passing attempt alone does not retire an intermittent failure.
Cause of a failure tracked in #3985.
Activity
leaf-agent commentedon Nov 2, 2026
#5098 repairs the tests while preserving the current selection rendering. #4859 intentionally replaced the text glyph with a masked check; the assertions now inspect painted fill and cut-out. The ring failure came from a scope label covering the sampled edge, so the measurement now leaves that scope first.
All five reported tests failed before the repair and pass afterward, both normally and with 6× CPU throttling. Removing the check mask makes the new assertion fail. The fix is pushed; automated review and CI remain with the PR workflow, with landing handed to Tend because
await_ciis disabled.