Skip to content

fix: handle retired animation IDs in WebKit checks - #200399

Merged
steipete merged 1 commit into
mainfrom
fix/webkit-animation-census-retirement-2518
Nov 17, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/webkit-animation-census-retirement-2518

Conversation

@steipete

Copy link
Copy Markdown
Contributor

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.

@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Nov 17, 2026
@steipete
steipete marked this pull request as ready for review November 17, 2026 03:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T03:59:08.900211Z a7e32da Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

The WebKit animation census skips retired Inspector IDs while continuing to inspect live animations.

Example: One announced animation retires while a detached running shimmer remains.

  • Before: The missing animation ID aborts the census.
  • After: The census skips the retired ID and reports one detached, running shimmer.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, correct-looking diagnostic repair supported by native-browser regression coverage and passing checks, without independently inspected execution traces.
Proof confidence 🦐 gold shrimp (3/6) This changes test and benchmark diagnostics rather than shipped user behavior; native WebKit regression coverage is appropriate, and the unrelated UI screenshots are not counted as proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: WebKit checks can abort before reporting whether detached animations remain.
Reason: Reliable native animation diagnostics protect prior performance repairs, and the feature-history owner authored this narrowly scoped correction.

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
Reviewed head: a7e32da3fc47674a985084ba3764fab95cd0a4de

Before merge

None.

Findings

None.

Agent review details

How this fits together

Control 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]
Loading

Technical review

Best 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

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit b9d3fb4 adds ui/src/test-helpers/control-ui-webkit-animations.ts:19 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b9d3fb4ca1e8; files: ui/src/test-helpers/control-ui-webkit-animations.ts)

PR surface

Tests +155. Total +155 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 161 6 +155
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 161 6 +155

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Repairs a bounded failure in WebKit regression and benchmark diagnostics without changing runtime product behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Repairs a bounded failure in WebKit regression and benchmark diagnostics without changing runtime product behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 16, 2026, 11:12 PM ET / November 17, 2026, 04:12 UTC.

@steipete
steipete merged commit 282d5ef into main Nov 17, 2026
152 of 154 checks passed
@steipete
steipete deleted the fix/webkit-animation-census-retirement-2518 branch November 17, 2026 04:19
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant