Skip to content

feat(agfs): add ripgrep-based grep acceleration and fix vimgrep line parser#432

Merged
zhoujh01 merged 2 commits intovolcengine:mainfrom
yangxinxin-7:feat/grep
Mar 5, 2026
Merged

feat(agfs): add ripgrep-based grep acceleration and fix vimgrep line parser#432
zhoujh01 merged 2 commits intovolcengine:mainfrom
yangxinxin-7:feat/grep

Conversation

@yangxinxin-7
Copy link
Collaborator

  • Add ripgrep fallback in Grep/GrepStream handlers when rg is available and the underlying FS is a local path resolver
  • Expose ResolvePath on LocalFS to satisfy the localPathResolver interface
  • Fix parseRipgrepLine to use the first :line:col: separator match instead of the last, so content containing :digit:digit: patterns is parsed correctly
  • Add unit tests for parseRipgrepLine
  • fix tree -L n bug

…parser

- Add ripgrep fallback in Grep/GrepStream handlers when `rg` is available and the underlying FS is a local path resolver
- Expose `ResolvePath` on LocalFS to satisfy the `localPathResolver` interface
- Fix `parseRipgrepLine` to use the first `:line:col:` separator match instead of the last, so content containing `:digit:digit:` patterns is parsed correctly
- Add unit tests for `parseRipgrepLine`
@zhoujh01 zhoujh01 merged commit 42cced0 into volcengine:main Mar 5, 2026
21 of 22 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenViking project Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants