Skip to content

VS Code Codex extension frequently fails to resume conversations with stale path on Windows #22403

Open

Description

@ytc-ova

Environment

  • OS: Windows
  • IDE: VS Code
  • Codex extension: latest version
  • Workspace path: C:\Users\zack\Documents\Project1
  • Session directory: C:\Users\zack.codex\sessions\2026\05\13\

Problem

When switching between Codex conversations in VS Code, resume often fails with a stale path error.

Example error:

cannot resume running thread 019e1ea4-8d87-7283-af06-3b68701929a9 with stale path: requested `C:\Users\zack\.codex\sessions\2026\05\13\rollout-2026-05-13T08-02-41-019e1ea4-8d87-7283-af06-3b68701929a9.jsonl`, active `\\?\C:\Users\zack\.codex\sessions\2026\05\13\rollout-2026-05-13T08-02-41-019e1ea4-8d87-7283-af06-3b68701929a9.jsonl`

The requested path uses a normal Windows path:

C:\Users\zack\.codex\sessions\...

The active path uses an extended Windows path:

\\?\C:\Users\zack\.codex\sessions\...

Both paths point to the same .jsonl session file.

Steps to reproduce

  1. Open a workspace in VS Code on Windows.
  2. Open the Codex extension.
  3. Use multiple Codex conversations in the same workspace.
  4. Switch back and forth between conversations.
  5. Sometimes Codex fails to resume the selected conversation.

Expected behavior

Codex should recognize that C:\... and \\?\C:\... refer to the same Windows path and resume the conversation normally.

Actual behavior

Codex reports a stale path error and refuses to resume the conversation.

Notes

  • The project folder was not moved or renamed.
  • The Codex extension is already updated to the latest version.
  • The session .jsonl file still exists on disk.
  • This happens frequently when switching between conversations inside VS Code.

Activity

  1. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    extensionIssues related to the VS Code extension
    on May 13, 2026
  2. o-sergeneser commented on May 15, 2026

    @o-sergeneser

    Yes, I'm having the same issue; it's been going on for at least two weeks and a lot of people are starting threads about the same issues on forums like Reddit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionwindows-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