Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale dependency diagnostic does not show up under 'Messages' after opening VS Code #424

Open
mhuisi opened this issue Mar 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mhuisi
Copy link
Collaborator

mhuisi commented Mar 27, 2024

Description

Typically, when opening a file with a stale dependency, there is a diagnostic under 'Messages' that informs us that 'Restart File' needs to be called. However, right after VS Code is opened and the extension launches for the first time, that diagnostic only appears in the editor and under 'All Messages' after unfolding the section, not in 'Messages'. It would be nice if this was fixed so the error is always visible in the InfoView.

Additional Information

I suspect that this is due to a race condition caused by how the InfoView is informed about new diagnostics; when the stale dependency diagnostic is received, the InfoView probably isn't listening for these diagnostics yet.

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant