Cannot destructure property 'gitRoot' of 'undefined' as it is undefined.
Resolved 💬 2 comments Opened Dec 18, 2025 by tzmbzt Closed Dec 18, 2025
What version of Codex is running?
0.4.52
What subscription do you have?
Pro
Which model were you using?
gpt-5.2
What platform is your computer?
_No response_
What issue are you seeing?
[error] Error fetching vscode://codex/git-current-branch: TypeError: Cannot destructure property 'gitRoot' of 'undefined' as it is undefined.
Getting this in VSCodium + Codex. Not in issue in the earlier versions. Started around 0.4.48 I think.
What steps can reproduce the bug?
It just happens, likely more common. Probably in regards to usage with Github.
What is the expected behavior?
Not crashing.
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗