Repository navigation
Read the Question ring in the focus sweep - #2308
Closed
leaf-agent wants to merge 2 commits into
Closed
leaf-agent wants to merge 2 commits into
leaf-agent wants to merge 2 commits into
Conversation
The canonical response styling calls this remote ring question. The browser sweep still expected ask and stopped before inspecting the remaining specimens; on a tree with the diff reach fix, the full sweep now passes.
max-sixty
added a commit
that referenced
this pull request
Oct 11, 2026
#2252 renamed the remote Question outline's focus ring from `ask` to `question`, so test_each_sampled_focus_ring_is_shown_whole_in_its_surface reported a missing ring even where the Question was painted correctly. The sweep now expects `question` and still marks the exact carrier, so a ring drawn on the wrong node still fails. Carried from #2308. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 11, 2026
…build (#2327) Code-quality survey batch for `tests/`, `dev/` and `build/`: the test page pool's regression, plus small cleanups, one commit each. **Test page pool (F125).** Since #2155 put the `work` fixture package in `serve`'s default selection by path, every default `serve(markup)` ran a full `page init`. `serve` pooled only selections of bare package names, because it named each template directory after the selection. `initialized_page` now owns the key and the `page init` command. A shape is keyed by the selection, the package directories it resolves to as `page init` resolves them, and an optional named preparation step: an example's stamped versions, or `page_dir`'s document. `serve`, `page_dir` and the fixture check share that one keyed lend, templates are numbered, and a selection naming a package under the test's own `tmp_path` (a `layer_registry` or `./.leaf` page) is initialized in place. On this host under load 40 to 58, a default `serve(markup)` went from about 6 s to about 0.75 s after each worker's first. pytest's own fixture caching can't hold this pool by itself. `serve`'s selection is an argument of a call made inside the test body, sometimes twice in one test, and fixture caching keys only on scope and collection-time params. So the pool keeps the shape it had: a worker-scoped `_page_pool` with a function-scoped lender. **Wait deadlines (F79).** The deadline lint loses its per-file allowance. The 33 literal deadlines it held now take the suite's default, `HANDOVER_DEADLINE_MS` for a reload, or a bound past the runtime's 10 s presentation wait. The gate tests whose deadline is meant to expire share `EXPECTED_STALL_MS` (5 s), so two of them now wait 5 s where they waited 2 s and 1 s. **Console errors (F39).** `render_gate.scheme` gains `console_error`, the error branch `console_problem` already had, and `collect_page_errors`. probe, verify-site and the plain arrangement gate use them: still errors only, and a failed load now names its URL. A layout case drops its `response` listener, since the console entry already reports error statuses. **Stylesheets (F128).** `build/styles.mjs` exports `styleOutputs()`, which `build/browser/build.mjs` merges into the outputs it writes and checks. `build:styles` and `check:styles` are gone, and `check:bundles` no longer rebuilds the sheets. The sheets' banner now names `build/styles.mjs`. **Framework facade (F66).** The ESLint rules now refuse deep imports into `vendor/browser-runtime/`, which bypassed both the semantic publisher's ownership rule and the content-module boundary. The rule also drops a check on `createApplicationPublisher`, which the facade never exported. **Smaller items.** - From #2308: the focus-ring sweep now reads the Question ring by `question`, the canonical name since #2252. #2308 can close once this lands. - F131: `leaf-dev probe --do drive:NAME` reaches all 71 stills drivers. 13 were refused before. - F130: `publish-site` now runs on any `dev/` change. Its hand-written list had missed `startup.py`. - F75: two unused test helpers are deleted. - F117 and F118: maintainer docs now match the CLI and the suite, and let `--help` own leaf-dev's flags. **Not done.** - F40, launching catalog previews through `chrome()`: #342 chose Playwright's locked headless shell to keep previews reproducible, and this would reverse that. - F129, moving the package-lock check: #2317 deleted both lock checks when it moved to pnpm. - F58, the shared Lit binding: verification rated it low value and recommended folding it into the next change to either binding. - F34, the usability eval scorers: rewriting eight scorers onto `SourceDocument` needs the stored runs re-scored before and after, which is more than a small change. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Owner
|
Landed in #2327 as its own commit (credited there); the sweep passes on main.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
#2252 made the remote Question outline use the canonical
questionfocus-ring name. The focus sweep still expectedask, so it reports a missing ring even when the Question is painted correctly.Change
Read the canonical
questionring and locate its exact[data-lf-question]carrier when checking the sample. This keeps the sweep sensitive to a ring drawn on the wrong node.The same sweep also depends on the scrolling diff keyboard repair in #2287. That PR needs to land before this test can pass on main. I verified the complete sweep on current main with #2287's current
focus.jsandreach.jschanges applied temporarily: 1 passed in 219.51 s. Ruff formatting passes.