Skip to content

[Bug]: Primary main workspace disappears from sidebar despite visibility settings; CLI activation restores it #42018

Open

Description

@chilango74

Where were you using Orca?

Desktop only

Operating system

Linux

Orca version

1.4.258 (runtime status verified during investigation)

Details

Short summary

The existing primary checkout on main disappeared from a project's expanded sidebar section even though visibility settings allowed it. It remained discoverable through the CLI. Explicit CLI activation made the card reappear; the user confirmed the recovery.

Observed sequence (2026-11-13)

  1. In a local Git project with several workspaces, the sidebar showed the project heading and other workspace cards, including a sleeping workspace, but no primary-workspace card.
  2. git worktree list --porcelain still listed the original checkout on refs/heads/main.
  3. orca worktree list and orca worktree show returned that same local workspace with:
    • isMainWorktree: true
    • branch: refs/heads/main
    • isArchived: false
    • no parent
    • a fixed display name equal to the project name.
  4. The persisted active-profile UI settings read from profile-state.db were:
    • hideDefaultBranchWorkspace: false
    • alwaysShowDefaultBranchWorkspace: true
    • showActiveOnly: false
    • hideSleepingWorkspaces: false
    • showSleepingWorkspaces: true
    • filterRepoIds: []
      The repository's externalWorktreeVisibility was show.
  5. Running the following against the existing checkout returned activated: true:
    orca worktree activate --worktree path:/path/to/project --json
  6. The user confirmed that the missing card appeared afterward. No checkout was recreated, no visibility settings were changed, and the app was not restarted.

Expected behavior

An existing primary workspace should remain visible when the default-branch visibility settings explicitly permit it, without requiring a CLI activation to recover its sidebar entry.

Reproduction limits

This is a recovered incident, not a deterministic reproduction. The action that originally caused the card to disappear is unknown. The recovery confirms a workaround, not a root cause or permanent fix. The pre-recovery screenshot showed the project header and other workspace cards but no primary-workspace card.

Related reports checked

Definition of Done (DoD)

  • The cause of the missing primary-workspace card is identified and covered by a reproducible scenario.
  • In that scenario, the primary-workspace card remains visible with hideDefaultBranchWorkspace=false and alwaysShowDefaultBranchWorkspace=true, without manual CLI activation.

Activity

  1. added
    os:linux
    on Nov 13, 2026
  2. AmethystLiang commented on Nov 13, 2026

    @AmethystLiang
    Contributor

    Triage: keeping @brennanb2025 assigned because the issue matches their ownership area.

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

Metadata

Metadata

Assignees

Labels

os:linux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions