Skip to content

[Bug]: A project grouped on one paired Orca shows outside that group on the other Orcas #29876

Closed as not planned

Description

@jbamlee

Operating system

macOS

Orca version

1.4.224

Details

Setup

  • Two Orca desktops paired with each other (Orca A and Orca B).
  • The same project, the same Git repository, is added on both machines. Each sidebar shows it as one project with a row from each host.

Steps

  1. On Orca A, move the project into a group (Move to group or New group from project).
  2. Look at the same project on Orca B.

Actual
On Orca A the project is inside the group. On Orca B the group header shows with nothing under it, and the project sits outside it at the top level. Orca B has the group and the moved row, so this is not a sync delay. Reloading does not change it.

Cause

  • A project set up on several hosts is drawn as one section. The section is anchored on whichever of its rows comes first in the viewing Orca's own catalog order (getManualOrderAnchorRepo in src/shared/project-section-order.ts). Each Orca usually lists its own host's row first.
  • The section is placed in a Project Group by the anchor's projectGroupId only (appendProjectGroupSections in worktree-list/grouping/project-group-sections.ts, and the reveal path in build-rows.ts).
  • Move to group on Orca A changes Orca A's row, which is the anchor there. On Orca B the anchor is Orca B's own row, which has no group, so the section lands at the root.

Expected
The project is drawn inside the group on every Orca that shows it.

Activity

  1. AmethystLiang commented on Oct 18, 2026

    @AmethystLiang
    Contributor

    looking into it

  2. jbamlee commented on Oct 19, 2026

    @jbamlee
    ContributorAuthor

    Related: #29536 folds same-named groups from different hosts into one header. This issue is about a group that exists on only one host, so the two fixes don't overlap in logic, though both touch the sidebar's project-group placement.

    #29877 is rebased onto current main. The list builder moved to src/shared/sidebar-list in #29906, so the fix now lives there and every list built from it (desktop sidebar, Cmd+1–9 order, reveal, and the phone's host list) places the project the same way.

  3. added 3 commits that reference this issue on Oct 29, 2026
    bcb435d
    59a7f7a
    6dfbc1b
  4. hybrid2102 commented on Nov 3, 2026

    @hybrid2102

    Still reproducing on a Windows 11 desktop paired with two remote Orca runtimes (one Ubuntu VM, one Windows server).

    The same project (project-a, same GitHub remote) is set up on all three computers, so the sidebar shows one project header with three main rows (Local Windows / vm / server). Each copy has its own repo id.

    I created a local group and moved the local copy into it. The persisted state is correct: the local repo row has projectGroupId set to the local group, and right-clicking the project shows it as already in that group. But the project header still renders at the root, and the group header is empty. The anchor row is one of the remote copies, which are ungrouped.

    The same happens for a second project (project-b) set up on the same three computers. #34720 looks like exactly the fix needed here. It would be great to see it reviewed and merged.

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

Metadata

Metadata

Assignees

Labels

os:macosIssues affecting macOS

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions