openai / openai/codex

Workspace terminal fails to start with "setup refresh had errors"

Open
#39,841 21 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug tool-calls windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

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

26.818.31338

What subscription do you have?

Plus

What platform is your computer?

Windows 11 x64

What issue are you seeing?

The workspace terminal cannot start any command.

Whenever I run a terminal command such as pwd, Get-Location, or rg --files, the command fails before execution with the following error:

CreateProcess:
Rejected("Failed to create unified exec process: helper_unknown_error: setup refresh had errors")

The issue occurs with PowerShell, Command Prompt, and the system PowerShell executable. No detailed stack trace, log path, or additional information about the "setup refresh" failure is shown.

Codex App version: 26.818.31338
Workspace runtime dependency version: 26.819.11345

What steps can reproduce the bug?
  1. Open Codex Desktop on Windows 11.
  2. Open a local workspace or repository.
  3. Start a new task or thread.
  4. Run any terminal command, for example:
    • pwd
    • Get-Location
    • rg --files
  5. Observe that the command fails before it is executed.

Expected behavior:
The terminal process should start and execute the command successfully.

Actual behavior:
The terminal process is rejected during setup with:

Failed to create unified exec process: helper_unknown_error: setup refresh had errors

The issue occurs consistently across PowerShell, Command Prompt, and the system Windows PowerShell executable.

What is the expected behavior?

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on Windows 11 in a local workspace using pwd, Get-Location, and rg --files through PowerShell, Command Prompt, and system PowerShell. Start at the workspace terminal's setup refresh path and trace why process creation returns helper_unknown_error; done means all three command environments start and execute normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.