Skip to content

[Bug][Regression]: Sidebar merges multiple local clones of the same repo into one project #1912

@hwanseoc

Description

@hwanseoc

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Clone the same repo into multiple folders:
    git clone git@github.com:octocat/Hello-World.git hello-world1
    git clone git@github.com:octocat/Hello-World.git hello-world2
    git clone git@github.com:octocat/Hello-World.git hello-world3

  2. Open T3 Code.

  3. Add/open all three folders as projects:

  • hello-world1
  • hello-world2
  • hello-world3

Expected behavior

Three separate project entries appear in the sidebar.

Actual behavior

They collapse into a single project entry.

Impact

Blocks work completely

Comment

The sidebar is using the repo’s git remote to decide whether two projects are the same. As a result, multiple local folders cloned from the same repo can get merged into one sidebar entry even though they are different directories.

Introduced in "Implement server auth bootstrap and pairing flow"(#1768)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions