-
-
Notifications
You must be signed in to change notification settings - Fork 826
Labels
A-PluginsArea: pluginsArea: pluginsS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug
Description
VS Code version
1.98.2
Extension version
2025.3.151143 (pre-release)
Biome version
2.0.0-beta.1
Operating system
- Windows
- macOS
- Linux
Description
When a plugin is enabled, the language server crashes on a simple lint check from a grit file.
The MRE below is a minimal Qwik application that has one grit query and one route.
Steps to reproduce
- Go to https://github.com/thejackshelton/biome-plugin/tree/main
- Install the pre-release biome plugin in VSCode
- Run pnpm i
- Exit and enter the VSCode app OR reload window
- Navigate to index.tsx
- You will see language server crashes from the lib.rs file
Expected behavior
The language server should not crash.
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Link to a minimal reproduction
https://github.com/thejackshelton/biome-plugin/tree/main
Logs
Stack trace:
2025-03-26 10:56:54.620 [info] Biome encountered an unexpected error
This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
Source Location: /Users/runner/work/biome/biome/crates/biome_analyze/src/lib.rs:196:50
Thread Name: tokio-runtime-worker
Message: missing span
2025-03-26 10:56:54.642 [info] [Error - 10:56:54 AM] Biome language server closed
Metadata
Metadata
Assignees
Labels
A-PluginsArea: pluginsArea: pluginsS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug