GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
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 Labels DescriptionSummaryWhen 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 wrongBiome'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:
Expected behaviourThe 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. ContextThis 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) Reported by: @soconnor-seeq Reacted by Jasper Dunn and Chaz Gatian Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |