[Bugs] Pull Request doesn't load when it's targeting an upstream repo.
- 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ả
**Mood:** 😊
**Category:** Bugs
Pull Request doesn't load when it's targeting an upstream repo. And for some reason, the PR view's tab says Issue instead of Pull Request. When the pull request targets the same repository (fork in my case), the PR view can load.
Clicking the link to the created PR in the response opens the PR in the integrated PR view. Across all my attempts, the view keeps loading and doesn't show anything no matter how long I wait.
Additional context:
Forking an upstream repo, develop in the fork and submit a PR to the upstream from the fork is a typical GitHub workflow.
The built-in PR tool in the app only knows how to create a PR in the same repo. In this case, it is the forked repo and that's not what I want.
I was able to work around this problem by explicitly emphasize in my prompt telling the agent to use gh cli and giving the exact upstream org/repo - branch target. It mitigates the problem most of the time but occasionally it still hallucinates by creating the PR in the forked repo claiming it has created it in the upstream.
The screenshots contains both a working PR view 24 which was incorrectly created in the forked repo, and a buggy view 2725 in the upstream repo.
---
| Field | Value |
| --- | --- |
| App version | 1.0.11 |
| OS | macOS 14.8.7 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 5 |
Hướng dẫn đóng góp
Hướng nghiên cứu
Tái hiện vấn đề trong chế độ xem PR tích hợp bằng cách sử dụng một fork trỏ đến một upstream repository, sau đó so sánh với trường hợp cùng repository hoạt động bình thường được mô tả trong báo cáo. Kiểm tra lý do chế độ xem upstream vẫn đang tải và được gắn nhãn Issue; hoàn tất khi upstream PR tải được và tab xác định nó là Pull Request.
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100