Skip to content

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 zDeprecated 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)

"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)

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

release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v8.0.0 zDeprecated Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants