-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Desktop deploys are flaky #20283
Comments
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Going to start by creating a GitHub Support ticket. |
GitHub Support Ticket created here |
Created a PR in electron-builder, but was struggling to figure out how to build that monorepo correctly in order to use patch-package. Going to pivot to trying the macos-13 runner |
Currently have two PRs ready for review to try and fix this: |
macos-13 beta runners weren't available, going to revert that PR for now. |
Coming from here, let's try running |
@roryabraham I'm not too familiar with While searching for alternative solutions, I came across a related thread here. It is quite old but wanted to mention it, as it might be helpful. |
It hasn't been tested yet |
If we are facing this error due to facing racing conditions (something is still using the disk while trying to eject), the retry logic may be enough to solve the problem. A follow-up task would be investigate our action if there is something that could be causing this blocking. |
@roryabraham Could you show another build which this error happened? You mentioned this one but I'm not finding anything wrong there. |
@fabioh8010 you have to look at previous runs on that build: It is very flaky and only worked on the 5th retry |
This flakiness seems to have self-resolved. I think it was a problem with some GitHub Runner(s). Maybe they just restarted them or something, since that's what a lot of the advice online for similar issues said (restart your computer) |
My upstream PR in |
Subscribed to the release issue here, putting this on HOLD. |
Taking this off HOLD because a new version of electron-builder including my upstream change has been published: https://github.com/electron-userland/electron-builder/releases/tag/v24.5.0 Also, Snyk opened #20911, so I should work on upgrading Electron too while I'm at it |
@jliexpensify @roryabraham this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
This issue is no longer occurring / is a non-urgent bug. We should upgrade electron + electron-builder, but it's doesn't need to be a daily |
Updated electron-builder in #21256 |
Hi @roryabraham - changed this to Monthly, LMK if it needs to be a Weekly. Also, can I unassign myself from this issue? I assume no Upworks payments are needed? |
Our last update seems to have resolved this, closing it out |
HOLDing for new release of electron-builder, which can be monitored at electron-userland/electron-builder#7592
Problem
We've seen a lot of flakiness with desktop deploys lately. Here's an example. They have all been failing in the same way:
Solution
TBD. Some ideas are:
hdiutil detach
. We just need to figure out which call is failing for us and verify it's not already wrapped in 5 retries.The text was updated successfully, but these errors were encountered: