github / github/vscode-github-actions

Problems panel shows problems in virtual and read only file

Aberta
#217 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**

The problems panel is showing problems in a virtual and read only file:

image

When I copy the problem and paste the contents into a new file, I see this:

```
"resource": "/commit~cf17f9d0/.github/workflows/build.yml",
"owner": "_generated_diagnostic_collection_name_#3",
```

`/commit~cf17f9d0/.github/workflows/build.yml` is not a real file (at least not in my project's directory).

When I click on one of these problems to open the file and then I try to make changes, VS Code reports that it's a read only file:

image

The problems disappear when I uninstall or disable the extension.

The problems re-appear when I re-install or re-enable the extension.

**To Reproduce**
Unfortunately I don't have steps to reproduce this. I'm not sure how it happened.

**Expected behavior**
Problems should only appear for real files.

**Screenshots**
See above.

**Extension Version**
`v0.25.7`

**Additional context**

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

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