Uh oh!
There was an error while loading. Please reload this page.
test: remove unused Ripgrep.search coverage - #16554
Conversation
Greptile SummaryThis PR removes the
Confidence Score: 3/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["Ripgrep.search()"] --> B["Build shell command\nargs.join(' ')"]
B --> C["Execute via Bun ${{raw}}"]
C --> D{"exitCode !== 0?"}
D -- "yes" --> E["return []"]
D -- "no" --> F["Split output lines"]
F --> G["JSON.parse each line"]
G --> H["Result.parse (Zod)"]
H --> I["filter type === 'match'"]
I --> J["map r => r.data"]
J --> K["Return match array"]
style E fill:#90EE90,stroke:#228B22
style K fill:#FFB6C1,stroke:#CC0000
E:::tested
K:::untested
classDef tested fill:#90EE90,stroke:#228B22,color:#000
classDef untested fill:#FFB6C1,stroke:#CC0000,color:#000
subgraph Legend
L1["✅ Tested (empty-result path)"]:::tested
L2["❌ No longer tested (match-result path)"]:::untested
end
|
Uh oh!
There was an error while loading. Please reload this page.
Summary
Ripgrep.searchmetadata test frompackages/opencode/test/file/ripgrep.test.tsRipgrep.filesbehavior and the empty search case that are still exercised hereVerification
/tmp/bun-1.3.10 test test/file/ripgrep.test.tsbun turbo typecheck