Skip to content

[BUG] Checkpointing disabled when workspace root is not a Git repository #8164

@jfcantu

Description

@jfcantu

Problem (one or two sentences)

RooCode is incorrectly telling me that checkpointing is disabled because of nested Git repositories.

Context (who is affected and when)

Any time I try and run a task.

Reproduction steps

  1. Create a new workspace folder.
  2. Clone a Git repository into that folder, so that the Git repository appears as a child folder (i.e., /workspace-root/cloned-repository/)
  3. Open the workspace folder in VSCode, and then try and run any RooCode tasks.

Expected result

The task should start and run normally.

Actual result

The task runs, but warns that checkpointing is disabled due to nested Git repositories.

Variations tried (optional)

Tried running RooCode directly in a cloned repository - error did not occur.

App Version

3.28.3

API Provider (optional)

AWS Bedrock

Model Used (optional)

N/A

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

I suspect that, since my workspace root is not a Git repository, RooCode is actually initializing shadow-git there and therefore creating nested repositories on its own.


[Task#getCheckpointService] initializing shadow git
[t#getNestedGitRepository] found 3 nested git repositories, first at: vela
[Task#getCheckpointService] initShadowGit -> Checkpoints are disabled because a nested git repository was detected at: vela. Please remove or relocate nested git repositories to use the checkpoints feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions