SonarLint plugin stops working after a few hours

  • Operating system: OS Mac OS X(x86_64) v13.3
  • SonarLint plugin version: 8.2.0.68615
  • Programming language you’re coding in: JavaScript
  • Is connected mode used: Yes
    • Connected to SonarCloud or SonarQube (and which version): SonarQube Version 9.9 (build 65466)

Hello!

I am facing an issue with IntelliJ IDEA and SonarLint plugin. After a few hours of work in the IDE, SonarLint stops finding issues (automatically or manually), although the plugin seems functional (no errors in the console).

Has been tested with IDEA versions 2022.1.4, 2023.1, 2023.1.1, 2023.1.2 and SonarLint versions 8.0, 8.1, 8.2 (only in connected mode).

Could I have some insights on the matter?

Thanks!

Hey there.

If you follow the steps here do you get any additional logging?

Hello again,

I did get a ton of additional logging with those options, thanks!

The only difference I noticed in the logs when the plugin does not detect errors, is this one:
“Skipping the start of eslint-bridge server as it failed to start during the first analysis or it’s not answering anymore”.

If I restart the IDE, everything is working just fine, until it hangs again.

Hello @veliside,

I suspect this is a known problem happening when resuming from sleep, could you confirm? The only workaround is indeed to restart the IDE, which I agree is not very practical. I will follow up with the team in charge.

Thanks!

Hello Damien,

Indeed the issue occurs immediately after resuming from sleep.

I saw that the linked ticket does not have any activity since February, is it in the roadmap for this year?

Thanks!