Skip to content
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

[Reporting] Bump puppeteer 5.4.1 + roll chromium rev #85066

Merged
merged 3 commits into from
Dec 4, 2020
Merged

[Reporting] Bump puppeteer 5.4.1 + roll chromium rev #85066

merged 3 commits into from
Dec 4, 2020

Conversation

joelgriffith
Copy link
Contributor

Removes our small "type-wrapper" in favor of vanilla puppeteer and bumps chromium. I've also gone ahead and move the page.waitFor function to their lower-level calls since it's now deprecated.

I've personally tested on the big 3!

QA

Please ensure that we test on all the relevant OSes. There's no behavioral changes here, simply a new version of Chrome on all platforms (including ARM).

@joelgriffith joelgriffith added (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead release_note:skip Skip the PR/issue when compiling release notes Team:AppServices v7.11.0 v8.0.0 labels Dec 4, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@@ -19,6 +19,9 @@
"number": 8467,
"sha": "6cb7fec4e154faa0a4a3fee4b33dfef91b9870d9"
},
"config": {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed so puppeteer doesn't auto-download it's own copy of chromium (we take care of that)

@@ -158,7 +158,7 @@ export class HeadlessChromiumDriver {
): Promise<ElementHandle<Element>> {
const { timeout } = opts;
logger.debug(`waitForSelector ${selector}`);
const resp = await this.page.waitFor(selector, { timeout }); // override default 30000ms
const resp = await this.page.waitForSelector(selector, { timeout }); // override default 30000ms
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

waitFor is now deprecated in favor of the downstream calls it makes (it's a simple higher-order fn)

archiveChecksum: '020303e829745fd332ae9b39442ce570',
binaryChecksum: '5cdec11d45a0eddf782bed9b9f10319f',
binaryRelativePath: 'headless_shell-darwin/headless_shell',
archiveFilename: 'chromium-ef768c9-darwin_x64.zip',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The architecture of the platform is now added to the filename since we've introduced arm64, and this is the first full update since we've done so

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 1.7MB 1.7MB +23.0B

Distributable file count

id before after diff
default 46838 47649 +811

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
upgradeAssistant 60.4KB 60.5KB +23.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants