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
Failed IPC communication with playwright
smoke tests from preload script
#146785
Comments
Yes this is from the new smoke tests with playwright, they are marked to not fail the build though. |
playwright
smoke tests often timeout on window
This is our master issue for tracking the Windows issues for using /cc @pavelfeldman |
More logging reveals that the window awaits a IPC reply from the main process to continue loading the workbench but the response is never reaching the window. Here is the flow:
Unclear to me what could trigger this in Electron, maybe it is related to the extra inspect/debugging related properties playwright passes on:
|
Mitigated by doing a window reload after timeout of 10 seconds. This change only impacts smoke tests, I am hesitant to change something in our preload or bootstrap files until real users report this. Still would be interesting to figure out if this is a Electron regression. |
playwright
smoke tests often timeout on windowplaywright
smoke tests from preload script
@deepak1556 while I can mitigate the hang in the renderer by doing a window reload, I cannot mitigate it for the shared process where this is also happening and is most likely the cause of #146800 Would it be possible to do an internal build where electron/electron#33323 is reverted to see if that is the cause? |
playwright
smoke tests from preload scriptplaywright
smoke tests from preload script
@bpasero turns out the above change and electron/electron@3001b69 was reverted internally by Teams since it caused a regression on their end for their custom ipc implementations and never made it into our product builds. This could also explain why it was only seen with CI. The changes have now been added back in and I am currently creating newer builds. Pretty sure this is very likely related to the root issue sharing the cause |
Thanks ❤️ , I forgot that we use different builds in our CI for smoke tests, so that is a good thing to keep in mind going forward. Curious what kind of issue Teams folks saw with IPC, maybe we can connect the dots with our issue. |
Optimistically closing, will reopen when this happens again, I have removed all our workarounds. |
https://dev.azure.com/monacotools/Monaco/_build/results?buildId=165034&view=logs&j=672276a2-8d3a-5fab-615d-090c51352f92&t=9302e8c4-de85-5274-34fa-935ce79d4e8d
The text was updated successfully, but these errors were encountered: