continue icon indicating copy to clipboard operation
continue copied to clipboard

feat(cli): filter lines with more than 1000 characters

Open uinstinct opened this issue 2 months ago • 0 comments

Description

Filter out file lines with more than 1000 characters when ripgrep search.

resolves CON-4237

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screen recording or screenshot

[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Summary by cubic

Filter CLI ripgrep search results to exclude lines longer than 1000 characters so results are cleaner and more useful. Addresses CON-4237; if all matches are filtered, we now return "No matches found" and added a unit test for the new behavior.

Written for commit bde28fbb4e400aecd5e33b1c8e283b8b624e741a. Summary will update automatically on new commits.

uinstinct avatar Nov 13 '25 12:11 uinstinct