Repository navigation
fix(ui): run WebKit overlay contracts without expected failures - #168385
Conversation
Classify the twelve expected failures as fixture issues: exercise opening focus after content is usable, seed the actual native bridge, read adopted stylesheets and animation longhands, wait for the effort popup, and establish native keyboard traversal independently of Safari pointer focus. Remove the expected-failure registry and its CI wiring. No product or visual behavior changes.
|
🦞👀 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: needs changes before merge. What this changesThis PR repairs browser-test fixtures so the selected WebKit contracts run without expected-failure exceptions. Example: WebKit runs the 293 selected overlay and composer assertions.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains This PR provides useful WebKit fixture repairs and removes obsolete exceptions without an identified correctness defect; the earlier conflict is resolved. Priority: P3 Before merge
FindingsNone. Agent review detailsHow this fits togetherThe CI manifest selects the WebKit lane from changed paths, and the UI Vitest configuration runs existing component contracts and reports assertion results. flowchart LR
A[Changed paths] --> B[CI manifest]
B --> C[First UI shard]
C --> D[WebKit project]
D --> E[Overlay and composer fixtures]
E --> F[Normal assertion results]
Technical reviewBest possible solution: Retain the focused fixture repairs and remove the obsolete exception machinery once the required CI gate is satisfied. Do we have a high-confidence way to reproduce the issue? This PR claims fixture defects rather than a production bug; source supports the bridge, stylesheet, and lifecycle explanations, and no target code was executed during this read-only review. Is this the best way to solve the issue? Repairing the existing fixtures and deleting their exception path is proportionate and preserves the original interaction and appearance expectations. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f6765f73c339. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -39, Tests -153, Docs 0, Other -2. Total -194 across 11 files. Added test files: 0. View PR surface stats
LabelsLabel changes: No label 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 HistoryReview history (1 earlier review cycle)
Reviewed October 10, 2026, 6:50 AM ET / 10:50 UTC (Revision 2). |
|
Investigated the remaining CI failure for The actual CI checkout was merge This completes the requested failure attribution. Landing uses the approved, documented inherited-failure path; no CI rerun was requested. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…claw#168385) * test(ui): resolve WebKit overlay and composer failures Classify the twelve expected failures as fixture issues: exercise opening focus after content is usable, seed the actual native bridge, read adopted stylesheets and animation longhands, wait for the effort popup, and establish native keyboard traversal independently of Safari pointer focus. Remove the expected-failure registry and its CI wiring. No product or visual behavior changes. * test(ui): establish browser frame focus before traversal * test(ui): route native traversal through the browser keyboard helper * test(ui): separate native keyboard and pointer action contracts * test(ui): use explicit CSS rule list copies in style assertions * test(ui): arm tooltip hover before advancing the fake clock
What Problem This Solves
The WebKit overlay/composer gate carried twelve expected failures, obscuring whether its contracts were useful for the Solid migration.
User Impact
No product or visual behavior changes. WebKit now runs all 293 selected assertions without expected-failure exceptions; the existing assertions remain in force.
Why This Change Was Made
All twelve failures were fixture artifacts:
The expected-failure registry, setup, reporter, and obsolete CI selector are removed. The mock baseline shrinks by one exact entry. A separately reproduced tooltip fake-clock race now waits for the commit that arms its hover timer before advancing time.
Release-note context: internal Control UI test reliability only; no dependency or browser-floor change.
Evidence
Final head: 08dce52. The import conflict with current main was resolved by retaining its Solid plugin and TSX discovery while removing the obsolete expected-failure import.
Testbox through
node scripts/crabbox-wrapper.mjs, Linux/Node 24.19.0, Playwright 1.63.0:tbx_01m4jp2feamv9wg018g0bfgg5k, run 38045397729: full WebKit 293/293, Chromium 23/23, UI typecheck, targeted UI/config lint and formatting passed. Earlier leasetbx_01m4jkw6a0w9ptrq8md987gr96, run 38043163769, supplied the individual contract timings, script/test lint and stylelint. The first lease reached its workflow lifetime; all leases are stopped at handoff.OPENCLAW_UI_WEBKIT=1 pnpm --dir ui test --project=webkit --maxWorkers=3 --reporter=dot: 16.90 s Vitest / 17.97 s shell wall.tbx_01m4jg2thvfna2p38rmqj7n0y0, run 38039261335: jsdom modal + tooltip 74/74; CI selection 9/9; core-test, UI, and root-test typechecks, ratchets, formatting, and i18n passed.Individual cost measurements use
OPENCLAW_UI_WEBKIT=1 pnpm --dir ui test --project=webkit --maxWorkers=1 --reporter=dot <file>at a573039 (before the compiler-wiring merge; test sources are unchanged):Known broader-proof gaps:
check:changedstopped at pre-existing unused exports:isPollVoteEchoText,PUBLIC_SESSION_ENTRY_SCRIPT, andisClaudeLikeLiveAgent. Their files are unchanged. All preceding checks passed; the remaining touched lint/style checks were run directly and passed.