Update ripgrep arguments for file search#12608
Conversation
vince-fugnitto
left a comment
There was a problem hiding this comment.
LGTM 👍
- confirmed that searching with various options works as intended (ex: hidden files)
- CI successfully passes
- the options are aligned with vscode
|
@msujew @vince-fugnitto |
|
@giraffesyo You can try to override the service in question in your adopter application and try to see which arguments/process spawn options lead to the issue. Since I'm unaware of anyone else having that issue, it might be a very specific set of environment+arguments+process spawn options that lead to this issue. |
Awesome thanks for the very quick reply. That's a great idea, we will try these suggestions out! |
|
@msujew Our original assumptions of it being ripgrep were incorrect. There was also the We have a mounted sftp using rclone, and the directory structure can be very large on the other side. When putting rclone into verbose mode it showed folders even 10 levels deep being hit before the entire container was OOM killed. After uninstalling the @theia/git extension all is well. Worth noting, disabling the watchers with the setting {
"files.watcherExclude": {
"**/**": true,
}
}also does the trick, but this has the unwanted side-effect that files created don't show up without refreshing the explorer pane. |
|
Hey @giraffesyo, thanks for the update. Maybe it might make sense for you to use the vscode git plugins instead of |
What it does
Closes #12607
Updates our used arguments and child process spawn options to be aligned with vscode. In particular, the issue exhibited in #12607 was the result of the added
stdiooptions property.Removing the
stdiofield from the options fixed #12607 locally. Also updates theprivatemethods to beprotected.How to test
Review checklist
Reminder for reviewers