When opening a file with diagnostics, the problems are displayed on the "Problems" tab in the editor. However, closing the file does not remove the entries from the "Problems" tab.
To Reproduce
Steps to reproduce the behavior:
Open a GitHub Actions .yml file that has diagnostics.
Close file.
Expected behavior
The diagnostics are removed from the "Problems" tab.
Describe the bug
When opening a file with diagnostics, the problems are displayed on the "Problems" tab in the editor. However, closing the file does not remove the entries from the "Problems" tab.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The diagnostics are removed from the "Problems" tab.
Screenshots
https://github.com/user-attachments/assets/60bd1309-dd90-4e2b-b877-67c550d630c2
Package/Area
Package Version
v0.3.11