uriTransformer uses rg and it descends into directories with circular references - 100% CPU and connection eventually drops #5904
Labels
info-needed
Issue requires more information from poster
I have had to address this same issue with VSCode Search (see my
settings.json
below) and also for Pylance issue microsoft/pylance-release#1939 (seepywrightconfig.json
below). Now, I'm seeing this issue withuriTransformer.js
.How do I configure
uriTransformer
so that it excludes specified directories. Ideally, it should use mysettings.json
,search.exclude
list, but it does not.The evidence and trail is captured below. Please ask if you need more info.
Steps to Reproduce:
Start with a really big VSCode workspace (e.g. mine is a Yocto-based dev area). When yocto builds, it creates lots of deeply nested circular references in the build area. I have configured VSCode Search and Pylance to not descend into the directories where there are circular references. Now, I'm seeing
uriTransformer.js
gets stuck in a loop, presumably because it is not using those settings.Top
Process info PID 19047 (
rg
)The strace below reveals this PID is
rg
and is not doing anything:Process info PPID 18511 (
uriTransformer
)The strace below reveals the PPID is
uriTransformer
and it is stuck in a loop:Workspace's
.vscode/settings
Worksapce
pyrightconfig.json
Does this issue occur when you try this locally?: Yes/No
Does this issue occur when you try this locally and all extensions are disabled?: Yes/No
The text was updated successfully, but these errors were encountered: