Skip to content

Codex Desktop thread switching is consistently slow on Windows #29187

Description

@HouseOfCog

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

Version 26.616.32156 • Released 19 June 2026

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Codex Desktop thread switching is consistently slow on Windows.

Environment:

  • Codex Desktop version: 26.611.61753
  • OS: Windows
  • Shell originally: PowerShell 5.1
  • Integrated terminal shell changed to Command Prompt, persisted in config.toml as integratedTerminalShell = "commandPrompt"

Symptom:

  • Cold-opening/switching to any thread takes roughly 6 seconds.
  • This happens even after fully quitting Codex / ending the Codex task and reopening.
  • It also happens for a brand-new tiny thread with a trivial request, so thread transcript size does not appear to be the cause.
  • Warm switching is much faster once the thread has already been opened.

Relevant log evidence:

  • During thread/start and thread/resume, logs repeatedly show:
    Failed to create shell snapshot for powershell: Shell snapshot not supported yet for PowerShell
  • This still appears after changing Integrated terminal shell to Command Prompt.

Question:
Is Codex session initialization still using PowerShell internally despite the integrated terminal setting, and could that be causing the fixed ~6s cold thread activation delay?

What steps can reproduce the bug?

Switch to a thread that hasn't been opened yet in the current session.

What is the expected behavior?

Switching threads happens within 1 second.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingperformancesessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions