Windows running thread resume rejects same rollout path with verbatim prefix

Resolved 💬 3 comments Opened May 16, 2026 by byteshijinn Closed May 16, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Problem

On Windows, rejoining a running Codex thread can fail with:

cannot resume running thread ... with stale path

The same rollout file can be represented with ordinary Windows syntax, for example C:\..., by the app client and with a verbatim prefix, for example \\?\C:\..., after backend canonicalization. The running-thread stale-path guard compares the raw path spelling, so it can reject the same active thread as stale.

Reproduction

  1. Start a thread on Windows and keep it running.
  2. Resume or rejoin it by rollout path using the alternate spelling of the same file, such as C:\... versus \\?\C:\....
  3. The backend rejects the resume as stale even though both paths identify the same rollout file.

Expected

The backend should reject truly different rollout files, but equivalent spellings of the same file should rejoin the running thread.

Fix direction

Compare normalized filesystem identity for running-thread rollout path checks while preserving stale-path rejection for genuinely different rollout files.

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 3 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #22854
  • #22971
  • #22403
  • #22996
  • #21898

Powered by Codex Action

etraut-openai contributor · 3 months ago

We've issued a hotfix to address this. Please update to the latest version.

ysc0224 · 3 months ago
We've issued a hotfix to address this. Please update to the latest version.

still happening on the latest version