Repository navigation
Description
Summary
In the Windows Codex desktop app with a WSL2 execution environment, creating a local project displays Failed to create project. Same-day desktop logs show an app-server project assignment sync error involving AbsolutePathBuf.
This appears closely related to #45008 (same app package version), #41463, and #44507. This report supplies another local observation; a shared root cause is suspected, not proven.
Environment
- Windows Codex desktop package version observed in the application log stack:
26.908.4834.0(not independently checked in the About dialog). - Agent execution environment confirmed as WSL2 Linux.
- Kernel:
6.18.33.1-microsoft-standard-WSL2, x86_64. - Observation date: 2026-09-14, Asia/Shanghai (UTC+08:00).
- Windows build, WSL distribution version, bundled engine version, and subscription: not collected.
Observed steps
- Open the Windows desktop app while using a WSL2 agent environment.
- Open Create project.
- Enter a project name (a Chinese display name was used in this case).
- Add a local source folder. The dialog successfully shows the selected folder.
- Click Create project.
Actual: The dialog remains open and a red toast says Failed to create project without actionable details.
Expected: Create the project with a correctly resolved source-folder path, or display the specific underlying error.
The exact selected source-folder absolute path was not captured. A Windows-native comparison, alternate project name, and clean-profile reproduction have not been tested. There is no evidence that the Chinese display name causes this failure.
Relevant local diagnostics
Two same-day desktop log entries:
2026-09-14T00:28:00.171Z warning [host-app-server-projects] Local app-server assignment sync failed
errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"
2026-09-14T05:53:24.146Z warning [host-app-server-projects] Local app-server assignment sync failed
errorMessage="Invalid request: AbsolutePathBuf deserialized without a base path"
The existing local projects returned by the app's project-list tool use Linux-form absolute paths such as /mnt/c/... and /mnt/d/....
Causality limitation: These log entries were recorded earlier than the screenshot. No project-create request/error directly correlated with that particular click was found. Windows/WSL path normalization is a hypothesis based on these observations and related reports, not a verified root cause.
Separate path-handling observation during diagnosis
When supplying the screenshot to the same WSL-backed task, attachment loading failed with:
Codex could not read the local image at `C:\Users\<user>\AppData\Local\Temp\codex-clipboard-<id>.png`: No such file or directory (os error 2)
A read-only filesystem check confirmed the image existed (183,040 bytes). Opening the same file with the corresponding /mnt/c/Users/<user>/AppData/Local/Temp/codex-clipboard-<id>.png path succeeded and displayed the image. This suggests a Windows-to-WSL attachment path handling problem; it is not proof that attachment loading and project creation share an implementation defect. The path substitution is a verified workaround for reading this screenshot only, not for project creation.
Requested investigation
Please investigate project assignment synchronization and source-path normalization at the Windows/WSL boundary, and expose the underlying project-create error in the UI. If this is the same defect as #45008, please consolidate this report there.
Only relevant sanitized log excerpts are included. The original screenshot contains unrelated work content, so it is not attached. No full logs, personal paths, or conversation transcripts are included.
Activity
github-actions commentedon Sep 14, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
stuartatpeasy commentedon Sep 16, 2026
I can reproduce this on Windows with a WSL2 agent environment, and I have a fairly clean A/B result that may help narrow it down.
Reproduction / observations
Failed to create project..codex-global-state.json; project creation still failed in WSL2, so in my case this does not appear to be caused by stalelocal-projects/ project registry state.Additional context
The affected machine has existing mature projects/tooling that normally use WSL2, so Windows Native is a functional workaround for project creation, but not an ideal long-term replacement.
This looks consistent with a Windows↔WSL path-normalisation / app-server project-assignment regression rather than a project-name, source-folder, or persisted-state problem.
I can provide sanitised log excerpts or run additional targeted tests if useful.