Cannot create PR: linked GitHub account is reported as no longer available
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- github
- 领域
- desktop
调研方向
从 Windows 上的 GitHub Copilot App 的 Create pull request 流程开始,并将其账户可用性检查与项目设置中显示的已关联账户状态进行比较。按照列出的步骤重现该故障,包括重启应用并开始新会话;当已关联账户被接受,且创建 pull request 时不再将其报告为不可用时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Short summary
The GitHub Copilot App consistently fails to create a pull request because it reports that the project's GitHub account is no longer available, even though project settings correctly show the account as linked.
Affected version or release
The issue started occurring recently and persists after updating the app. Exact affected version not recorded.
Installation context
GitHub Copilot App on Windows. The failure occurs when creating a PR from a project session and also persists in a newly started session.
What happened?
Every attempt to create a pull request fails with this error in the Create pull request section:
This project's GitHub account is no longer available. Please re-link the project to a GitHub account before creating a pull request.
However, opening the project's settings and toggling the GitHub account correctly shows that my account is linked. PR creation still fails afterward.
Steps to reproduce
- Open an affected project in the GitHub Copilot App.
- Open the project settings and toggle the GitHub account; confirm that the account is shown as linked.
- Return to the session and attempt to create a pull request.
- Observe the error above, despite the account being shown as linked in settings.
- Restart the app or start a new session and retry; the same failure persists.
Expected behavior
When the project's GitHub account is linked, the app should use that account to create the pull request rather than report that the account is unavailable. Project settings and PR creation should agree on whether the account is linked.
Additional context
The following troubleshooting has not resolved the issue:
- Updating the app.
- Restarting the app.
- Starting a new session.
- Toggling the account in project settings and confirming it is shown as linked.
This blocks PR creation from the app. The error above was transcribed from a screenshot of the failure.
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 157
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/app 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 68/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
farion1231/cc-switch#7638 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
PolyMeilex/rfd#334 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
area:general bug P1 security
难度 2/5 1-3 小时 新手友好度 75/100
uttrflow/uttrflow-swift#1333 ·
-
难度 2/5 1-3 小时 新手友好度 75/100