Skip to content

Prompt and entire task contents deleted due to nested git checkpoint; stuck on "Still initializing checkpoint..." #7765

@jettoblack

Description

@jettoblack

App Version

3.27.0

API Provider

OpenRouter

Model Used

Qwen3 Coder Free

Roo Code Task Links (Optional)

I was about 30 requests deep in a long Architecture mode session with a long and carefully crafted prompt, when I hit an API limit. Roo made several API retry attempts but I knew it wouldn't succeed on retry, so I clicked Cancel. Immediately the task prompt and entire task message history disappeared. The only message showing is "Still initializing checkpoint... If this takes too long, you can disable checkpoints in settings and restart your task." It never completes and I've not found any way to restore the missing prompt and task history.

Pressing up arrow in the message window doesn't show any history either. Unless it was logged somewhere, it looks like I'll have to recreate the prompt and restart from the beginning.

It appears to be caused by the project having a nested git checkpoint in a submodule. This message appears multiple times in the log:

[createTask] parent task 0e6c7077-1885-416b-ad88-ffd3324953a1.4bb82cb1 instantiated
[Task#getCheckpointService] initializing shadow git
[t#hasNestedGitRepositories] found 1 nested git repositories: (submodule_name)/.git
[Task#getCheckpointService] initShadowGit -> Checkpoints are disabled because nested git repositories were detected in the workspace. Please remove or relocate nested git repositories to use the checkpoints feature.
Image

Attempting to share the task fails with Task not found:

https://app.roocode.com/share/4a15b32d-b90e-4b7a-9397-d9e740ae1dd8
[CloudAPI] Sharing task 40ef1358-e349-4860-9233-cf976332d275 with visibility: public
[ShareService] Error sharing task:
Error: Task not found
TaskNotFoundError: Task not found
	at pQe.handleErrorResponse (/home/user/.vscode/extensions/rooveterinaryinc.roo-cline-3.27.0/dist/extension.js:1375:90998)
	at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
	at async pQe.request (/home/user/.vscode/extensions/rooveterinaryinc.roo-cline-3.27.0/dist/extension.js:1375:90457)
	at async pQe.shareTask (/home/user/.vscode/extensions/rooveterinaryinc.roo-cline-3.27.0/dist/extension.js:1375:91221)
	at async fQe.shareTask (/home/user/.vscode/extensions/rooveterinaryinc.roo-cline-3.27.0/dist/extension.js:1375:89412)
	at async t.shareTask (/home/user/.vscode/extensions/rooveterinaryinc.roo-cline-3.27.0/dist/extension.js:1375:95183)
	at async jgr (/home/user/.vscode/extensions/rooveterinaryinc.roo-cline-3.27.0/dist/extension.js:5893:12699)

🔁 Steps to Reproduce

  1. Open a folder that contains a nested submodule with its own git repo
  2. Run a task
  3. Cancel an in-progress API request or retry attempt

💥 Outcome Summary

Expected checkpoint process to succeed, or fail gracefully without deleting the task prompt and history

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions