[Windows] Archiving Codex tasks fails with ERROR_NOT_SAME_DEVICE (os error 17)
Summary
On the Windows Codex desktop app, archiving fails with:
The system cannot move the file to a different disk drive. (os error 17)
This affects at least three tasks, including a newly created manual Codex task. It is therefore not limited to migrated, long-history, or previously loaded tasks.
Environment
- AppX package:
OpenAI.Codex_26.721.11231.0_x64__2p2nqsd0c76g0 - OS: Windows 10 Pro 22H2, build 19045, x64
Reproduction
- Open the Windows Codex desktop app.
- Create a new manual Codex task, or select an existing task.
- Use the app's archive action.
- The archive action fails with
os error 17.
Observed impact
The affected task remains in the sidebar because archive does not complete. At least two pre-existing task entries and one newly created manual task were affected.
Local checks
The standard local session root and archived-session root are both on the same volume (C:). Thus the error confirms that some move attempted by the archive flow crossed volumes, but it is not simply the normal session-root-to-archive-root move. The exact internal source/destination has not been identified, and no files or indexes were edited during investigation.
Expected behavior
Archiving should work for tasks regardless of project/worktree drive placement. If any archive component crosses volumes, the client should use a safe supported cross-volume strategy rather than failing and leaving the task visible.
Privacy
No session contents, task titles, task IDs, screenshots, raw logs, local user paths, or credentials are attached.