GitHub Actions extension fails with "Unable to connect to the GitHub API" in .code-workspace (works with Open Folder)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- github-actions, typescript
- 領域
- devtools
調査の方向性
報告された multi-root .code-workspace を使って失敗を再現し、同じリポジトリを Open Folder から開いた場合と比較します。workspace-mode における拡張機能のリポジトリ解決とアクティベーションの経路を追跡します。GitHub Actions workflows と runs が両方のモードで API 接続エラーなしに読み込まれれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 661
- フォーク
- 214
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/vscode-github-actions のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/vscode-github-actions#627 · リアクション 1 件 ·
-
long work オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
github/vscode-github-actions#628 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
github/vscode-github-actions#625 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
github/vscode-github-actions#621 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
github/vscode-github-actions#619 ·
github/vscode-github-actions の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
fil-donadoni/tolaria#4409 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
corsairdev/corsair#1764 ·