github / github/vscode-github-actions

Problems panel shows problems in virtual and read only file

Open
#217 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
660
Forks
213
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.