Open notatestuser opened 2 weeks ago
It's not intended that git be required so this sounds like a bug. Could you paste in the error message?
I've been trying to reproduce it for about an hour without luck. I'll let you know if it appears again, but for context, it was on a repo where I had just deleted .git
before running plandex.
Caught it. It happened in the final stages of a tell.
🏗 Build incomplete
📄 app/components/BalanceDisplay.tsx ⠹ | 📄 app/lib/web-service.ts ✅ | 📄 package.json ✅
🚨 Server error
→ Stream error
→ Failed to commit
→ Error committing files to git repository for dir
→ /plandex-server/orgs/40173f9d-21a1-xxxx-xxxx-eab753989xxx/plans/3cbd4902-e2b2-xxxx-xxxx-a94fe621axxx, err
→ Exit status 128, output
→ Fatal: unable to write new_index file
And now I can see that it's trying to use git within plandex-server, so my original suspicion that it was making git necessary within the project dir seems to have been wrong.
If it matters, I'm using plandex 1.1.1 on macOS 15.0.1 with Apple Git-154.
Thanks @notatestuser, this is a known race condition issue on the server and a fix is slotted for the next release. You can usually work around it by using plandex rewind
and plandex continue
to retry.
Plandex errors out at the end of "tell" when git has not been init'ed in the current working dir. This seems a bit strange as, although git is the most popular scm on the block, a tool like plandex should not require that we use it.