Skip to content

Sometimes get worktree failure error for folder session #319764

@bamurtaugh

Description

@bamurtaugh

My CLI AHP sessions have been kicking off successfully today, but I got one error while kicking off a new one:

Error: (sendFailed) Error: git worktree exited with code 128: fatal: Could not reset index file to revision 'HEAD'.

Image

Interestingly, this happened for a folder (non-worktree) session. @karthiknadig is getting this repeatedly too (I think he got this for every session he tried to kick off, whereas I only got it 1 in maybe 10 sessions).

Metadata

Metadata

Assignees

Labels

agent-hostIssues for the agent-host implementation (not the protocol)bugIssue identified by VS Code Team member as probable buggitGIT issues

Type

No type
No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions