github / vscode-github-actions

GitHub Actions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions
MIT License
487 stars 85 forks source link

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

Open maximeflya opened 3 months ago

maximeflya commented 3 months ago

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 Errors remain when no editor/tab is opened.

Extension Version v0.26.3

migmit commented 3 months ago

Same here, very annoying.

danaument commented 1 week ago

Ditto - i've found that the easiest way to clear the notifications is to disable/re-enable the extension