Skip to content

fix: sample an existing disclosure in the focus ring sweep - #4405

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4241
Oct 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4241

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

The focus-ring sweep still sampled a disclosure in the plan after #4198 deliberately replaced its short caveats with visible paragraphs. It now samples the PR walkthrough's path disclosure and credits the visual overlay that draws native content focus. The corpus Tab walk still includes the plan; no page behavior changes.

The isolated disclosure specimen reproduced the 120-second missing-locator timeout before this change and passes afterward, including focus and ring geometry assertions. Python compilation and diff checks pass. The full sweep passes the replacement specimen, then stops at the unrelated #pr-flow-tab paint-rule expectation, also reproduced on main before this change and tracked separately in #4412. All gating PR CI checks passed on the pushed head.

Focused verification

A temporary pytest fixture restricted RING_CASES, RING_EXAMPLES and RING_EXAMPLE_FILES to the native disclosure specimen, and replaced the independent corpus Tab walk with an empty result. The existing test still performs its focus, painted-rule and ring-geometry assertions. Before the change it waits for the absent plan summary and times out; afterward the walkthrough summary passes in 9.51 seconds. The unrestricted test was also run before and after and stops at #pr-flow-tab: its expected rule contains .lf-rendered:has(> :is(lf-tab, lf-part), while the browser's rule contains a newline after :has(.

Closes #4241 — automated triage

The plan now keeps its short caveats visible after #4198. Sample the PR walkthrough path disclosure instead, and credit the visual overlay that now draws native content focus. The corpus Tab walk still includes the plan.

Closes #4241
@leaf-agent
leaf-agent merged commit dd1e86e into main Oct 27, 2026
3 of 4 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4241 branch October 27, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Focus ring sweep waits for a missing main details summary

1 participant