Skip to content

Background agents - Git repos with no commits don't appear to work #291641

@lostintangent

Description

@lostintangent

If you try to start a background session in a git repo that has no commits, the session will appear to move forward without creating a worktree, but then it seems to get confused about what the CWD is. This has the effect of the agent not seeing your workspace files, and therefore, the task will fail.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugchat-background-agentBackground Agent related features/bugsverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions