Skip to content

snapshot failing in git subfolder #2903

@dgageot

Description

@dgageot

Where running an agent in a git subfolder, the snapshotting mechanism fails to work:

time=2026-05-27T09:27:53.104+02:00 level=WARN msg="failed to add snapshot files" exit_code=128 stderr="warning: could not open directory 'assistant/assistant/': No such file or directory\nfatal: pathspec 'assistant/gogo.yaml' did not match any files\n"

Here, the git repo contains an assistant subfolder and the agent runs from that subfolder.

Metadata

Metadata

Assignees

Labels

area/agentFor work that has to do with the general agent loop/agentic features of the appkind/fixPR fixes a bug (maps to fix: commit prefix)

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions