Skip to content

Pin Playwright to the browser build that passes CI - #3360

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-39475232229
Oct 20, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-39475232229

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The main CI run failed in 22 browser cases after #3355 moved Python Playwright from 1.63 to 1.64. The new browser changed scrolling behavior across reading-place, pane, margin, and touch tests; its trace format also changed from 9 to 10, which the bundled importer rejects. With the current source and Playwright 1.63, every reported failed case passes. This PR pins both Python and Node Playwright to 1.63, keeping the two eval clients on the same Chrome for Testing build while preserving #3355's graceful browser shutdown.

Verification: all 22 reported failed cases pass locally with the new pins, including the trace importer and feature gallery; the short-workspace reading cue case passes; pnpm run check and pre-commit pass. The focused figure resize case and trace import both failed with 1.64 on the same source, then passed with 1.63. Restoring 1.64 will require reconciling its browser behavior and trace format.

@leaf-agent
leaf-agent merged commit 8df338a into main Oct 20, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39475232229 branch October 20, 2026 20:24
leaf-agent added a commit that referenced this pull request Oct 22, 2026
…#3610)

Restore the locked Python Playwright version to 1.63 while keeping the
Starlette and turbohtml updates from #3588. That dependency bump
reintroduced Chromium 156 into Leaf's browser suite after #3360 had
restored Chromium 153. The [main
run](https://github.com/max-sixty/leaf/actions/runs/39829391472) then
failed across reading position, pane scrolling, touch capture, and other
browser journeys.

A bisect of the focused figure resize failure identified #3588 as the
first failing commit. On current `main`, that case fails with Playwright
1.64 and passes with 1.63. With this lock change, 14 focused cases
covering the reported width, pane, annotation, and capture failures
pass; sign-off and touch setup cases also pass. The floating panel's
redundant `disabled` and `tabindex` writes still reproduce under 1.63
and need a separate code repair.

This returns the browser suite to the version already used by Node's
pinned Playwright. Updating Python Playwright again needs a deliberate
Chromium 156 compatibility pass; this PR leaves that decision open.

Refs #3611 for the maintainer's decision on resuming the upgrade.

Co-authored-by: leaf-agent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant