-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ripgrep arguments for file search #12608
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
stdio
options property.Removing the
stdio
field from the options fixed #12607 locally. Also updates theprivate
methods to beprotected
.How to test
Review checklist
Reminder for reviewers