Repository navigation
fix: handle retired animation IDs in WebKit checks - #200399
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 Summary: ✅ CompletedThis 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 WebKit animation census skips retired Inspector IDs while continuing to inspect live animations. Example: One announced animation retires while a detached running shimmer remains.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it fixes a verified WebKit census lifetime assumption without weakening animation-retention checks, and no actionable code defects were found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherControl UI regression tests and aging benchmarks use Playwright’s WebKit Inspector connection to turn native animation records into snapshots and detached-shimmer counts. flowchart LR
A[Regression test or benchmark] --> B[Shared animation census]
B --> C[WebKit Inspector]
C --> D[Live animation snapshots]
C --> E[Retired ID response]
E --> B
D --> F[Retention assertions or report]
Technical reviewBest possible solution: Keep the exact missing-ID exception in the existing census owner and retain the native retirement regression and unchanged retention assertions. Do we have a high-confidence way to reproduce the issue? Source confirms that an announced ID can become unresolvable before inspection; the PR reports native red-before/green-after coverage, but this review ran no tests and does not identify the specific animation behind the original CI failure. Is this the best way to solve the issue? The narrow exception repairs the Inspector lifetime assumption at the shared owner while preserving live-animation coverage; simplification review found no unnecessary production machinery or duplicate test group. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bbefb54141af. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +155. Total +155 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. 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 November 16, 2026, 11:12 PM ET / November 17, 2026, 04:12 UTC. |
|
Merged via squash.
|
What Problem This Solves
The WebKit loading-animation check can abort while inspecting an animation that has already been retired, leaving CI unable to report whether detached shimmers remain.
User Impact
There is no user-visible behavior change. The animation census continues past a retired Inspector ID while retaining its checks for live detached animations.
Why This Change Was Made
WebKit removes retired IDs before delivering its deferred destruction event. Handle only the exact missing-ID response from animation resolution; every other inspection failure still propagates. The all-animation consumer and existing zero-detached/running assertions remain unchanged.
Evidence
A native Linux WebKit regression fails with the old helper and passes with the fix. It retires one real announced animation through one native collection, verifies the actual missing-ID response, and still counts a retained detached running shimmer and a connected non-shimmer. The unchanged session-churn case also passes with the fix.
Proof used Node24.22.1, Playwright1.64.1 and WebKit27.2 revision2370 on Ubuntu24.04.4. The unchanged original case passed on the parent, so that observation does not establish inheritance of the CI failure. The deterministic regression proves the lifetime assumption; the specific animation lost in CI remains unidentified.
Fresh isolated Codex review found no actionable P0–P2 issues. The required changed-file check passed 21/23 stages. Its test-only overload-order lint finding was corrected, and targeted format, lint and UI E2E type checks passed. The remaining dead-export findings exactly match a retained scan of parent f1d7dae (5 production / 3 full-tree); those main regressions are attributed to #143882, #200088 and #199111, remain separately owned, and are not a future CI waiver. The final delta from review is only the mechanical overload ordering. Production LOC delta: 0; shared test helper +16, regression +139.