Unable to add a project of the same name
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 153
- PR 合并指标
- 30 天内没有已合并 PR
描述
### 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
贡献指南
调研方向
通过 Settings > Environments 重现该问题:添加一个 Windows 项目,启用 WSL 主机,然后添加同名的 Ubuntu 项目。跟踪来自 WSL: Ubuntu 远程主机的项目是如何添加到项目列表中的;当项目在名称重复的情况下仍然出现,或出现有帮助的错误说明无法添加该项目的原因时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 58/100