Background Agent Setup Unable to open 'workspace'

Describe the Bug

I am unable to get background agents working for a specific repo I own. When I try to spin up the background agent it fails to check out the repository with the error

“Environment failed to start you are attempting to fetch XXXXXXXX, which is in the commit graph file but not in the object database”.

I tried Restarting the background environment set up but that leads to the workspace not getting pulled down and the snapshot “Failed to onnect to the remote extension host server”

Not sure how to proceed. Seems to work fine with other repos.

Steps to Reproduce

Try to start a background agent or set up the enviornment.

Expected Behavior

Background agent should have a working environment

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6 (Universal)
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:16:57.571Z (5 days ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

1 Like

Same issue here