Repository navigation
fix(client): remove update leftovers on uninstall and after a verified boot - #2343
Merged
Merged
Conversation
danylo-babenko-flamingo
marked this pull request as ready for review
September 23, 2026 12:12
denys-gif
reviewed
Sep 23, 2026
denys-gif
reviewed
Sep 23, 2026
denys-gif
reviewed
Sep 23, 2026
denys-gif
reviewed
Sep 23, 2026
…eless temp sweep on uninstall
…x/uninstall-leftovers
Contributor
🦩 Flamingo Code Review1 finding(s) — 0 action required · 1 recommended · 0 informational Mode: advisory · 1 defect(s) outside any rule Inline comments: 1 new Need another pass? Commits pushed after this review are not reviewed automatically.
Prefer typing? Comment React 👍/👎 on inline comments to teach the reviewer. Started 2026-09-23 16:04 UTC · updated 2026-09-23 16:05 UTC · workflow run |
danylo-babenko-flamingo
enabled auto-merge (squash)
September 23, 2026 17:39
denys-gif
approved these changes
Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
openframe-client uninstall removes the binary but not the copies the updater leaves next to it: .lkg (last-known-good reserve), .prev (pre-swap copy, never deleted on success), .old, and a legacy .bak. On one machine that was three stale binaries, 62 MB. Because bin\ is not empty afterwards, the Windows cleanup keeps C:\Program Files\OpenFrame. The updater's temp scripts and staging directories are also left, since they are only swept on the next client start, which never comes after an uninstall. Package-manager uninstalls (Homebrew, Chocolatey, winget) inherit the same leftovers.
Fix