Windows Codex Desktop repeatedly creates cua_node .staging runtime directories under mojibake Chinese user path, filling disk
Resolved 💬 6 comments Opened Jun 15, 2026 by henryshenghw-sys Closed Jun 24, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Environment:
- OS: Windows
- Codex Desktop package: OpenAI.Codex_26.609.4994.0_x64__2p2nqsd0c76g0
- Windows user profile contains Chinese characters: C:\Users\<ChineseUser>
- Codex app runs Windows-native / PowerShell agent
Issue:
Codex Desktop repeatedly creates full runtime staging directories for cua_node under a mojibake path derived from the Chinese username.
Bad path observed:
C:\Users\<mojibake-ChineseUser>AppData\Local\OpenAI\Codex\runtimes\cua_node
In my case the path looked like:
C:\Users\LBX_XXB_鐩涘畯浼焅AppData\Local\OpenAI\Codex\runtimes\cua_node
Observed behavior:
- Codex repeatedly creates directories named .staging-789504f803e82e2b-*
- Each staging directory is about 272 MB
- It accumulated 70 staging directories again, about 19 GB
- Previously it accumulated hundreds of staging directories and filled the disk
- The completed runtime directory 789504f803e82e2b already exists
- Codex still attempts to create new staging directories
Expected behavior:
- Codex should use the correct Unicode user profile path:
C:\Users\<ChineseUser>\AppData\Local\OpenAI\Codex
- Runtime installation should complete once and not leave repeated .staging directories
- It should not repeatedly download/extract cua_node when the runtime already exists
Evidence:
- Final runtime dir exists: 789504f803e82e2b
- Staging count reached 70
- Runtime staging consumed about 19 GB
- Workaround applied locally: deny WriteData/AddFile and AppendData/AddSubdirectory on the cua_node parent directory to stop disk growth
Impact:
This can rapidly fill both C: or any redirected target disk on Windows machines with non-ASCII user profile paths.
Notes:
codex doctor could not be run from the WindowsApps package path due to Access is denied.
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
你好,请问一下这个怎么解决
I’m seeing the same issue on Windows with a Cyrillic / non-ASCII Windows username.
In-app feedback ID:
019e7d35-863a-7563-87e5-b0353185ca70
My case looks very similar to this issue:
.staging-*folders under:%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node.staging-*folder is about 272 MB.Current impact:
.staging-*folders visibleMy Windows user profile path contains Cyrillic characters and appears as mojibake in Explorer / terminal output.
Question:
Is the current recommended workaround still to deny
WriteData/AddFileandAppendData/AddSubdirectoryon thecua_nodeparent directory, or is there a safer workaround now?Related:
#28691
#28093
#28017
how to solve it?
Update from my side:
After updating Codex Desktop to 26.616.5445.0, the issue appears to be resolved for me.
Previously, Codex repeatedly created
.staging-*folders undercua_node, and the runtime folder grew to tens of GB.Now, after opening/switching multiple chats:
.staging-*folders no longer accumulate.staging-*count is 0In-app feedback ID:
019e7d35-863a-7563-87e5-b0353185ca70
Update from my local environment:
After updating Codex Desktop to
26.616.9593.0, the issue no longer appears to reproduce on my machine.Current status:
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node0.staging-*directories under the correctcua_nodepath.285 MB.cua_nodedirectory contains only one completed runtime folder, about272 MB, and0.staging-*folders.cua_nodepath.So for my local setup, the current practical solution is:
26.616.9593.0.%LOCALAPPDATA%path..staging-*folders are no longer accumulating.Based on this, the safer workaround now seems to be updating Codex Desktop first, rather than relying on the Deny ACL workaround as the primary fix.