github / github/copilot-cli

When having multiple projects in a session, PR short link directs to wrong link

未关闭
#4,289 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:sessions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

when i have multiple projects in a session, i sometimes will create multiple PRs for each project individually. the PRs only link to the initiall project/repo i started the session in

Image

### Affected version

_No response_

### Steps to reproduce the behavior

1. add multiple repos in your session
2. ask to create PRs for each project
3. the shortened links will only direct to the initial repo/project
- when the short link looks like this `PR #123`

Image

### Expected behavior

I should get redirected to the correct repo/project PR

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

通过向一个会话添加多个仓库并为每个仓库创建一个 PR 来复现该问题。跟踪 `PR #123` 短链接的处理过程,并验证每个链接解析到其 PR 所创建的仓库,而不是会话的初始仓库。

由索引模型根据 Issue 内容生成。

评估

技术栈
github, shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
62/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。