microsoft / microsoft/vscode-pull-request-github

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

Đang mở
#8,874 0 bình luận 1 reaction 2 người được giao Xem trên GitHub

@alexr00 đang làm issue này rồi.

Từ ngày 4/8/2026.

  • #8875 của @copilot-swe-agent — đang mở
Ngôn ngữ chính
TypeScript
Star
2.6k
Fork
795
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
46

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.