Skip to content

chore: build the driver and the generated files from a pinned microsoft/playwright commit - #3285

Merged
Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:roll_auto
Oct 22, 2026
Merged

Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:roll_auto

Conversation

@pavelfeldman

@pavelfeldman Pavel Feldman (pavelfeldman) commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

  • DRIVER_VERSION is a microsoft/playwright commit. python scripts/upstream.py checkout clones it into .upstream/ (gitignored); the wheel build builds the driver from it, and ./scripts/update_api.sh generates the API from it. Nothing is downloaded from npm.
  • CI, publish, the Docker test and the Azure Docker pipeline run the same steps: get Playwright, build, test. The Lint job also checks that the generated files are up to date.
  • CONTRIBUTING.md, ROLLING.md and the roll skill follow these steps; python scripts/upstream.py changes lists the upstream diff to port.

…ft/playwright commit

DRIVER_VERSION holds a microsoft/playwright commit. scripts/upstream.py clones
microsoft/playwright into .upstream/ (gitignored) at that commit; the wheel build
builds the driver from it, and scripts/update_api.sh generates the API, the
protocol files and the test registry from it. Nothing is downloaded from npm.

- CI, publish, the Docker test and the Azure Docker pipeline run the same steps:
  get Playwright, build, test. The Lint job also checks that the generated files
  are up to date.
- CONTRIBUTING.md, ROLLING.md and the playwright-roll skill follow these steps.
  `python scripts/upstream.py changes` lists the upstream diff to port, with the
  Python file for each change.
- The wheel build starts from an empty build/, so that a deleted module does not
  go into the wheel.
- ChannelOwner types its channel as Channel: mypy reports a subclass that does not
  declare its channel type, as Root did not.
- The Docker test runs the suites as CI does: the dot reporter, two workers, and
  the async suite also after a failed sync suite.
- Remove scripts/example_sync.py and scripts/example_async.py, left over from the
  conda recipe.
@pavelfeldman
Pavel Feldman (pavelfeldman) merged commit 4077a29 into microsoft:main Oct 22, 2026
25 of 35 checks passed
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.

2 participants