orca icon indicating copy to clipboard operation
orca copied to clipboard

[Bug]: app freezes when I try to delete or rename the host

Open jaymunsh opened this issue 4 months ago • 3 comments

Operating system

Other

Orca version

No response

Details

Initially, I connected through the app. Then, to use it over cellular data, I tried adding the Tailscale IP, which ended up creating duplicate hosts. The app froze when I tried to delete or rename one of them.

tested on iphone 15 pro max, iOS26.5.2

jaymunsh avatar Jul 14 '26 04:07 jaymunsh

Same as me iPhone Air iOS 26.5.1

jhste102lab avatar Jul 14 '26 11:07 jhste102lab

Triage note (automated bug-bash; not a maintainer verdict — please reopen if you still hit this).

This looks already fixed. The trigger you described — duplicate hosts created by adding a second endpoint (Tailscale IP) for an already-paired host — was addressed after this was filed:

  • c12ade54d6 (Jul 15) dedupes host cards by pinned public key on re-pair, so the duplicates shouldn't appear in the first place.
  • 79551c38f5 (Jul 16) added proper endpoint editing, so switching to a Tailscale IP no longer requires making a second host.

The freeze itself is also guarded now: removeHost no longer blocks the UI on keychain deletion (mobile/src/transport/host-store.ts:283-293), and the paths are pinned by tests — "commits the removal when credential cleanup scheduling rejects" and "applies concurrent rename and remove without clobbering either".

If you still get a freeze on a current mobile beta, please comment with the build number — that would be new information.

nwparker avatar Jul 26 '26 04:07 nwparker

Closing as already fixed.

Both freeze triggers described here were fixed after this was filed (2026-07-14):

  • Duplicate host cards (adding a second endpoint, e.g. a Tailscale IP, for an already-paired host) — c12ade54d6, "fix(mobile): dedupe host cards by pinned public key on re-pair" (Jul 15).
  • Renaming / editing a saved host — 79551c38f5, "feat(mobile): edit saved host endpoints" (#8294, Jul 16).

Every freeze path in removeHost is now guarded (host-store.ts:283-293) and pinned by regression tests — "commits the removal when credential cleanup scheduling rejects" and "applies concurrent rename and remove without clobbering either".

What to do: @jaymunsh @jhste102lab — you're both on iOS, and iOS ships through TestFlight rather than the versioned tags in this repo, so I'd rather point you at a build than quote a version number that wouldn't mean anything on your device. The iOS build from 2026-07-23 is the first successful one containing both commits. Grab the latest TestFlight build and this should be gone.

If a current TestFlight build still freezes on host delete or rename, please comment and it'll be reopened — include your iOS version and the exact sequence, since that would be a different code path from the two fixed here.

nwparker avatar Jul 26 '26 07:07 nwparker