Skip to content

Pw batteries stock node - #5074

Merged
aaltat merged 10 commits into
MarketSquare:mainfrom
aaltat:pw_batteries_stock_node
Aug 1, 2026
Merged

Pw batteries stock node#5074
aaltat merged 10 commits into
MarketSquare:mainfrom
aaltat:pw_batteries_stock_node

Conversation

@aaltat

@aaltat aaltat commented Jul 27, 2026

Copy link
Copy Markdown
Member

aaltat added 4 commits July 31, 2026 13:44
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.
Refactor spawn_node_process to work without BrowserBatteries and stop setting the PLAYWRIGHT_BROWSERS_PATH to 0 in all cases
@aaltat
aaltat force-pushed the pw_batteries_stock_node branch from 058965b to d1a2edb Compare July 31, 2026 10:45
@aaltat
aaltat force-pushed the pw_batteries_stock_node branch from dfcd971 to e3d371c Compare July 31, 2026 16:21
@aaltat
aaltat force-pushed the pw_batteries_stock_node branch from f88fcdb to f7cd9d0 Compare July 31, 2026 17:13
@aaltat
aaltat merged commit aeffaf8 into MarketSquare:main Aug 1, 2026
54 of 56 checks passed
@aaltat
aaltat deleted the pw_batteries_stock_node branch August 1, 2026 14:24
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