Skip to content

Improve Codex spawn failure diagnostics#492

Merged
danshapiro merged 4 commits into
mainfrom
fix/codex-spawn-eagain-diagnostics
Jul 2, 2026
Merged

Improve Codex spawn failure diagnostics#492
danshapiro merged 4 commits into
mainfrom
fix/codex-spawn-eagain-diagnostics

Conversation

@danshapiro

Copy link
Copy Markdown
Owner

Summary

  • attach retryable spawn diagnostics to Codex app server startup failures
  • add bounded process and sidecar metadata probes for EAGAIN/EMFILE/ENFILE/ENOMEM launch failures
  • include launch, process, and registry diagnostics in terminal.create structured logs without changing the WebSocket protocol

Verification

  • npm run test:vitest -- run test/unit/server/coding-cli/codex-app-server/runtime.test.ts test/server/ws-protocol.test.ts --config vitest.server.config.ts
  • git diff --check HEAD

Known pre-existing issue: broad npm run check was observed failing intermittently in FreshAgentView keyboard scroll tests on main-era code; this is being stabilized in the follow-up branch requested by the user.

@danshapiro danshapiro merged commit d113131 into main Jul 2, 2026
1 check passed
@danshapiro danshapiro deleted the fix/codex-spawn-eagain-diagnostics branch July 2, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants