A pending codebase index will freeze the composer

Hi, thanks for reporting an issue with Cursor.

Before you report this, we’d appreciate if you can search this forum to see if this issue has already been reported.

If you have done so, please check this box.
on

Describe the Bug

This one took a few tries for me to identify but once you see the pattern it can’t be unseen.

Every once and a while the simplest of commands will hang on the 3 blinking generating dots. If I do a cmd-shift-p and reload the window, an “indexing codebase” notice will spring up instantly. After the index runs my command executes without a problem. As far as I can tell the “begin indexing” collides with the most recent “generating” process and both hang up.

Steps to Reproduce

This reliably reproduces but takes a while to get to. I’m sure your devs will recognize it once they see this.

Expected Behavior

Implied

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.2.0

Additional Information

This is a strange field to require.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, please share the logs from the Output panel. To do this, go to Views > Output, then click on the dropdown menu and select Cursor Indexing & Retrieval.