File tree intermittently fails to expand in Agent mode on Windows (often after Git operations)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Issue Description:
Sometimes, the file explorer/tree area intermittently freezes or fails to expand subdirectories in Agent mode. This issue happens most frequently right after performing Git operations. It doesn’t happen 100% of the time, but when it does, the file tree simply stops responding and won’t show lower-level folders or files.

Steps to Reproduce

Use Cursor in Agent mode on Windows.
Execute some Git operations/commands.
Try to click and expand a folder in the file explorer panel.
Result: The sub-files or sub-folders fail to display.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.5.17 (user setup)
VSCode Version: 1.105.1
Commit: d5b2fc092e16007956c9e5047f76097b9e626ca0
Date: 2026-05-20T02:43:31.559Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, this is a known issue with the file tree in Agent mode on Windows. It most often shows up after bulk operations or Git commands run by the agent. We’re already tracking it, there’s no ETA for a fix yet, but we’ve shipped a few fixes in this area over the last few weeks, so it should keep getting better.

Workarounds:

  • Reload Window Ctrl+Shift+P → Developer: Reload Window, after that the tree usually comes back
  • Collapse and expand the project root folder

A few quick questions so I can link your report to the right ticket:

  • After Reload Window, does the tree work normally, or does the issue come back right away?
  • Which Git actions trigger it most often commit, branch switch, stash?
  • If you have the Request ID from the agent session where it happened, please share it, it helps with debugging

Related threads for context:

Hey @hww just checking in. Since your report, we’ve shipped a few improvements around the file tree, and you’re currently on 3.5.17. The latest stable build is 3.7.21.

Can you update to the latest version via Help > Check for Updates, or download it from Cursor · Download, and let me know if the issue still happens after that? Some of the fixes in this area landed after 3.5.17, so there’s a good chance it’ll improve.

If the file tree still freezes after Git actions post-update, please share the details from my questions above:

  • After Reload Window, does the file tree work normally, or does the bug come back right away?
  • Which Git actions trigger it most often, commit, branch switch, stash?
  • The Request ID from the agent session where it happened, if you have it

That’ll help me tie your report down more precisely. I can’t give an ETA for a fix yet, but we’re actively working on this area.