fix(web): build agent search queries as IR - #1573
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
WalkthroughGrep and glob tools now construct structured ChangesStructured search query migration
Estimated code review effort: 3 (Moderate) | ~20 minutes Mergeability Score: ⚪ Minimal · up to The PR changes search query construction to preserve structured grep and glob semantics without re-lexing values; no actionable merge-blocking risk remains at the current head, so it is merge-ready after normal checks. Sequence Diagram(s)sequenceDiagram
participant AgentTool
participant QueryBuilder
participant SearchService
AgentTool->>QueryBuilder: Build structured QueryIR
QueryBuilder-->>AgentTool: Return QueryIR
AgentTool->>SearchService: Execute with queryType ir
SearchService-->>AgentTool: Return search results
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes SOU-1960
Fixes SOU-1778
Summary
grepandglobsearches asQueryIRinstead of interpolating structured tool inputs into query-language stringsqueryType: irTesting
yarn workspace @sourcebot/web test --runyarn workspace @sourcebot/web lintNote
Cursor Bugbot is generating a summary for commit 4467620. Configure here.
Summary by CodeRabbit
Bug Fixes
grepandglobsearches so spaces, commas, quotes, punctuation, and escaped paths are interpreted correctly.Documentation