-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Chromium reports via puppeteer #21788
Conversation
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
to try to repro a Chromium bug.
💚 Build Succeeded |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
Moved the main scripting logic into Python, as it's a pre-req for building Chromium, and it's more suited to system scripting of this nature. Added scripts to initialize the Chromium build environments.
💔 Build Failed |
💔 Build Failed |
attempt to get around a runtime error.
💚 Build Succeeded |
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.
omg this PR is awesome!
Code looks good, let me pull down and play around with some reports before LGTM.
Build instructions are great, and I followed for linux, and am in the process of building. Not going to go through all of them due to time constraints. :)
@@ -135,6 +136,7 @@ | |||
"polished": "^1.9.2", | |||
"prop-types": "^15.6.0", | |||
"puid": "1.0.5", | |||
"puppeteer-core": "^1.7.0", |
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.
I think now we can drop chrome-remote-interface
?
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.
Hm. Yes. You're right. I thought I'd done it. This is why we have code-reviews, eh?
💔 Build Failed |
retest |
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.
🎉 🏅 🍾 🔥 🎈 SO EXCITED about this pr!!!!!
LGTM!!!!!!
💔 Build Failed |
💚 Build Succeeded |
Kibana installs headless browsers at runtime. We can't control the permissions of these files at build time, so we should not make assertions about those permissions. This patch excludes new files that were added by elastic/kibana#21788. Fixes #99
Kibana installs headless browsers at runtime. We can't control the permissions of these files at build time, so we should not make assertions about those permissions. This patch excludes new files that were added by elastic/kibana#21788. Fixes #99
Kibana installs headless browsers at run time. We can't control the permissions of these files at build time, so we should not make assertions about those permissions. This patch excludes new files that were added by elastic/kibana#21788. Fixes #99
Kibana installs headless browsers at run time. We can't control the permissions of these files at build time, so we should not make assertions about those permissions. This patch excludes new files that were added by elastic/kibana#21788. Fixes #99
Kibana installs headless browsers at run time. We can't control the permissions of these files at build time, so we should not make assertions about those permissions. This patch excludes new files that were added by elastic/kibana#21788. Fixes #99
|
||
for (let pageNum = 0; pageNum <= expectedPages; ++pageNum) { |
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.
Just FYI, I think we need to bring back the retry loop. Just hit the "Failed to convert page to image" error in a PR here: #24109 (comment)
This changes our Chromium reports to use an upgraded, custom build of Chromium. It changes the driver to use Puppeteer.
I've tested it repeatedly in CI using this branch: #22383, which strips out all tests but the Chromium ones, so I could iterate CI faster.
Testing
xpack.reporting.capture.browser.type: chromium
)