"No source control providers registered" after restart – resolved by deleting workspaceStorage

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor intermittently loses all source control integration after the system has been shut down for an extended period. The Source Control panel shows:

“No source control providers registered”

The issue is resolved by deleting the workspaceStorage folder, indicating corrupted or invalid workspace state.

Steps to Reproduce

Open a project with a Git/Bitbucket repository in Cursor
Shut down the computer for an extended period (e.g., overnight)
Restart the system and reopen Cursor
Open the Source Control tab

Expected Behavior

The Git repository should be detected and source control features should be available.

Operating System

Windows 10/11
MacOS
Linux

Version Information

Observed since at least version 2.6.22 through 3.1.17

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue. The Extension Host doesn’t initialize after a long idle period, so the built-in Git extension doesn’t start and the SCM view shows “No source control providers registered”. Deleting workspaceStorage is a known workaround.

We’re tracking this internally, but there’s no ETA for a fix yet. To add your case to the report, please send logs:

  • Command Palette Ctrl+Shift+P > Developer: Open Logs Folder
  • Zip and attach it here. We need the Window, Main, and Extension Host sections

Also helpful to know:

  • Your OS. Your report lists all three, so please confirm which one you reproduced this on
  • Next time you hit the bug before deleting workspaceStorage, grab logs right away. That’s the most useful

Related threads with the same symptom for context: No Agents working and No source control providers registered, Extension Host fails to initialize (Timeout waiting for auth and plugins), breaking AI Agents and Source Control.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I open some of my projects, Cursor does not work.

The IDE opens, but it claims that “No source control providers registered”, I can’t see the terminals and agent is unreachable. When I try any prompt it keeps loading for some time and then times out on “Agent Execution Timed Out”. It offers to “Reload the Window” but it usually doesn’t work (sometimes, very randomly it does help).

Then sometimes it helps to restart Cursor several times, or trying to open working projects (which is also random) and then re-opening the ones that faced this issue initially. But these gymnastics are unpleasant. I need to open the project and start working.

Steps to Reproduce

Just open the Cursor IDE with the last project it remembers, or open any other project that faces this issue (most do).

Expected Behavior

I open the IDE with the last project, or I open any of the project and it just works. I can see the git history, the terminals and agents are responsive.

Operating System

Windows 10/11

Version Information

Version: 3.1.17 (user setup)
VSCode Version: 1.105.1
Commit: fce1e9ab7844f9ea35793da01e634aa7e50bce90
Date: 2026-04-19T19:33:58.189Z
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

Sometimes - I can sometimes use Cursor

If codex is also running close both then only start Cursor, fixxed for me after many restart attempts on Cursor only. Have a great day.

Edit: AI Answer below

Summary
If Codex and Cursor both use VS Code-style workspace state, extensions, Git watchers, or shared workspace metadata, closing both and starting only Cursor can help because:

Codex may keep file watchers or Git processes alive.

Cursor may reopen with stale workspace state after sleep/shutdown.

Both tools may read/write related workspace cache/state.

Long shutdown/sleep can leave invalid extension host or Git provider state.

Starting Cursor alone forces a cleaner extension/Git initialization path.
But this is probably a workaround, not the root fix.

Because deleting workspaceStorage fixes it, the real issue is likely corrupted/stale Cursor workspace state, not the repository itself.

If Git appears, then Codex/shared state or lingering processes may contribute. If it still fails, the bug is inside Cursor workspace storage / Git extension activation.

Experienced the same issue today on macOS 26.3.1 (a) (25D771280a), Cursor Version 3.2.16 (Universal), with Codex enabled. Once Codex was completely uninstalled from my computer and Cursor was restarted, the IDE started working as usual. Before that, it was throwing the same errors other users mentioned in the thread.

Logs: 20260429T113131.zip (49.3 KB)

they really have to take a look at this, it now happens every single time i start Cursor

Hey, I get it. If it crashes on every launch, that really blocks you from getting work done. We’re tracking the issue, but to add your case to the report we need a bit more info:

Since it happens every time, these logs are extra useful and should help the team pin down the root cause.

@deanrie where is that workspaceStorage on Windows?

@SamTyurenkov on Windows the folder is here, it depends on the install type:

  • User install, most common: %APPDATA%\Cursor\User\workspaceStorage
    • so C:\Users\<your_user>\AppData\Roaming\Cursor\User\workspaceStorage
  • System-wide install: C:\ProgramData\Cursor\User\workspaceStorage

Before deleting, it’s a good idea to back up the folder. It contains state.vscdb with chat history, deleting it will remove that. PowerShell:

Copy-Item "$env:APPDATA\Cursor\User\workspaceStorage" -Destination "$env:USERPROFILE\Desktop\workspaceStorage_backup" -Recurse

One more request: before deleting workspaceStorage, please collect logs Ctrl+Shift+P > Developer: Open Logs Folder, zip them, and attach them here. We need the Window, Main, and Extension Host sections. After clearing, it’s harder to reproduce the issue, and the logs really help the team find the root cause.