github / github/vscode-github-actions

Errors and warnings are not removed from the problems tab when closing the tab/editor containing them

Open
#349 2 comments 1 reaction 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**
I would like to be able to use `F8` to navigate between my repo's problems. The current problem I'm facing is that the `problems` list is polluted by github-actions warnings (that are wrong so I cannot fix them). Closing the file with the warning does not remove them from the list so I need to close my entire vs-code to clear them.

Even worse, if I open a diff, or if I open a previous revision of the file, it will add warnings for that revision.

**To Reproduce**
Steps to reproduce the behavior:
1. Take a workflow with warnings or errors and open it in an editor
2. Close the editor (by editor I mean the opened tab, not vscode itself)
3. The errors remain in the problems tab

**Expected behavior**
When I close the tab with the github workflow, I expect the warnings/errors to be removed from the list.

**Screenshots**
![image](https://github.com/github/vscode-github-actions/assets/93933935/666f4705-b711-4f2a-ad09-81888149753b)
Errors remain when no editor/tab is opened.

**Extension Version**
`v0.26.3`

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.