[Bugs] Pull Request doesn't load when it's targeting an upstream repo.
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 153
- PR 合并指标
- 30 天内没有已合并 PR
描述
**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 |
贡献指南
调研方向
使用指向上游仓库的 fork,在集成的 PR 视图中重现该问题,然后将其与报告中描述的同一仓库正常工作的情况进行比较。检查上游视图为何一直处于加载状态并标记为 Issue;当上游 PR 能够加载且选项卡将其识别为 Pull Request 时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100