Skip to content

Checkpoints using git in non-git repos #236

Description

@UtkarshUsername

If you send a message in a project which is not a git repo, it still tries to create a checkpoint using git, which causes the following error:

 WARN (#82): checkpoint reactor failed to process input {
  source: 'runtime',
  eventType: 'turn.started',
  cause: 'Error: Git command failed in CheckpointStore.captureCheckpoint: git add -A -- . (/home/utkarsh/Space) - git add -A -- . failed: fatal: not a git repository (or any of the parent directories): .git\n' +
    '    at Array.<anonymous> (file:///home/utkarsh/.npm/_npx/90722cb5c80a411e/node_modules/t3/dist/index.mjs:3362:19)\n' +
    '    at Effect.fn (file:///home/utkarsh/.npm/_npx/90722cb5c80a411e/node_modules/t3/dist/index.mjs:16327:9)\n' +
    '    at Effect.fn (definition) (file:///home/utkarsh/.npm/_npx/90722cb5c80a411e/node_modules/t3/dist/index.mjs:15842:29)'
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions