Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After auto-updating to the latest version, Cursor crashed and restarted. Upon restart, it treated me like a new user (prompting for Login and Theme setup).
Since then, all Chat and Composer history is gone. Opening the Chat or Composer (Ctrl+I/Agent) results in an infinite “Loading Chat” state.
Key Findings:
Data Persistence: My workspaceStorage folder is over 2GB. I inspected state.vscdb using DB Browser for SQLite. The raw text data EXISTS in the ItemTable (under keys like composer.composerData or workbench.panel.aichat), but Cursor is unable to load it.
Logs: The Developer Tools console shows: [composer] No composer data handle found and SQLITE_ERROR: no such column: key (suggesting a schema mismatch or corruption during migration).
Migration Failure: It seems the migration from the old “Composer” model to the new “Agent” model failed, leaving data in the old table structure without creating the necessary handles/references in cursorDiskKV.
Rollback Failed: Downgrading to a previous version does not restore the chat, likely because the DB file structure was partially modified or corrupted during the failed update.
External Tools: Even open-source Cursor chat viewers cannot read the DB, indicating a non-standard or corrupted state.
Steps to Reproduce
Update Cursor to the latest version (from a version with extensive chat history).
App restarts unexpectedly.
App prompts for “Login” and “Theme Setup” (as if it’s a fresh install).
Open Chat pane or Composer (Agent).
Observe infinite “Loading…” spinner.
Expected Behavior
The update should migrate existing ItemTable chat records to the new storage schema (Agent/cursorDiskKV) without data loss, and the UI should load history immediately.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.7.54 (system setup) → CursorSetup-x64-2.1.20, CursorSetup-x64-2.1.32, ./// 2.1.34 → 2.1.36 A problem occurred during the update of the corresponding version.
VSCode Version: 1.99.3
Date: 2025-10-21T19:07:38.476Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631
Additional Information
Storage Size: ~2GB in workspaceStorage.
Observed Error: [composer] No composer data handle found
Database State: ItemTable contains JSON data, but cursorDiskKV seems empty or missing corresponding handles. WAL and SHM files were present but merging them did not fix the issue.
Does this stop you from using Cursor
Yes - Cursor is unusable
