Repository navigation
fix(ui): avoid reactive read warnings in picker scrolling - #174436
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThe picker’s scrolling effect consumes its captured open state and highlighted value instead of rereading reactive state during application. Example: Open a 30-option model picker with fixture/model-0 selected and press ArrowUp.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep open: this PR makes a focused correction to the picker’s Solid effect, and current main still contains the offending reactive read. No actionable correctness or security findings were found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe shared Control UI picker receives options and selection callbacks, delegates navigation to the menu machine, and applies highlight scrolling and fade attributes to its list. flowchart LR
A[Model picker options] --> B[Shared picker]
B --> C[Menu navigation machine]
C --> D[Tracked effect preparation]
D --> E[Scroll and fade updates]
B --> F[Selection callback]
Technical reviewBest possible solution: Consume the effect’s captured values while retaining the existing navigation, search, row, and fade behavior. Do we have a high-confidence way to reproduce the issue? Source tracing confirms that effect application rereads the menu revision through active(); the PR reports a base-failing warning assertion, but this review ran no target code. Is this the best way to solve the issue? This is the smallest appropriate correction: it uses facts already captured by the existing effect and preserves every triggering dependency. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 50ef1857adb2. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource -1, Tests +32. Total +31 across 2 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 16, 2026, 12:55 PM ET / 16:55 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…158510 * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402)
…esafe-decision-native * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402) # Conflicts: # src/agents/decision-inference.integration.test.ts
…/decision-tool-v2-proof-20261016 * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402) # Conflicts: # docs/plugins/sdk-overview/capabilities.md
What Problem This Solves
Opening or navigating a picker emits Solid's
STRICT_READ_UNTRACKEDwarning because its scrolling effect rereads the highlighted item outside the tracking phase.User Impact
Keyboard selection, scrolling, search, focus, and menu layout stay the same. The picker no longer produces this reactive-read warning.
Why This Change Was Made
Use the open state and highlighted value already captured by the effect's compute phase. Search and row changes still trigger scroll and fade updates. No new state, effect, listener, dependency, or eager import is added.
Evidence
4819b0b923e8ci:fullrequestedThis is a nonvisual effect correction: markup, styles, classes, tags, routes, and lazy boundaries are unchanged. The browser regression exercises actual keyboard and scroll behavior; no screenshot change is claimed.
Touched production metrics (
select-picker-view.tsx):createEffectcreateRenderEffectuntrackaddEventListenerquerySelectorflushTest LOC: 546 → 578. The added case covers the actual warning plus keyboard wrap, visible scroll position, and selection through the public picker.
Exact-head CI attribution
Run38933973964 completed on the reviewed head. All selected jobs passed except UI E2E5 and its downstream gate. The sole failing test is
Plugin skill bundle routes > opens the full bundle from installed settings without installing it(plugin-skills.e2e.test.ts:177): computedwebkitLineClampwas empty instead of2, on the initial description before opening a picker.The actual tested merge
117fa4c463dbhas basecee2191da55band changes only the two picker files. Plugin pages, styles, fixtures, app/lib sources, build/test configuration, scripts and dependencies have identical Git objects to that base. Latest scheduled main run38932746006 passed UI E2E5, so this is recorded as a plainly unrelated source failure, not a matching-main failure or confirmed flake. Landing uses the authorized native admin route; the failing run is not relabeled green.