-
Notifications
You must be signed in to change notification settings - Fork 3.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
fix: electron crashing prematurely when window closes prematurely while browser launch process is ongoing #27167
Conversation
e0ef3b6
to
22f8970
Compare
Passing run #48408 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
@@ -12,6 +12,8 @@ _Released 07/05/2023 (PENDING)_ | |||
- Fixed issues where commands would fail with the error `must only be invoked from the spec file or support file`. Fixes [#27149](/~https://github.com/cypress-io/cypress/issues/27149). | |||
- Fixed an issue where chrome was not recovering from browser crashes properly. Fixes [#24650](/~https://github.com/cypress-io/cypress/issues/24650). | |||
- Fixed a race condition that was causing a GraphQL error to appear on the [Debug page](https://docs.cypress.io/guides/cloud/runs#Debug) when viewing a running Cypress Cloud build. Fixed in [#27134](/~https://github.com/cypress-io/cypress/pull/27134). | |||
- Fixed a race condition in electron where the test window exiting prematurely during the browser launch process was causing the whole test run to fail. Addressed in [#27167](/~https://github.com/cypress-io/cypress/pull/27167). | |||
|
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.
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.
Nice work. Thanks for getting this one figured out!
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
Fixes an issue where electron is crashing the server process when the window is closed mid launch process, which seems to always happen when video is
false
. My guess is the additional process time with video set totrue
gives the window time to close after the launch process occurs, which is a non issue. This is only exposed when video isfalse
, which is very common on therelease/13.0.0
branch and is causing severe flakeSteps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?