Skip to content

devops: build the driver from source at a pinned commit - #2053

Merged
Yury Semikhatsky (yury-s) merged 3 commits into
microsoft:mainfrom
yury-s:build-driver-from-source
Nov 18, 2026
Merged

Yury Semikhatsky (yury-s) merged 3 commits into
microsoft:mainfrom
yury-s:build-driver-from-source

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • scripts/DRIVER_VERSION holds a microsoft/playwright commit instead of a published playwright-core version, as in playwright-python and playwright-dotnet. The first pin is a1f35e1955976e84411f9c10358228a80b763ebe, the commit of v1.65.0.
  • scripts/build_driver.sh (was download_driver.sh) clones microsoft/playwright into a gitignored .upstream/, checks out the commit and builds the playwright-core package from it. The result is byte-identical to the published playwright-core@1.65.0.
  • scripts/roll_driver.sh [main|release-1.<minor>|<commit>] rolls to the tip of an upstream branch or to an exact commit, and no longer edits examples/pom.xml. scripts/generate_api.sh generates from .upstream/.
  • CI installs Node.js to build the driver; docs and the roll and release skills describe the new flow.

scripts/DRIVER_VERSION now holds a microsoft/playwright commit instead of a
published playwright-core version. scripts/build_driver.sh (was
download_driver.sh) clones microsoft/playwright into .upstream/, checks the
commit out and builds the playwright-core package from it.

The first pin is a1f35e1955976e84411f9c10358228a80b763ebe, the commit of
v1.65.0, the driver version before this change.
The roll no longer refers to published driver versions or tags.
scripts/roll_driver.sh takes main, release-1.<minor> or a full commit hash,
and no longer edits examples/pom.xml.
@yury-s
Yury Semikhatsky (yury-s) merged commit 8d44b84 into microsoft:main Nov 18, 2026
20 of 21 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