-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Puppeteer to version 23.1.1 #18590
Conversation
9cecc25
to
f9ccb9c
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/01125f9d6003662/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.193.163.58:8877/a7956a157009551/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/01125f9d6003662/output.txt Total script time: 30.20 mins
Image differences available at: http://54.241.84.105:8877/01125f9d6003662/reftest-analyzer.html#web=eq.log |
Do we actually want to test in Firefox Release though, since by using Nightly we might be able to catch regressions before they reach users!? /cc @calixteman |
I'm not sure it makes sense to test with release. |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/a7956a157009551/output.txt Total script time: 44.42 mins
Image differences available at: http://54.193.163.58:8877/a7956a157009551/reftest-analyzer.html#web=eq.log |
f9ccb9c
to
fa38aba
Compare
Thank you for the feedback! I have pushed a new version of the patch, rebased on the current |
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/a91dfe255b3af42/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 1 Live output at: http://54.193.163.58:8877/5992bb86c9d526b/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/a91dfe255b3af42/output.txt Total script time: 1.05 mins
Image differences available at: http://54.241.84.105:8877/a91dfe255b3af42/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/5992bb86c9d526b/output.txt Total script time: 2.60 mins
Image differences available at: http://54.193.163.58:8877/5992bb86c9d526b/reftest-analyzer.html#web=eq.log |
fa38aba
to
2c5612b
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/4d390aaa4ec9d87/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.193.163.58:8877/efffe7052193f7c/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/4d390aaa4ec9d87/output.txt Total script time: 0.78 mins
Image differences available at: http://54.241.84.105:8877/4d390aaa4ec9d87/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/efffe7052193f7c/output.txt Total script time: 2.24 mins
Image differences available at: http://54.193.163.58:8877/efffe7052193f7c/reftest-analyzer.html#web=eq.log |
2c5612b
to
fc5fa5e
Compare
/botio-linux unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/d9640a01116f79f/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/d9640a01116f79f/output.txt Total script time: 2.46 mins
|
I'm not sure why setting the version to |
fc5fa5e
to
a25c740
Compare
I found puppeteer/puppeteer@b2b93d8 which at least looks related (even though I can't reproduce the issue locally), so we'll wait until that's released and I'll update this PR to the newest version then. |
This major version contains three breaking changes that impact us: - The `product` option has been renamed to the more suitable `browser`. - The `page.screenshot()` API returns a `Uint8Array` instead of a `Buffer`, but since `pngjs` requires a `Buffer` object we need to do the conversion using `Buffer.from()` before passing data to `pngjs`. - The browser configuration should be set using a configuration file instead of environment variables. Note that as a bonus this allows us to remove the `cross-env` dependency since that was only used to set the Puppeteer environment variable equally for all operating systems. For more information about the changes between the old and new Puppeteer versions refer to https://github.com/puppeteer/puppeteer/releases.
a25c740
to
54eead7
Compare
I have finally been able to reproduce the bot issue seen above locally: it fails because the Puppeteer version on @calixteman Could you purge the Puppeteer cache directories ( |
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/a0a4587cf46a1a6/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/1fa333c2fc11bad/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/1fa333c2fc11bad/output.txt Total script time: 31.28 mins
Image differences available at: http://54.241.84.105:8877/1fa333c2fc11bad/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/a0a4587cf46a1a6/output.txt Total script time: 46.26 mins
Image differences available at: http://54.193.163.58:8877/a0a4587cf46a1a6/reftest-analyzer.html#web=eq.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
This major version contains three breaking changes that impact us:
product
option has been renamed to the more suitablebrowser
.page.screenshot()
API returns aUint8Array
instead of aBuffer
, but sincepngjs
requires aBuffer
object we need to do the conversion usingBuffer.from()
before passing data topngjs
.cross-env
dependency since that was only used to set the Puppeteer environment variable equally for all operating systems.For more information about the changes between the old and new Puppeteer versions refer to https://github.com/puppeteer/puppeteer/releases.