"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.

  • I have the Codex standalone application (not the extension). But regardless, I don’t think the extension is the issue because I’m pretty sure I’ve had this error even why trying to launch Cursor with extensions disabled - not something I’ve done in a while since I now default to launching cursor with my script instead of messing around with other ways.

  • Logs attached - I just did the latest update which relaunched Cursor and the error is still there. So Version: 3.6.31 (Mac OS Latest)

    20260602T103628.zip (129.4 KB)

Hey, thanks for the logs, they really help. The logs match a known pattern on macOS: Extension Host spawns but stays silent, then you get a cascade of timeouts git context provider → MCP → No Connect transport provider registered. And your point about Codex is right, the issue reproduces even without the extension, so the Codex extension isn’t the root cause. The workaround turn off Codex helps some users, but the problem is broader.

We’re tracking the issue, but there’s no ETA for a fix yet.

To add the most useful data to the report, it’d be great to also get:

  • The contents of ~/Library/Application Support/Cursor/logs/ from the same run. It contains Cursor Helper (Plugin).log for the exthost processes. In the archive you sent, we only had the Developer Logs Folder, and these Helper logs can show exactly what Extension Host is stuck on at startup.
  • If you hit the bug again before deleting workspaceStorage, please run sample <exthost-pid> and if you can, also lsof -p <exthost-pid> on the stuck process. This is the most valuable part, it shows where it’s hanging.
  • Optional crash reports or a sysdiagnose from the same time window.

Once you’ve got it, drop it here. If we get an update on the fix, I’ll reply in the thread.

My current workaround is running “Developer: Reload Window” until it’s fixed, typically 3 or 4 times.

This is such a disruptive and urgent bug! How is there no ETA for a fix?!

Spending over 15 minutes re-opening windows over and over hoping it sees the Git connection. This is table stakes functionality.

This is seriously having me consider fully churning from Cursor @deanrie

Hey, I get it, losing 15 minutes every time to restart the window really gets in the way, especially for basic stuff like Git.

For now, a more reliable workaround than looping Reload Window is to delete workspaceStorage (it’s best to back it up first, it contains state.vscdb with chat history):

  • Windows user install: %APPDATA%\Cursor\User\workspaceStorage
  • macOS: ~/Library/Application Support/Cursor/User/workspaceStorage

We’re tracking the issue on our side, but honestly I can’t share an exact ETA for a fix yet.

To add your case to the report and help the team get to the root cause, please send:

  • Your OS and Cursor version Help > About
  • Logs captured before deleting workspaceStorage: Ctrl+Shift+P > Developer: Open Logs Folder, zip it and attach it here. We need Window, Main, and Extension Host
  • If you’re on macOS, also include ~/Library/Application Support/Cursor/logs/ from the same run (it has Cursor Helper (Plugin).log, which shows what the Extension Host is stuck on)

Logs captured at the moment the bug happens before clearing storage are the most valuable. Once there’s an update on the fix, I’ll reply in the thread.

Linux (ubuntu) user,

I have same issue.

But when I close application, and open same project in visual studio, and sync, after that I start cursor it’s finding the git source control.

Hey, thanks for the report. Yeah, this is the same known issue. Extension Host doesn’t initialize on startup, so the built-in Git extension doesn’t launch and the SCM panel shows No source control providers registered. We’re tracking it, but we don’t have an exact ETA for a fix yet.

Your workaround open the project in VS Code, sync, then launch Cursor is helpful, thanks for sharing. A more reliable workaround than looping Reload Window is to delete workspaceStorage (best to back it up first, it contains state.vscdb with chat history). On Linux the path is usually:

  • ~/.config/Cursor/User/workspaceStorage

Since you’re the first user in this thread on Linux Ubuntu (before this it was only Windows and macOS), your data will be especially helpful for the team. If you hit the bug again before deleting workspaceStorage, please send logs:

  • Ctrl+Shift+P > Developer: Open Logs Folder, zip it and attach it here. We need the Window, Main, and Extension Host sections
  • Exact Cursor version: Help > About
  • Your Ubuntu distro and kernel version

Logs captured at the moment the bug happens, before clearing storage, are the most valuable. I’ll post an update in the thread once we have a fix.