One of my projects is completely blocked for using Background Agents - either Cursor IDE or Web-based
I've recloned the repo twice, tried web, tried local, tried git hard reset, refetch, fsck - none of which reported any errors, but just to be doubly double sure...
*Allocating resources for this agent (request id: bc-4a8f8b77-c379-4d09-993a-0952eca7abc8)...
Error: Environment failed to start
Details:
fatal: You are attempting to fetch [commit-id], which is in the commit graph file but not in the object database.
This is probably due to repo corruption.
If you are attempting to repair this repo corruption by refetching the missing object, use 'git fetch --refetch' with the missing object.
fatal: could not fetch [different-commit-id-than-above] from promisor remote
[Status] Checking out repository…*
Other projects work fine, and local Cursor chats are just fine.
It's only the Cursor Background Agents that are breaking. Nothing special about project - just node.js/TypeScript code and standard package.json
The project is only about a week old, and has been working fine for a week until today - didn't do anything special other than start a new background agent
Seems like a Docker build cache, but I've used the 'clean' Docker/build option when launching the Background agent and it made no difference at all.