cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.66k stars 3.16k forks source link

Electron Renderer process just crashed when run 200 test in github actions #29829

Open vlad-savchuk opened 2 months ago

vlad-savchuk commented 2 months ago

Current behavior

After testrun in github actions it shows error. In my config file I have:

numTestsKeptInMemory: 0,
experimentalMemoryManagement: true.

Also in yml file for github actions workflow : CYPRESS_NO_COMMAND_LOG=1

Desired behavior

Before it worked as expected on cypress version 13.11.0

Test code to reproduce

We detected that the Electron Renderer process just crashed. This can happen for a number of different reasons. If you're running lots of tests on a memory intense application.

Try increasing the CPU/memory on the machine you're running on. Try enabling experimentalMemoryManagement in your config file. Try lowering numTestsKeptInMemory in your config file during 'cypress open'.

Cypress Version

13.13.0

Node version

18.17.1

Operating System

macOs 14.1

Debug Logs

No response

Other

I have this issue only when tests running in github, localy everything works as expected.

vlad-savchuk commented 2 months ago
Screenshot 2024-07-10 at 9 50 27 AM
MikeMcC399 commented 1 month ago

@vlad-savchuk

Are you using a GitHub-hosted runner? If yes, which one?

See Supported runners and hardware resources for list of choices.

You may possibly need to use a GitHub Larger Runner.

If you are using a self-hosted runner for GitHub, you may be able to increase the resources available.