Repository navigation
fix(ci): chat history E2E cannot start without WebKit - #190386
Conversation
Register the chat history reading suite with the existing shard-scoped browser dependency discovery so its unconditional WebKit setup receives the matching Playwright browser. Replace a duplicate composer entry and extend the executable workflow fixture to cover installation only on the owning shard.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
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. |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR registers the chat history E2E suite for shard-scoped WebKit installation and extends the existing workflow regression fixture. Example: The scheduled checks-ui-e2e (3/7) shard selects chat-history-reading-stability.e2e.test.ts.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR provides a focused repair for a confirmed CI provisioning omission still present on current main, with no actionable code findings. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherCI discovers the test files assigned to each Control UI E2E shard, derives browser requirements, installs selected browsers, and runs that shard. flowchart LR
A[Selected E2E files] --> B[Vitest shard discovery]
B --> C[Browser requirements]
C --> D[Playwright WebKit installation]
D --> E[Chat history browser tests]
Technical reviewBest possible solution: Retain this minimal registration repair in the existing shard-discovery owner and land it through the normal CI gates. Do we have a high-confidence way to reproduce the issue? The unconditional WebKit launch, missing discovery entry, and scheduled job's skipped installation establish the failure path; no target code was executed during this read-only review. Is this the best way to solve the issue? The patch is the smallest complete repair: preserve shard-scoped installation, register the missing suite, and extend the existing executable fixture without adding machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bf84c80a1781. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +1, Config 0, Other +2. Total +3 across 3 files. Added test files: 0. View PR surface stats
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 1, 2026, 9:12 AM ET / 14:12 UTC. |
|
Merged via squash auto-merge.
|
Register the chat history reading suite with the existing shard-scoped browser dependency discovery so its unconditional WebKit setup receives the matching Playwright browser. Replace a duplicate composer entry and extend the executable workflow fixture to cover installation only on the owning shard.
What Problem This Solves
Fixes the scheduled Control UI E2E shard failing before chat history tests run because its Playwright WebKit browser is missing.
User Impact
CI can execute the existing Chromium and WebKit chat history reading checks. No application behavior changes.
Why This Change Was Made
The shard-scoped browser discovery list omitted
chat-history-reading-stability.e2e.test.tsand repeated the composer suite. Replace that duplicate with the missing suite so the existing WebKit install step runs only on its owning shard.Evidence
Chat history reading stabilitysetup could not findwebkit-2370/pw_run.sh.pnpm --dir ui exec playwright install --with-deps webkitsucceeds locally. The unchangedchat-history-reading-stability.e2e.test.tspasses all three Chromium/WebKit cases against a fresh production bundle (37.50 seconds in Vitest).87ba257f66d04d65772ce1e160c4cc9e872a21cd, P0–P2: no actionable findings. The local ClawSweeper runner is not built; a hosted review is requested as the maintainer fallback.Linux browser provisioning is covered by the workflow fixture and the unchanged Playwright install command; the local browser replay ran on macOS.