Skip to content

Windows Codex Desktop repeatedly shows main-process error "Error: write EOF" after update #38202

Open

Description

@Araaniart

What version of Codex is running?

  • Codex Desktop for Windows (Microsoft Store)
  • Package version: 26.803.10989.0
  • Architecture: x64

What is happening?

Since updating the Codex Windows desktop app, a modal error appears frequently at unrelated points during normal use. The app had not shown this error before the update.

Exact dialog text:

A JavaScript error occurred in the main process

Uncaught Exception:
Error: write EOF
    at WriteWrap.onWriteComplete [as oncomplete]
    (node:internal/stream_base_commons:87:19)

The error is not tied to one project action: it can appear at different times while using the app.

Troubleshooting already tried

  • Used Windows Settings > Apps > Codex > Advanced options > Repair (Восстановить)
  • Fully restarted the app / Windows

Repair did not resolve the issue. A full app reset was deliberately not attempted because preserving local Codex history and settings is important.

Expected behavior

Codex should handle a closed internal stream/child process without surfacing a recurring uncaught main-process exception to the user.

Impact

The error interrupts work repeatedly and began immediately after the update. It does not appear to be caused by a particular repository or action.

Activity

  1. added
    bug
    app
    windows-os
    on Aug 12, 2026
  2. github-actions commented on Aug 12, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. rajks85 commented on Aug 21, 2026

    @rajks85

    Update from an affected Windows user:

    • Current Microsoft Store Codex Desktop build: 26.818.2441.0, x64.
    • The exact main-process dialog still recurs after updating Codex and performing a full app restart:
    A JavaScript error occurred in the main process
    
    Uncaught Exception:
    Error: write EOF
        at WriteWrap.onWriteComplete [as oncomplete]
        (node:internal/stream_base_commons:87:19)
    

    It appears when Codex tasks/automations start, hangs the Desktop UI, and can disable remote control. It is not limited to one repository or one user action.

    Please confirm whether #38202 covers this current build and triage it with #35985 (browser-sidebar EPIPE -> write EOF) and #38062 (Git-review cancellation -> write EOF). The app should treat closed IPC/child streams as recoverable disconnects rather than surfacing an uncaught Electron main-process exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions