Repository navigation
fix(linux): remove legacy AppImage orca wrapper during migration - #17685
Merged
nwparker merged 1 commit intoAug 31, 2026
Conversation
Contributor
|
Greptile SummaryThe PR closes a Linux CLI migration gap by recognizing and safely removing the legacy
Confidence Score: 5/5The PR appears safe to merge, with ownership checks and stable quarantine validation preserving foreign commands. The cleanup only proceeds for recognized Orca-managed targets, and regular wrappers are content-hashed and revalidated after quarantine before deletion.
|
| Filename | Overview |
|---|---|
| src/main/cli/cli-command-installation.ts | Replaces bespoke legacy symlink inspection with stable shared inspection and extends ownership detection to exact wrappers targeting the current AppImage. |
| src/main/cli/cli-installer.test.ts | Verifies that migration removes the current AppImage wrapper while preserving an otherwise valid wrapper targeting a foreign AppImage. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Inspect ~/.local/bin/orca] --> B{Stable entry exists?}
B -- No --> Z[Leave unchanged]
B -- Yes --> C{Recognized Orca target?}
C -- No --> Z
C -- Yes --> D{Names managed launcher or current AppImage?}
D -- No --> Z
D -- Yes --> E[Quarantine entry]
E --> F{Snapshot, target, and hash still match?}
F -- No --> G[Restore quarantined entry]
F -- Yes --> H[Discard legacy command]
Reviews (1): Last reviewed commit: "fix(cli): clean up legacy AppImage wrapp..." | Re-trigger Greptile
nwparker
merged commit Aug 31, 2026
51add7e
into
nwparker/linux-serve-flag-validation
28 of 29 checks passed
9 tasks done
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.

Summary
~/.local/bin/orcaAppImage wrapper when it names the current packaged AppImageThis is stacked on #17683 and closes the migration gap left by the Linux command rename. It is related to the historical GNOME Orca collision issue #7904.
Validation
pnpm test src/main/cli/cli-installer.test.ts src/main/cli/cli-command-installation-races.test.ts src/main/cli/legacy-appimage-cli-wrapper.test.ts src/main/cli/appimage-extracted-root.test.ts src/main/cli/appimage-extraction-pruning.test.ts src/main/cli/cli-installer-appimage-ownership.test.ts(6 files, 51 passed)pnpm tcpnpm run check:code-quality:changedpnpm exec oxfmt --check src/main/cli/cli-command-installation.ts src/main/cli/cli-installer.test.tsgit diff --check