-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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: mac differential updater #8095
fix: mac differential updater #8095
Conversation
# Conflicts: # test/src/updater/differentialUpdateTest.ts
…t, in which case differential download cannot proceed, so we avoid a confusing error message with this check.
🦋 Changeset detectedLatest commit: f52a95b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for car-park-attendant-cleat-11576 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@mmaietta Please help review again. |
LGTM, nice work! |
FYI: The differential download on mac is quite slow compared to windows! |
Slower than the full download on mac? They're using the same differential implementation under-the-hood. My initial guess is that the diff for mac zips are larger than windows? |
Currently, the incremental update on Mac has a flaw: the first update does not support incremental updates. It requires saving the update.zip locally first, and only supports incremental updates during the second update. |
Much slower, only have small updates of 8GB or 13 GB...but compared to my full download of 250 GB it's like 5 times slower. My initial guess is that the diff for mac zips are larger than windows? => this is exactly what I thought... It requires saving the update.zip locally first, and only supports incremental updates during the second update. => discovered this already! But that's not a big deal for me. |
Is your app size 250GB? It's very large. Incremental updates require time to calculate. Your package is quite large, which likely took a lot of time to determine which parts were incremental. |
Fix copyfilesync error.
We should place copyFileSync inside the done function, ensuring that it is executed only after the file has been successfully downloaded and definitely exists within the corresponding folder