t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Checkpoints using git in non-git repos

Open UtkarshUsername opened this issue 8 months ago • 1 comments

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

UtkarshUsername avatar Mar 07 '26 02:03 UtkarshUsername

fixed by #320

UtkarshUsername avatar Mar 10 '26 10:03 UtkarshUsername