Roo-Code/test-issue-5301/b
Roo Code aa77ada1f9 Fix #5301: Prevent early termination in list-files when directory has many files
- Remove early process termination in execRipgrep that was causing incomplete directory traversal
- Implement balanced sampling algorithm to ensure fair representation across all directories
- Increase timeout values to allow complete directory scanning before applying limits
- Add applyBalancedSampling function to distribute file selection evenly across directories
- Maintain existing 200-file limit while ensuring all directories are represented

This fixes the issue where having 200+ files in one directory (e.g., 'a/') would cause
other directories (e.g., 'b/') to be completely ignored in the file listing results.
2025-07-01 15:59:57 +00:00
..
important-file1.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
important-file2.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
important-file3.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00