Skip to content

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

Merged
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
dgozman:upstream-revision
Nov 9, 2026
Merged

Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
dgozman:upstream-revision

Conversation

@dgozman

Copy link
Copy Markdown
Collaborator

Summary

  • DriverVersion in src/Common/Version.props is a microsoft/playwright commit. ./build.sh --build-driver clones it into .upstream/ (gitignored) and builds the driver from it; ./build.sh --generate generates the API and the transport channels from it. Nothing is downloaded from npm.
  • ./build.sh --roll <ref> takes a branch, a tag or a commit, and ./build.sh --changes lists the upstream commits to port.
  • CI and the Azure pipelines build the driver from .upstream/. The code style job also checks that the generated files are up to date.
  • The harness tests launch the browser server from the built driver, so @playwright/test no longer follows the driver version.
  • The starting commit is 5ccfbd85, the tip of release-1.65.

Same approach as microsoft/playwright-python#3285.

…/playwright commit

DriverVersion in src/Common/Version.props holds a microsoft/playwright commit.
./build.sh --build-driver clones microsoft/playwright into .upstream/ (gitignored),
checks out that commit and builds the driver from it. ./build.sh --generate
generates the API and the transport channels from it. Nothing is downloaded
from npm.

- ./build.sh --roll <ref> takes a branch, a tag or a commit, and
  ./build.sh --changes lists the upstream commits to port.
- CI and the Azure pipelines build the driver from .upstream/. The code style
  job also checks that the generated files are up to date.
- The harness tests launch the browser server from the built driver, so
  @playwright/test no longer follows the driver version.
- CONTRIBUTING.md, ROLLING.md, CLAUDE.md and the roll, triage and release
  skills follow these steps.
- The starting commit is 5ccfbd85, the tip of release-1.65.
@dgozman
Dmitry Gozman (dgozman) merged commit daa67bd into microsoft:main Nov 9, 2026
20 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