rome/tools

馃悰VSCode extension stuck at 100% cpu usage

Open

#4,184 opened on Jan 31, 2023

View on GitHub
聽(38 comments)聽(0 reactions)聽(1 assignee)Rust聽(23,438 stars)聽(647 forks)batch import
A-LSPHelp wantedS-Needs info

Description

Environment information

same Rome rage as here

https://github.com/rome/tools/issues/4182#issuecomment-1410177376

too big to paste in this issue creation page for some reason

What happened?

After working for a while, saving a file gets stuck and these kinds of messages appear, spinning indefinitely:

If I look at how Rome is doing in the activity monitor, it's stuck spinning at 100% like so:

Seems like there's an infinite loop issue happening? Not sure what else it could be.

If I just dismiss the dialogs, I notice that the Rome process continues to be maxed out, looks like it's stuck. Only way to stop is either close vscode or kill the process directly.

Expected result

Rome not cause CPU to max out at 100% forever!

Code of Conduct

  • I agree to follow Rome's Code of Conduct

Contributor guide