github / github/vscode-github-actions

Problems panel shows problems in virtual and read only file

Abierto
#217 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
660
Forks
213
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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**

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.