Skip to content

feat: use chromium instead of electron #110

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

Merged
merged 1 commit into from
Feb 8, 2021
Merged

feat: use chromium instead of electron #110

merged 1 commit into from
Feb 8, 2021

Conversation

erezrokah
Copy link
Contributor

Hello 👋

Fixes #42
Fixes #58

This is my first PR to the repo so please let me know if I'm doing anything wrong.

An attempt to fix various crashes related to running Electron in a container.
We've been using a similar approach in our Lighthouse plugin and it has been proven to be very stable.

@CLAassistant
Copy link

CLAassistant commented Feb 8, 2021

CLA assistant check
All committers have signed the CLA.

@erezrokah
Copy link
Contributor Author

Looks like tests are failing since they use env variables not available to PRs created from forks.

@@ -22,7 +22,8 @@
"dependencies": {
"debug": "4.1.1",
"got": "10.7.0",
"local-web-server": "^4.2.1"
"local-web-server": "^4.2.1",
"puppeteer": "^7.0.1"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also probably not the best approach to get a pinned version of a Chromium based browser

@bahmutov bahmutov changed the base branch from master to download-chromium February 8, 2021 22:22
@bahmutov
Copy link
Contributor

bahmutov commented Feb 8, 2021

Let me merge into local branch "download-chromium" to test this locally before releasing.

@bahmutov bahmutov marked this pull request as ready for review February 8, 2021 22:23
@bahmutov bahmutov merged commit f305d70 into cypress-io:download-chromium Feb 8, 2021
bahmutov added a commit that referenced this pull request Feb 8, 2021
@erezrokah erezrokah deleted the feat/use_chrome branch February 9, 2021 09:43
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.

Out of memory Chromium crash Chromium renderer process crashed
3 participants