Skip to content

Skip daemon auto-start for Windows-mounted WSL homes - #50555

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/995e6236d79d8190b0ab1e6b4761eeef3c068467
Oct 3, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/995e6236d79d8190b0ab1e6b4761eeef3c068467

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Skip daemon auto-start for Windows-mounted WSL homes

Why

The managed daemon writes an executable and Unix-style state beneath CODEX_HOME. Windows-mounted WSL filesystems (DrvFS/9p) do not reliably support the required permission semantics, which can cause startup to fail before the TUI opens.

What changed

Detect WSL homes on 9p filesystems, checking an existing ancestor when CODEX_HOME does not yet exist. Keep the TUI in embedded mode instead of automatically starting the shared background server, and show a startup warning explaining the exclusion.

Testing

Extend the daemon exclusion warning snapshot to cover the Windows-mounted WSL message.

## Why

The managed daemon writes an executable and Unix-style state beneath `CODEX_HOME`. Windows-mounted WSL filesystems (DrvFS/9p) do not reliably support the required permission semantics, which can cause startup to fail before the TUI opens.

## What changed

Detect WSL homes on 9p filesystems, checking an existing ancestor when `CODEX_HOME` does not yet exist. Keep the TUI in embedded mode instead of automatically starting the shared background server, and show a startup warning explaining the exclusion.

## Testing

Extend the daemon exclusion warning snapshot to cover the Windows-mounted WSL message.

GitOrigin-RevId: 995e6236d79d8190b0ab1e6b4761eeef3c068467
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/995e6236d79d8190b0ab1e6b4761eeef3c068467 branch from d729d68 to 6b43e6f Compare October 3, 2026 07:05
@copyberry
copyberry Bot merged commit 6b43e6f into main Oct 3, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/995e6236d79d8190b0ab1e6b4761eeef3c068467 branch October 3, 2026 07:05
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 3, 2026

This branch was previously deployed

1 inactive deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants