Roo-Code/test-issue-5301/a
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
..
file001.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file002.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file003.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file004.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file005.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file006.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file007.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file008.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file009.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file010.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file011.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file012.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file013.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file014.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file015.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file016.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file017.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file018.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file019.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file020.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file021.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file022.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file023.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file024.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file025.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file026.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file027.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file028.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file029.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file030.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file031.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file032.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file033.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file034.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file035.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file036.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file037.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file038.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file039.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file040.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file041.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file042.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file043.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file044.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file045.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file046.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file047.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file048.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file049.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file050.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file051.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file052.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file053.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file054.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file055.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file056.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file057.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file058.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file059.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file060.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file061.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file062.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file063.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file064.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file065.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file066.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file067.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file068.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file069.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file070.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file071.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file072.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file073.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file074.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file075.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file076.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file077.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file078.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file079.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file080.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file081.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file082.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file083.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file084.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file085.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file086.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file087.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file088.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file089.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file090.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file091.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file092.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file093.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file094.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file095.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file096.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file097.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file098.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file099.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file100.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file101.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file102.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file103.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file104.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file105.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file106.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file107.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file108.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file109.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file110.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file111.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file112.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file113.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file114.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file115.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file116.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file117.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file118.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file119.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file120.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file121.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file122.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file123.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file124.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file125.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file126.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file127.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file128.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file129.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file130.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file131.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file132.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file133.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file134.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file135.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file136.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file137.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file138.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file139.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file140.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file141.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file142.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file143.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file144.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file145.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file146.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file147.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file148.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file149.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file150.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file151.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file152.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file153.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file154.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file155.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file156.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file157.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file158.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file159.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file160.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file161.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file162.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file163.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file164.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file165.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file166.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file167.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file168.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file169.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file170.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file171.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file172.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file173.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file174.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file175.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file176.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file177.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file178.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file179.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file180.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file181.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file182.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file183.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file184.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file185.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file186.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file187.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file188.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file189.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file190.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file191.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file192.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file193.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file194.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file195.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file196.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file197.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file198.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file199.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00
file200.txt Fix #5301: Prevent early termination in list-files when directory has many files 2025-07-01 15:59:57 +00:00