Skip to content

Five nightly journeys fail on main since #5614: a repeated aria-describedby write, two .lf-chrome roots on site routes, a visible inline diff bar #5707

Closed

Description

@leaf-agent

Five nightly journey cases have failed since #5614 (4248d1f4c, "Pointing reads; pressing acts: one owner previews every control"). All five fail on main fcad5fa09, run locally with --run-nightly. The three representative cases below fail at 4248d1f4c and pass at its parent 62cb54fc8. They first failed in scheduled run 42365682113 (391c24622), and passed in 42205827418 (62cb54fc8). #5632 owned #5614's fallout in browser tests, but push runs don't run journeys, so these weren't part of it.

There are three distinct diagnostics. They may need separate repairs:

  1. The All pages row's aria-describedby is written with its own value. The teardown watch reports unchanged write: aria-describedby on a.lf-row.lf-fp-page.lf-ui.lf-ui-face.
    • tests/journeys/test_render_controls.py::test_leaves_keep_focus_through_reordering_and_stay_in_the_list_on_removal (teardown error; checked at the commit and its parent)
    • tests/journeys/test_render_controls.py::test_all_pages_takes_the_keyboard: same teardown error, plus Page.wait_for_function: Timeout 120000ms exceeded in the call. It also fails at 84d918681 and ef6c01ed8; I didn't check it at the parent.
  2. A site product route renders two .lf-chrome roots. Expect "to_have_count" locator(".lf-chrome"): 241 × locator resolved to 2 elements.
    • tests/journeys/test_site.py::test_every_product_route_is_a_live_leaf_page (checked at the commit and its parent)
    • tests/journeys/test_site.py::test_the_public_catalog_is_a_visual_index_of_full_page_routes (same assertion)
  3. The diff outlet's inline attachment bar stays visible. Expect "to_be_hidden" locator("lf-diff .lf-fab-bar[data-lf-presentation=\"inline\"]"), actual: visible.
    • tests/journeys/test_render_threads.py::test_a_diff_outlet_keeps_the_shared_attachment_controls (checked at the commit and its parent)

#5614 moved control labels and titles into a single preview owner. Before choosing a repair, read its description for what it meant to change: a second chrome root and a write that changes nothing look like runtime regressions, not stale expectations.

uv run pytest --run-nightly <node id>

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #5748 fixes the cause and the stale journeys. All five journeys pass on it locally and its PR CI is green at 2fb5bca51. That head is recorded for landing, and a tend-land run is merging it.

    • Repeated aria-describedby write (a runtime bug). A focus preview describes the focused element through ariaDescribedByElements, which empties the attribute. On an All pages row, which opens in a new tab, declared-words.js wrote its "opens in a new tab" id back over those references. That removed the preview from what a screen reader hears, and hiding the preview then rewrote the same id. The link treatment now keeps the references while they still hold its description. A new browser-tier test fails on main and passes with the fix.
    • test_all_pages_takes_the_keyboard timeout and the visible inline diff bar (stale tests). Pointing reads; pressing acts: one owner previews every control #5614's own behavior caused both: a standing preview takes the first Escape. Each journey now puts the preview away before the Escape that closes the panel or bar.
    • Two .lf-chrome roots (stale test). The second is the preview's stage, which preview.js nests in the chrome root on purpose. The site journeys now count only the outermost chrome.

    The maintainer's open #5746 stops arrow-key landings from previewing. If it lands after #5748, the put_preview_away calls in the two Escape journeys have to go, as the review on #5748 notes. PR CI doesn't run journeys, so nightly is where that would show.

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