GitHub Actions extension fails with "Unable to connect to the GitHub API" in .code-workspace (works with Open Folder)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- github-actions, typescript
- Ambito
- devtools
Direzione di ricerca
Riproduci il problema usando il .code-workspace multi-root segnalato e confrontalo con l’apertura dello stesso repository tramite Open Folder. Traccia il percorso di risoluzione del repository e di attivazione dell’estensione in workspace-mode; il lavoro è completato quando GitHub Actions workflows e runs vengono caricati in entrambe le modalità senza l’errore di connessione all’API.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 661
- Fork
- 214
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/vscode-github-actions
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
github/vscode-github-actions#627 · 1 reazione ·
-
long work Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
github/vscode-github-actions#628 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
github/vscode-github-actions#625 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
github/vscode-github-actions#621 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
github/vscode-github-actions#619 ·
Tutte le issue di github/vscode-github-actions
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fil-donadoni/tolaria#4409 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
corsairdev/corsair#1764 ·