-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Client Biome: connection to server is erroring. Shutting down server #650
Comments
This is getting more frequent
|
@PaulBurridge-Nasstar Could you check the logs of the daemon and see if there are errors? You can find the logs in a folder called Alternatively, you could try to run |
Hi this block seems to be related to the issue, let me know if you need more of the log:
Also a historic panic but this has not happened since 2023-10-11:
|
Thank you @PaulBurridge-Nasstar ! This isn't an issue with the editor but an issue biome source code. It would be great to have the content of the file that generates this panic/error. |
@Conaclos you might be interested in this, it seems that one error is thrown by the semantic model |
None of the files I have trigger the error at the moment, as such I suspect it may happen when the file is in an invalid state during development. I will let you know if and when I can recreate. |
I also suspect that a binding is not resolved because it is a bogus node. Still it could help to have an example. |
We have some code that recreates the issue:
|
Thanks! This is really helpful! The bug should now fix by #654. However, this produces another bug in noUnusedVariables code fix. I keep the issue open until this newly discovered bug is fixed. |
Smaller version in case it helps
|
The bug I talked is not really a bug: it is an assertion that ensure that a code fix emits non-bogus tree. Since the input is necessarily bogus, the output is also bogus. The current issue was fixed in #654 |
Connection to server occasionally errors.
Log includes
Biome - Restart LSP Server
action after error after which Biome extension appears to function normally again.Windows 11 attached to container in WSL
The text was updated successfully, but these errors were encountered: