Error when starting a thread with a new worktree and no environment configured

Open 💬 1 comment Opened Aug 17, 2026 by rafaself

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.803.81509

What subscription do you have?

Plus

What platform is your computer?

Linux 7.1.8-100.fc43.x86_64 x86_64

What issue are you seeing?

Error when starting a thread with a new worktree and no environment configured

<img width="772" height="471" alt="Image" src="https://github.com/user-attachments/assets/94e0af86-c25a-4133-810f-c1f70e2bbde3" />
<img width="772" height="376" alt="Image" src="https://github.com/user-attachments/assets/7b6d0e35-f5da-41d5-bf39-f706f32850d5" />

What steps can reproduce the bug?

Feedback ID: no-active-thread-01a011ef-61bf-7f70-a626-b4d5d124d81c

What is the expected behavior?

Should start the thread in a new worktree from the current branch selected

Additional information

_No response_

View original on GitHub ↗

1 Comment

rafaself · 10 days ago

The error likely occurs when the Worktree root field is set to a value other than the default. I had a preset value in the field, but after clearing it, everything worked as expected.

<img width="789" height="173" alt="Image" src="https://github.com/user-attachments/assets/f7c16c57-6b8b-482f-a668-d84030b46fc2" />