HF RL Explorer

Issue: Workspace file listing times out on large directories

Issue: Workspace file listing times out on large directories: a task in LegoFlow-SWE (Harbor dataset). The POST /api/home/workspace files endpoint scans files recursively and processes them synchronously. In projects with many files, the request can exceed the server’s timeout, resulting in a…

The task

The `POST /api/home/workspace_files` endpoint scans files recursively and processes them synchronously. In projects with many files, the request can exceed the server’s timeout, resulting in a `Request timed out: Loading workspace files took too long` error. This makes the workspace view unusable for large codebases.

Part of Lego-X/LegoFlow-SWE.