ContextManager needs to watch for appearance of non-existent analysis roots #24305
Labels
devexp-server
Issues related to some aspect of the analysis server
legacy-area-analyzer
Use area-devexp instead.
P4
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
From the analysis server API documentation, in the analysis.setAnalysisRoots section:
Currently, if an analysis root does not exist in the file system at the time that setAnalysisRoots is invoked, the analysis server will not watch for its appearance. This means that, for instance, if the user's editor supports a single operation that creates a folder and sets it as an analysis root, race conditions in the file system may prevent that folder from being analyzed.
This should be fixed as part of the re-work of the ContextManager (#24133).
The text was updated successfully, but these errors were encountered: