github / github/vscode-github-actions

Extension sometimes doesn't start `failed: fetch failed.`

Aberta
#431 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
TypeScript
Estrelas
660
Forks
213
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Describe the bug**
Every now and then when reloading VSCode I will get this error:
`Activating extension 'github.vscode-github-actions' failed: fetch failed.`
```rust
Failed to load resource: net::ERR_NAME_NOT_RESOLVED
marketplace.visualstudio.com/_apis/public/gallery/extensionquery:1

ERR [network] #5: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - error POST Failed to fetch
log.ts:439
```

**To Reproduce**
Steps to reproduce the behavior:
1. Reload VSCode with `workbench.action.reloadWindow`
2. Get lucky (unlucky?)
3. See error

**Expected behavior**
Extension starts every time with no problems

**Screenshots**
![image](https://github.com/user-attachments/assets/eba66d27-4a16-471c-a1d8-2e4974153ca1)

**Extension Version**
`v0.27.0`

**Additional context**

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by tracing extension activation and the request to marketplace.visualstudio.com/_apis/public/gallery/extensionquery, then reproduce the failure by reloading VSCode with workbench.action.reloadWindow. Done means the extension activates reliably after reload without the reported fetch failure.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
github, typescript, vscode
Domínio
devtools
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.