fix(desktop): improve auto-updater diagnostics and bump deps#1291
Conversation
- Bump Electron 40.0.0 → 40.2.1 (includes Squirrel.Mac fixes for stale staged update cleanup and zip extraction crash handling) - Bump electron-updater 6.7.3 → 6.8.2 - Disable differential downloads (incompatible with generic GitHub provider — old blockmap files don't exist at /releases/latest/) - Add detailed diagnostic logging: version info, feed URL, download progress with MB counts, and file URLs to help debug sporadic update failures
📝 WalkthroughWalkthroughThis PR upgrades the Electron version from 40.0.0 to 40.2.1 and enhances the auto-updater module with disabled differential downloads and enriched logging throughout the update lifecycle to provide better visibility into version and download details. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Summary
40.0.0→40.2.1— picks up Squirrel.Mac fixes for stale staged update cleanup (electron#49365) and zip extraction crash handling (electron#47271)electron-updater6.7.3→6.8.2/releases/latest/)Context
Some users sporadically get stuck on old versions and auto-update never kicks in. The enhanced logging will help diagnose whether the issue is in the check/download phase or the Squirrel/ShipIt install phase. The Electron bump includes upstream fixes for macOS update reliability.
Test plan
Summary by CodeRabbit
Chores
Bug Fixes