You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop updater always prompts to install latest version even when already up-to-date #37977
The desktop app always shows an "update available" notification on every launch, even when already running the latest version. This happens regardless of whether the update was applied via:
Installing the .deb package manually
Clicking "Install and Restart" from the in-app update notification
After updating, the notification immediately reappears on the next launch.
After installing an update (or when already on the latest version), the updater should report "You're up to date" and not show the notification again.
Actual Behavior
The updater perpetually reports an update is available, creating an infinite update loop.
Technical Analysis
I reviewed the updater code and identified a likely issue in packages/desktop/src/main/updater-controller.ts.
electron-updater (v6.8.9) appears to report isUpdateAvailable: true even when the installed version already matches the latest release. Possible causes:
Version string mismatch between what the .deb package reports via app.getVersion() and what the GitHub Releases API returns for the latest channel
Channel configuration issue - autoUpdater.channel = "latest" combined with allowDowngrade = true may cause unexpected comparison behavior
electron-updater caching - update metadata may not be properly invalidated after installing an update
The start() method in updater-controller.ts does clear persistence if ready.version === currentVersion, but the issue occurs before that — checkForUpdates() already returns isUpdateAvailable: true
The auto-check interval is set to 10 minutes (index.ts), which means the notification can reappear even mid-session
This may also affect .rpm and .AppImage packages on Linux, and potentially Windows/macOS builds as well
Plugins
Opencode Desktop
OpenCode version
1.18.4
Steps to reproduce
Launch OpenCode Desktop
Observe the "update available" notification/dialog
Click "Install and Restart" OR install the latest .deb package and relaunch
The same "update available" notification appears again
The root cause may differ (RPM vs .deb, Fedora vs Ubuntu), but the observed behavior is identical. It may be worth checking whether the fix or workaround from that issue applies here as well.
Activity
github-actions commentedon Jul 20, 2026
This issue might be a duplicate of an existing issue. Please check:
The root cause may differ (RPM vs .deb, Fedora vs Ubuntu), but the observed behavior is identical. It may be worth checking whether the fix or workaround from that issue applies here as well.
github-actions commentedon Sep 19, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.