Feat/skip update version#568
Conversation
updateAppVersion was stamping latest* fields to the picked tag, so an explicit older-version install (Details → pick older release → Install) made installedVersionCode == latestVersionCode. The checkForUpdates versionCode-parity canary then forced isUpdateAvailable = false forever and the apps row claimed 'latest installed'. Recompute the flag against the existing upstream snapshot instead and leave latest* untouched so the next periodic check resolves the true latest from the feed.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughThe PR updates app version installation logic to preserve the "update pending" state when users install older releases. It adds database schema v16, refactors version state preservation in ChangesApp Version Update State Preservation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Summary by CodeRabbit
Bug Fixes
Chores