GitHub Actions extension fails with "Unable to connect to the GitHub API" in .code-workspace (works with Open Folder)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- github-actions, typescript
- Lĩnh vực
- devtools
Hướng nghiên cứu
Tái hiện lỗi bằng .code-workspace multi-root đã được báo cáo và so sánh với việc mở cùng repository thông qua Open Folder. Theo dõi đường dẫn phân giải repository và kích hoạt extension trong workspace-mode; hoàn thành khi GitHub Actions workflows và runs được tải ở cả hai chế độ mà không có lỗi kết nối API.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
When I open the same repository via a multi-root .code-workspace, the GitHub Actions extension shows:
Unable to connect to the GitHub API, please check internet connection
If I open the repository directly with File → Open Folder, the extension works normally (workflows/runs load, authentication is fine).
This appears specific to workspace-mode repository resolution/activation, not network connectivity.
Steps to reproduce
- Create/open a multi-root workspace that includes this repo as a root:
c:\Users\<user>\Source\loom-workbench(plus other roots in workspace)
- Open VS Code using the
.code-workspacefile. - Open the GitHub Actions view.
- Observe error: "Unable to connect to the GitHub API, please check internet connection".
- Close VS Code.
- Reopen only
c:\Users\<user>\Source\loom-workbenchvia Open Folder. - GitHub Actions extension works correctly.
Expected behavior
The extension should authenticate and connect to GitHub API the same way in both:
- Open Folder mode
- .code-workspace (multi-root) mode
Actual behavior
- Open Folder: Works
- .code-workspace: Fails with API connection error
Environment
- Version: 1.125.1 (user setup)
- Commit: fcf604774b9f2674b473065736ee75077e256353
- Date: 2026-06-19T08:39:34Z
- Electron: 42.2.0
- ElectronBuildId: 14159160
- Chromium: 148.0.7778.97
- Node.js: 24.15.0
- V8: 14.8.178.14-electron.0
- OS: Windows_NT x64 10.0.26200
Additional context
- Internet connectivity is fine.
- Authentication/session is valid (confirmed by successful behavior in Open Folder mode).
- Reproducible consistently with the same repository and machine.
- Ngôn ngữ chính
- TypeScript
- Star
- 661
- Fork
- 214
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/vscode-github-actions
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/vscode-github-actions#627 · 1 reaction ·
-
long work Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
github/vscode-github-actions#628 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
github/vscode-github-actions#625 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
github/vscode-github-actions#621 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
github/vscode-github-actions#619 ·
Tất cả issue của github/vscode-github-actions
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
fil-donadoni/tolaria#4409 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
corsairdev/corsair#1764 ·