Skip to content

[Bug] Version 1.4.204 (1.4.204) Completely unusable #21041

Closed

Description

@orca-discord-issues

waterwings waterwings via Discord

Clicking on a tab switches to an open .md file which says the file is unable to load.
Opening a new terminal tab switches to the same broken open .md file
Tabs flash and open then close.

My work has completely stopped in Orca. HELP PLEASE
CleanShot_2026-09-16_at_07.19.58.png

Activity

  1. orca-discord-issues commented on Sep 17, 2026

    @orca-discord-issues
    Author

    Jinjing Jinjing via Discord

    Here to help! Can you share more info? e.g. OS info, local / remote / ssh

    The fastest way would be to point an AI at it and ask "why did I get this "selector_not_found" message in Orca?"

    and can share the AI response here 🫡

  2. AmethystLiang commented on Sep 17, 2026

    @AmethystLiang
    Contributor

    thanks for reporting. looking into it

  3. orca-discord-issues commented on Sep 17, 2026

    @orca-discord-issues
    Author

    Anton Eriksson Anton Eriksson via Discord

    I also keep getting this and the flickering, see https://discord.com/channels/1492228674081263786/1550053764096987227

  4. AmethystLiang commented on Sep 17, 2026

    @AmethystLiang
    Contributor

    thanks for reporting. looking into it

  5. LesleyMurfin commented on Sep 17, 2026

    @LesleyMurfin
    Contributor

    This is the exact same underlying defect as #21189: clicking a tab or closing tabs pointing to an unresolvable or missing worktree selector raises selector_not_found.

    Why this makes Orca unusable

    When a tab points to an unresolvable or missing worktree, attempting to close it or switch tabs causes the runtime to throw selector_not_found. In Orca's tab lifecycle, encountering selector_not_found dropped the close tombstone on the client. On the next broadcast / reconciler pass, the tab immediately resurrects and re-opens. This results in a high-frequency flicker loop (tabs flashing, opening, and closing) where users are unable to close or switch away from broken tabs, completely locking up Orca.

    Fix

    This is addressed in PR #21277 (#21277):

    • Treats selector_not_found as an idempotent clean close on the host ({ closed: true, notFound: true }) instead of rejecting the RPC call.
    • Retains durable client tombstones in the renderer for selector_not_found, preventing ghost tab resurrection and permanently stopping the flicker loop.
  6. orca-discord-issues commented on Sep 18, 2026

    @orca-discord-issues
    Author

    Jinjing Jinjing via Discord

    nwparker is looking into it

  7. orca-discord-issues commented on Sep 18, 2026

    @orca-discord-issues
    Author

    nwparker nwparker via Discord

    Fix is merged, I can cut a release for this now 🤔

  8. nwparker commented on Sep 18, 2026

    @nwparker
    Contributor

    PR #21277 is merged and addresses the related stale session-tab close lifecycle, but I’m leaving this issue open pending release verification. The final fix deliberately treats selector_not_found as transient and only makes definitive tab_not_found / terminal_tab_not_found close responses durable. Because this report is specifically about broken file loading and tabs flashing/opening/closing, we need to confirm the released build resolves that path before closing it.

  9. nwparker commented on Sep 18, 2026

    @nwparker
    Contributor

    Fixed in PR #21363 and merged as 07e8c851b8b03651468459d9a63c285329e6e105.

    The editor now evicts a host-mirrored file tab when its read still returns selector_not_found after the existing bounded retry window. This prevents the stale markdown tab from being reselected and flashing back during session reconciliation. Local and transient file-read behavior is unchanged.

    Validation passed locally (focused regression test, typecheck, changed-code quality) and the required CI gates for typecheck, static analysis, and packaging passed. The issue is closed pending release verification.

  10. orca-discord-issues commented on Sep 18, 2026

    @orca-discord-issues
    Author

    nwparker nwparker via Discord

    Still working through this... trying to get a release out tonight

  11. added a commit that references this issue on Sep 19, 2026
    485b620
  12. orca-discord-issues commented on Sep 21, 2026

    @orca-discord-issues
    Author

    waterwings waterwings via Discord

    Thank you so much, I really appreciate working on this nwparker !

  13. orca-discord-issues commented on Sep 21, 2026

    @orca-discord-issues
    Author

    waterwings waterwings via Discord

    Quick followup, I can't even close .md tabs. When I try, the UI flashes, and then nothing happens. Sometimes I get a new error message like this one. It feels very buggy.
    CleanShot_2026-09-21_at_12.47.54.png

  14. orca-discord-issues commented on Sep 21, 2026

    @orca-discord-issues
    Author

    nwparker nwparker via Discord

    waterwings -- which version of Orca is this on now?

  15. orca-discord-issues commented on Sep 21, 2026

    @orca-discord-issues
    Author

    nwparker nwparker via Discord

    and this is using remote or SSH ?
    Any extra info will help us fully narrow this one down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions