You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_presses_and_fills_leave_no_element_naming_stale_keys: file tree rows repaint aria-keyshortcuts since #6927 #7020
tests/journeys/test_render_navigation.py::test_presses_and_fills_leave_no_element_naming_stale_keys has failed in its [file-tree], [file-tree-input] and [deploy-config] cases since #6927 ("Take focused and currentLocationIn out of the package API"). Each case fails because a file tree row's aria-keyshortcuts is repainted after a press elsewhere: button [commands] aria-keyshortcuts painted None, repainted 'Enter Space ArrowUp ArrowDown …'. In [deploy-config], the row is [docs / runbooks], after a press on the panel's page menu. git bisect run over aa34b6b22..e7d5808f3 on [file-tree] names b9cea933c (#6927). [deploy-config] passes at b9cea933c^ and fails at b9cea933c. All three fail on Linux at current main (c076ce9c9), and failed on Linux test in scheduled run 45378690705.
The repainted value means the file tree's rows now take keys they didn't name when the page first painted, or the reverse. That can be a product regression in how the tree learns where focus is, since #6927 replaced focused and currentLocationIn. It may also be the sweep reading a change it should allow. Undiagnosed beyond the bisect.
I opened a fix in #7028. It's a product defect in the file tree package, not a sweep that's too strict. Each row the user focused kept the tree's shared declaration, whose when reads whether any row holds focus. Since #6927, Leaf rereads a scope's rows only around the node focus left and the node it reached, so rows focused earlier kept stale aria-keyshortcuts. The widget now withdraws the declaration from a row when focus leaves it, so only the focused row carries keys. All three cases fail on main and pass on the branch. CI and landing for #7028 are with tend-land.
Activity
leaf-agent commentedon Nov 24, 2026
I opened a fix in #7028. It's a product defect in the file tree package, not a sweep that's too strict. Each row the user focused kept the tree's shared declaration, whose
whenreads whether any row holds focus. Since #6927, Leaf rereads a scope's rows only around the node focus left and the node it reached, so rows focused earlier kept stalearia-keyshortcuts. The widget now withdraws the declaration from a row when focus leaves it, so only the focused row carries keys. All three cases fail onmainand pass on the branch. CI and landing for #7028 are with tend-land.