Windows Codex App renderer crashes after creating a managed worktree

Resolved 💬 1 comment Opened Jul 11, 2026 by WayneKoorts Closed Jul 16, 2026

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

26.707.31428

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When I create a new Codex-managed Git worktree and start its task, the worktree is created successfully but the local conversation page enters a crashed/error state. The Codex Desktop log shows the worktree service reaching [worktree-create] ready, followed by a React error boundary in local-conversation-page-yqOWl-vy.js:1:9882 with:

Error: process is not defined
errorName=Error name=AppRoutes

The same exception occurred after multiple worktree creations on July 9 and July 11, 2026. Restarting Codex allows me to reopen the task because the worktree itself remains intact.

What steps can reproduce the bug?

  1. Open a local Git repository in Codex Desktop on Windows.
  2. Start a new task and choose the option to create a Codex-managed worktree.
  3. Enter a prompt and start the task.
  4. Wait for worktree initialization to complete.
  5. Observe that the new task page enters an error/crashed state.

Representative occurrence (timestamps are UTC):

  • 2026-07-11 13:10:05Z — [worktree-create] path-allocated
  • 2026-07-11 13:10:09Z — [worktree-create] ready
  • 2026-07-11 13:10:19Z — React error boundary: process is not defined

Representative Codex thread/session ID: 019f514c-c210-7653-b0c6-ce9063642708.

What is the expected behavior?

Codex should create the managed worktree and open the newly created task normally without triggering the local conversation page error boundary.

Additional information

I verified the repository and worktree state with git worktree list --porcelain, git worktree prune --dry-run --verbose, and Git integrity checks. All linked .git paths for the affected repository are valid, no worktrees are stale or prunable, there are no submodules or symlinked worktree roots, and permissions allow Codex access. Codex also bypasses repository hooks for its Git probes with core.hooksPath=NUL. A detached HEAD produces the expected git symbolic-ref exit code 1 but is not the failure.

The installed package is OpenAI.Codex_26.707.3748.0_x64__2p2nqsd0c76g0. The apparent crash seems to be caused by the renderer referencing Node's unavailable process global after worktree initialization, rather than by Git worktree creation itself. Workaround: restart Codex and reopen the already-created task, or avoid the managed worktree launch flow.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗