Under unclear circumstances, our VS Code extension is causing a dramatic perf degradation due to a huge number of ripgrep (rg.exe) instances. So far I haven't been able to repro this issue, but based on user reports I believe it was introduced by this change. Can anyone provide some insight into what leads to the execution of rg.exe?
https://github.com/microsoft/vscode/issues/164665
https://github.com/microsoft/sarif-vscode-extension/issues/472
https://github.com/microsoft/sarif-vscode-extension/issues/472#issuecomment-1414396307 <- trace logs linked here
*** EDIT I've seen the two issues cited by 'user' but they did not shed any light on the cause of this behavior.