github / github/copilot-cli

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

Open
#4,289 0 comments 0 reactions 0 assignees View on GitHub
area:sessions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by adding multiple repositories to one session and creating a PR for each. Trace the handling of `PR #123` short links and verify that each link resolves to the repository where its PR was created, rather than the session's initial repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.