You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shipped rg version as part of npm package is outdated and contains bugs #12002
What terminal emulator and version are you using (if applicable)?
GNOME Terminal
What issue are you seeing?
Codex finds incorrect search results that bloat the context when using rg
What steps can reproduce the bug?
In my case:
Minified js files in a/b/c/mini.js
.gitignore in root contains `/a*/*/c/**
Codex searches something with a sub directory specified (e.g. rg -n 'hello' a/)
rg shows results from the minified file that might be huge blobs of garbage
What is the expected behavior?
rg should not show these results. Updating to rg version 15.1.0 fixes this.
The 15.0.0 release specifically mentions:
Several bugs around gitignore matching have been fixed. This includes
a commonly reported bug related to applying gitignore rules from parent
directories.
Additional information
The currently shipped rg version is from Sep 9, 2024 and should be updated. There also doesn't seem to be a way to disable the internally shipped version of the CLI tools. Currently, I manually symlinked the internal tool to my real rg installation, which will obviously break with the next update.
Activity
Update rg to the latest stable version (15.1)
Update vendored rg to the latest stable version (15.1) (#12007)
etraut-openai commentedon Feb 17, 2026
Thanks for the bug report. This will be addressed in the next release.
tth05 commentedon Feb 17, 2026
Thanks for the quick fix!
Update vendored rg to the latest stable version (15.1) (openai#12007)
feat: switch kontext integration to direct injected tool runtime (#4)
Update vendored rg to the latest stable version (15.1) (openai#12007)
Update vendored rg to the latest stable version (15.1) (openai#12007)