Skip to content

Project Explorer fails to expand populated folders in large repos after ExceededMaxFileLimit #10207

@danielflorezjllo

Description

@danielflorezjllo

Summary

Project Explorer can show dot-directories (for example .agents) as non-expandable/empty in large repositories because file tree construction fails with ExceededMaxFileLimit.

Problem

In workspace root ~/code, the .agents folder is visible in Warp's sidebar but appears empty or does not expand as expected, even though it contains many files and subdirectories on disk.

Expected behavior

Project Explorer should either (a) expand .agents and show its contents, or (b) show a clear, user-visible message that indexing/tree generation was limited due to repository size.

Actual behavior

The folder appears effectively empty/non-expandable in the sidebar while filesystem checks confirm it is populated. Logs show file tree generation failures:

  • Failed to build file tree for repository: ExceededMaxFileLimit
  • repo root: ~/code

Reproduction steps or desired workflow

  1. Open Warp with project root ~/code.
  2. In Project Explorer, try to expand .agents.
  3. Observe it appears empty or does not show expected contents.
  4. Check local filesystem and logs:
    • .agents contains many files/subfolders.
    • ~/Library/Logs/warp.log includes repeated Failed to build file tree for repository: ExceededMaxFileLimit events for this repo root.

Artifacts

  • Log evidence from ~/Library/Logs/warp.log:
    • Failed to build file tree for repository: ExceededMaxFileLimit
    • repeated occurrences tied to ~/code
  • Local repository scale at time of investigation: ~153,428 tracked files.

Warp version

Latest

Operating system

macOS (version unknown)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:performanceGeneral application performance, responsiveness, and resource usage.area:workspaceFile tree, workspace navigation, project switching, and working-directory management.bugSomething isn't working.os:macmacOS-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions