github / github/app

Unable to add a project of the same name

Đang mở
#3,247 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Short summary

Unable to add a new project that has the same name as an existing project

### Affected version or release

1.1.14

### Installation context

_No response_

### What happened?

Let's say I have a project named `my-project` already registered in the app (from the Windows host). I then attempt to add a project named `my-project`, but this is in the WSL host. The WSL host version of `my-project` does not load in the app, even though it is allegedly registered in the WSL environment in GitHub Copilot Apps's settings.

### Steps to reproduce

1. Add a project that is on the Windows host.
2. Enable "WSL host (Preview)" feature
3. Restart GitHub Copilot App
4. From Environments in Settings , add the "Ubuntu (default)" host
5. From the "WSL: Ubuntu" remote host, add a project of the same name (as one added in step 1) on the WSL host
6. Observe the WSL host project is not added to the project list

### Expected behavior

I would expect the WSL hosted project to be added to the project list. If the project cannot be added, provide a helpful error message.

### Additional context

Potentially related to #90

https://github.com/user-attachments/assets/17e2ab09-7737-49a3-9302-0a65213d66da

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Reproduce the issue through Settings > Environments by adding a Windows project, enabling the WSL host, and adding the same-named Ubuntu project. Trace how projects from the WSL: Ubuntu remote host are added to the project list; done means the project appears despite the duplicate name, or a helpful error explains why it cannot be added.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github
Lĩnh vực
desktop
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
58/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.