-
Notifications
You must be signed in to change notification settings - Fork 3k
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 build is not updated #7987
Comments
Triggered auto assignment to @flodnv ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @michaelhaxhiu ( |
@kidroca can you take this given you've already done part of the investigation? |
Ok, can we start with someone answering my questions here : #7954 (comment)
Is the guide here meant for external contributors? I'll investigate and report back |
@neil-marcellini @roryabraham can you help out @kidroca here?
Yes, here: https://new.expensify.com/NewExpensify.dmg and here https://staging.new.expensify.com/NewExpensify.dmg AFAIK |
This comment was marked as outdated.
This comment was marked as outdated.
What is making it available there though? Right now I downloaded What would put a new version at that route? |
This comment was marked as outdated.
This comment was marked as outdated.
Oh wow, it seems to be caused by removing the zip file indeed: electron-userland/electron-builder#2199 (comment) |
Submitted a PR that should fix auto-updates: #7989 I'm not sure whether it would fix the |
Self-assigning and trying to get a fix ASAP. |
Looking at the deploy logs from #7989, I'm seeing some suspicious log lines:
Going to investigate whether the package version being tacked onto the file is our problem. Also @kidroca I don't recall why we added |
Older successful deploys had this:
Noticing that there was:
|
I'm hopeful that I've figured this out ... just testing with local builds which takes a lil while |
So that we can support new M1 macs without them running App through Rosetta |
I was wondering if a single |
Only if we make a custom one - the ones from electron-builder are We decided to not to make custom installer but make downloading download the correct .dmg for the user #6927 (comment) |
Unfortunately I don't think this is resolved yet. #7996 changed these suspicious logs: https://github.com/Expensify/App/runs/5416585778?check_suite_focus=true But I downloaded the staging desktop app and it's still on version |
Interesting how @mallenexpensify updated to v1.1.41-2 here: #7579 (comment)? |
Le whoops ... staging builds are deploying the app straight to the production bucket 😬 |
I downloaded the app from https://new.expensify.com/NewExpensify.dmg and it was |
Fortunately this is only affecting desktop and not web |
Sorry, seems this has to have export so that it works in the config as well Line 4 in 40431f6
export ELECTRON_ENV=${1:-development} we use it for the |
Yep, that's probably it. I'll work on a PR |
Hey BTW these work as well
We can use something like artifactName: 'NewExpensify-{arch}.dmg', to have platform specific .dmgs |
That seems like a good idea. I'm going to create a follow-up issue to address the multiple architectures. |
https://www.electron.build/file-patterns#file-macros
|
Confirmed this is fixed and desktop staging builds an un-broken. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
1.1.41-0 build should be either autoupdated or user should get notification
Actual Result:
Build is not updated. Desktop staging app is still 1.1.40-2
Context
This is potentially because of #7744. It might also just be because of #7765, which increase the interval at which NewDot check for updates from 1 hour to 8 hours.
The Desktop app output is no longer in dist but in desktop-build
Otherwise we're now build for 3 target x86, arm64 and universal apps, could that be a problem? We used to build only x86 before.
More info here #7954 (comment)
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.40-2
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: