GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — LSP: Configuration status is shared across all workspace folders, causing incorrect behaviour in multi-root workspaces · Issue #9566 · biomejs/biome

LSP: Configuration status is shared across all workspace folders, causing incorrect behaviour in multi-root workspaces #9566

New issue
Copy link
New issue
Copy link
Closed
Bug
#10627
#10696
Closed
LSP: Configuration status is shared across all workspace folders, causing incorrect behaviour in multi-root workspaces#9566
Bug
#10627
#10696
Copy link
Assignees
ematipico
Labels
A-LSPArea: language server protocolS-Bug-confirmedStatus: report has been confirmed as a valid bug

Description

@coderabbitai
coderabbitai
bot
opened on Mar 21, 2026
Issue body actions

Summary

When Biome is used with multiple workspace folders (e.g., a VS Code multi-root workspace), the LSP session maintains a single, shared configuration status for all open files and projects. This means that loading — or failing to load — a configuration for one workspace folder can inadvertently affect the behaviour of other, completely unrelated workspace folders in the same session.

What goes wrong

Biome's LSP session has a global "configuration status" value (a single session-wide flag) that tracks whether a Biome configuration file has been loaded successfully. Every time a file is opened, this status is updated based on the configuration found for that specific file's workspace. Because the status is global, a later open event can overwrite the status set by an earlier one.

This can result in:

  • Files in a correctly configured workspace showing "configuration could not be loaded" errors, because another workspace folder's configuration failed to load and overwrote the shared status.
  • Lint and assist features being silently disabled for files in a healthy workspace, because the global status was set to a failed/loading state by a different workspace.
  • Inconsistent diagnostics: the same file may show errors on one open event but not another, depending on the order workspace folders are processed.

Expected behaviour

The configuration status for each workspace folder (project root) should be tracked independently. Opening, failing, or reloading configuration in one workspace should have no effect on the status — and therefore the diagnostics and features — of files belonging to other workspaces.

Context

This issue was identified during review of PR #9441, which improves project-root selection in multi-root LSP sessions. The fix in that PR makes the session visit this code path more frequently, making the shared-status problem more visible. The underlying bug, however, predates that PR and exists in the current codebase.

Relevant discussion: #9441 (comment)
PR: #9441

Reported by: @soconnor-seeq

Reacted by Jasper Dunn and Chaz Gatian

Activity

  1. coderabbitai
    assigned
    ematipico
    on Mar 21, 2026
  2. ematipico
    added
    A-LSPArea: language server protocol
    S-Bug-confirmedStatus: report has been confirmed as a valid bug
    on Mar 21, 2026
  3. ematipico
    added the
    Bug
    issue type on Mar 21, 2026
  4. ematipico
    closed this as completedin #10696on Jun 19, 2026
  5. OIRNOIR
    added 2 commits that reference this issue on Jun 30, 2026

    Update dependency @biomejs/biome to v2.5.1 (#21)

    0ff1afa

    Update dependency @biomejs/biome to v2.5.1 (#8)

    9f5057b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ematipico
    ematipico

Labels

A-LSPArea: language server protocolS-Bug-confirmedStatus: report has been confirmed as a valid bug

Type

Bug

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402792 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.