Skip to content

Pw batteries stock node - #5074

Open
aaltat wants to merge 3 commits into
MarketSquare:mainfrom
aaltat:pw_batteries_stock_node
Open

Pw batteries stock node#5074
aaltat wants to merge 3 commits into
MarketSquare:mainfrom
aaltat:pw_batteries_stock_node

Conversation

@aaltat

@aaltat aaltat commented Jul 27, 2026

Copy link
Copy Markdown
Member

Fixes #5073 and #5078

@aaltat
aaltat force-pushed the pw_batteries_stock_node branch 14 times, most recently from 6d4fd68 to 5340ebe Compare July 29, 2026 20:18
@aaltat
aaltat force-pushed the pw_batteries_stock_node branch from 5340ebe to b3fb38d Compare July 29, 2026 21:41
Assemble the BrowserBatteries payload the way Playwright builds its own
Python, Java and .NET drivers: the official NodeJS binary from nodejs.org,
checksum verified against SHASUMS256.txt, next to the wrapper sources and
their production dependencies.

Playwright is written and tested against ordinary NodeJS. Packing it into a
single file with @yao-pkg/pkg meant inheriting a NodeJS built without the
inspector, a snapshot filesystem, and static require analysis that cannot
see paths Playwright computes at run time. Each Playwright release risked
landing outside that subset, which is what 1.62.0 did twice over. Running
the real thing removes the whole category, so the inspector shim and the
fork bootstrap it needed are deleted here rather than carried forward.

Also drops @yao-pkg/pkg and its now dead config, lets
ROBOT_FRAMEWORK_BROWSER_NODE_DEBUG_OPTIONS work under BrowserBatteries,
and builds the BrowserBatteries wheel on every release target in
on-push.yml, reporting each wheel's size so the packaging trade can be
compared against the PyPI file size limit.
@aaltat
aaltat force-pushed the pw_batteries_stock_node branch from b3fb38d to 058965b Compare July 30, 2026 10:27
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.

Update Playwright 1.62.0

1 participant