codex - 💡(How to fix) Fix Codex Desktop error boundary when rendering git directives with Windows cwd paths

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Codex Desktop shows the generic error boundary screen: Oops, an error has occurred After opening or rendering the affected thread, the app displays the error boundary instead of the conversation. 4. The thread fails to render and shows the generic error boundary screen. The entire thread fails to render and shows the generic error boundary. error [electron-message-handler] error boundary

Code Example

Oops, an error has occurred

---

::git-stage{cwd="C:\path\to\repo"}
::git-commit{cwd="C:\path\to\repo"}
::git-push{cwd="C:\path\to\repo" branch="main"}

---

::git-stage{cwd="C:\path\to\repo"}

---

error [electron-message-handler] error boundary
name=LocalConversationPage
errorMessage="invalid syntax at line 1 col 5:

1  cwd=\"C:\\path\\to\\repo\"
       ^"

---

markdown-*.js
local-conversation-thread-*.js
local-conversation-page-*.js
RAW_BUFFERClick to expand / collapse

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

Codex Desktop 26.513.31313

What subscription do you have?

Pro.

What platform is your computer?

Windows, x64

Shell: PowerShell

What issue are you seeing?

Codex Desktop shows the generic error boundary screen:

Oops, an error has occurred

The crash appears to happen while rendering a saved assistant message that contains Codex git directives with a Windows path in the cwd attribute.

Sanitized example of the triggering message content:

::git-stage{cwd="C:\path\to\repo"}
::git-commit{cwd="C:\path\to\repo"}
::git-push{cwd="C:\path\to\repo" branch="main"}

After opening or rendering the affected thread, the app displays the error boundary instead of the conversation.

What steps can reproduce the bug?

  1. Use Codex Desktop on Windows.

  2. Have a saved conversation/thread containing an assistant message with git directive-like lines that include a Windows backslash path in cwd, for example:

    ::git-stage{cwd="C:\path\to\repo"}
  3. Open or reopen that thread in Codex Desktop.

  4. The thread fails to render and shows the generic error boundary screen.

What is the expected behavior?

The conversation should render normally. A saved message containing directive-like text or a Windows path should not make the whole conversation view fail to load.

What actually happens?

The entire thread fails to render and shows the generic error boundary.

Relevant sanitized log excerpt:

error [electron-message-handler] error boundary
name=LocalConversationPage
errorMessage="invalid syntax at line 1 col 5:

1  cwd=\"C:\\path\\to\\repo\"
       ^"

The component stack included Markdown/thread rendering code, including:

markdown-*.js
local-conversation-thread-*.js
local-conversation-page-*.js

Additional information

This appears to be a renderer/parsing issue rather than a repository or git failure. The affected repository and git state were normal; the failure occurred while the desktop app was rendering the saved conversation history.

I have intentionally omitted local usernames, account details, repository names, and exact filesystem paths from this report.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING