microsoft / microsoft/vscode-pull-request-github

GitHub Enterprise sign-in prompt silently missing when repo has GitHub-style remote but github-enterprise.uri unset

未关闭
#8,874 0 条评论 1 个 reaction 已指派 2 人 在 GitHub 查看

@alexr00 已经在做这个了。

开始于 2026年8月4日。

  • #8875 来自 @copilot-swe-agent —— 未关闭
主要语言
TypeScript
星标
2.6k
派生
795
平均合并
1 天 4 小时
30 天内合并 PR
46

描述

Environment

  • Extension version: 0.156.0
  • VS Code Version: 1.121.0-insider
  • OS: macOS (Darwin)
  • Repository Clone Configuration: single repository, cloned via SSH
  • GitHub Product: GitHub Enterprise Server

Steps to Reproduce

  1. Open a folder whose git remote is a GitHub Enterprise Server repo over SSH (e.g. ssh://git@ghe.example.com/org/repo.git), without ever having set github-enterprise.uri.
  2. Open the "GitHub Pull Requests" / Source Control view.
  3. Observe the sign-in area of the view.

Expected behavior

Some sign-in prompt or message appears, so there's something to act on.

Actual behavior

The view renders completely empty — no button, no message, no error. There's nothing to click and no indication of what's wrong.

Manually setting github-enterprise.uri to the GHE server's base URL (e.g. https://ghe.example.com) in settings.json makes it work. I don't know if that's the right way to do it or if that's documented.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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