Skip to content

🐛 Integration breaks for mono repos with 10+ packages #161

@TheDadi

Description

@TheDadi

IDE and version

IntelliJ IDEA 2024.3.5

Extension version

Version 1.7.0 and 1.7.0-nightly build

Biome version

1.9.4

Operating system

  • Windows
  • macOS
  • Linux

Description

The never plugin versions 1.7.0 spawn a language service per directory which works great for codebases with few packages. We are running biome in a mono repo with 40+ packages which leads to this problem. The Integration starts spawning language services per directory until it reaches a maybe max of 10 instances running, after that it stops spawning new ones and the integration breaks. As far as i understand in the older versions it used to only spawn 1 instance of the biome language service and reuse it in different directories (which had other issues as far as i understood).

Showcase with repro repo linked below: package 1-10 have a language service running 11 does not spawn one

Image

Steps to reproduce

  1. Clone https://github.com/TheDadi/biome-intellij-repro-monorepo
  2. pnpm install
  3. open the js file in each sub package
  4. check if biome is running on the current file

Expected behavior

The integration works for bigger mono repos.

Does this issue occur when using the CLI directly?

No

Link to a minimal reproduction

https://github.com/TheDadi/biome-intellij-repro-monorepo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting for responseWaiting for a response from the author of the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions