Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
On Remote-SSH workspaces with a large project tree (especially over NFS), Cursor’s .cursorignore discovery can hang for 60s+ and never finish. While that walk is stuck, the remote extension host becomes unhealthy: Agent tool provider registration times out, Search never registers, and Agent Shell/tools hang forever — even though a normal SSH terminal in the same folder works.
Same host / same Cursor remote server is fine for smaller sibling projects. Adding a root .cursorignore that excludes heavy dirs (data/, models/, etc.) immediately unblocks Agent tools.
Looks like a missing timeout / fail-open for .cursorignore discovery: a large/slow filesystem walk blocks agent-exec registration instead of continuing with a warning.
Steps to Reproduce
Connect via Remote-SSH to a Linux host with a large NFS-backed project (many heavy dirs: data/, data_tmp/, models/, mysql/, third_party/, etc.).
Open the project root as the workspace with no root .cursorignore.
Start Agent chat and run a trivial command, e.g. echo agent-ok.
Observe Agent tools hang. In logs you get:
[CursorIgnore] .cursorignore discovery has not completed after 60000ms; context reads that wait for it are still blocked
[agent-exec] Provider registration timed out (attempt 1/9, timeout=30000ms), retrying
[SearchService] Extension registration timed out after 5000ms
No search provider registered for scheme: vscode-remote
Workaround: add root .cursorignore + files.watcherExclude / search.exclude, Reload Window → tools work again.
Expected Behavior
.cursorignore discovery should time out or skip slow subtrees without blocking Agent tool registration.
Agent Shell should keep working even if ignore discovery is incomplete (fail-open + warning).
Ideally warn that the workspace tree is too large/slow and suggest creating .cursorignore.
Operating System
Linux
Version Information
Cursor: 3.24.18 (stable)
Commit: be4c9e5350d77747b42cd467cbd3370a753d4640
Date: 2026-10-13T18:12:58.182Z
Client OS: Windows 10 (10.0.22000)
Remote: Ubuntu 22.04, Linux 5.15.0-91-generic, Remote-SSH over JumpServer, project on NFS
Does this stop you from using Cursor
Yes - Cursor is unusable