openai / openai/codex

[Windows][Desktop 26.803.10989.0] cert-parent-death sentinel opens visible Terminal error 0x800700E8

Open
#38,301 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug tool-calls windows-os
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

Summary

On Windows, Codex Desktop local tool activity can launch an internal PowerShell parent-lifetime sentinel in a visible terminal window. The window reports:

error 2147942632 (0x800700E8)

The command shown by the window, sanitized to remove its random identifier, is:

powershell.exe -NoLogo -NoProfile -NonInteractive -Command <title-assignment>='cert-parent-death-<redacted-random-id>'; Start-Sleep -Seconds 300

The popup is intrusive and can accumulate across local tool activity.

Environment

  • Windows
  • Codex Desktop package version: 26.803.10989.0
  • Windows-native local agent
  • No user-specific paths, logs, network information, or identifiers are included in this report

Reproduction

  1. Fully exit Codex Desktop and ensure all Codex/ChatGPT processes have ended.
  2. Start Codex Desktop again.
  3. Run one harmless ordinary non-elevated, read-only shell canary:
    Write-Output 'sandbox-canary-ok'
    
  4. Confirm the canary completes normally with exit code 0.
  5. Observe that a visible terminal window nevertheless appears with the cert-parent-death-<random-id> / Start-Sleep -Seconds 300 command and error 0x800700E8.

Isolation evidence

  • The issue reproduced after a genuinely clean process termination and restart.
  • The ordinary sandbox canary completed successfully, so normal shell execution was healthy.
  • The visible sentinel failure is therefore separable from shell-command success and from the Windows workspace-write SetTokenInformation(TokenDefaultDacl) failed: 1344 defect.
  • Switching the default Codex sandbox policy to stricter read-only avoids the separate 1344 execution failure but does not prevent this sentinel popup.
  • No scheduled task, monitoring service, or unrelated local process was needed to reproduce it.
  • No Windows security control was disabled.

Expected behavior

Internal parent-lifetime sentinels should be launched without a user-visible console or terminal window. Their parent/pipe lifecycle should not produce an interactive Windows Terminal error page.

The Windows launcher should use an appropriate hidden/no-console creation path, or replace the PowerShell sentinel with a non-console/native mechanism.

Actual behavior

The sentinel is handed to the interactive terminal infrastructure. Its pipe closes with ERROR_NO_DATA / 0x800700E8, leaving a visible error window containing the internal command.

Related issues

  • #26613 — visible PowerShell/console windows during Codex Desktop background polling; also reports that changing Windows Terminal delegation did not solve the flashes.
  • #35827 — traces ChatGPT.exe -> powershell.exe -> conhost.exe during local tool activity.

This report appears to be a more specific variant involving the internal cert-parent-death sentinel and a five-minute sleep.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the Windows launcher and process-spawning code for the cert-parent-death sentinel and its Start-Sleep -Seconds 300 command. Reproduce the clean-start sequence on Windows, then verify that the sentinel runs without a visible terminal or interactive error while ordinary shell execution remains successful.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.