github / github/vscode-github-actions

Problems panel shows problems in virtual and read only file

Đang mở
#217 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
660
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.