I have just created 2 agent sessions using Github UI with the coding agent being Codex, both crash with similar errors, logs below
099
codex mcp remove github-mcp-server
Removed global MCP server 'github-mcp-server'.
codex mcp remove runtime-tools
Removed global MCP server 'runtime-tools'.
CodexError Codex Exec exited with code 1: Reading prompt from stdin...
ERROR: {
"name": "CodexError",
"text": "Codex Exec exited with code 1: Reading prompt from stdin...",
"stack": "Error: Codex Exec exited with code 1: Reading prompt from stdin...\n\n at ChildProcess. (file:///opt/copilot-runtime/***-action-main/dist-codex/index.js:152:1119875)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:508:28)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)",
"message": "Codex Exec exited with code 1: Reading prompt from stdin...",
"code": "unknown",
"service": "codex",
"skipReport": false,
"isVisionFlow": false
}
Committing and pushing any changes that occurred before error occurred.
Already on 'codex/fix-compile-debug-kotlin-error'
Pushing to https://github.com/mwangigitau/wezesha-android
To https://github.com/mwangigitau/wezesha-android
= [up to date] codex/fix-compile-debug-kotlin-error -> codex/fix-compile-debug-kotlin-error
updating local tracking ref 'refs/remotes/origin/codex/fix-compile-debug-kotlin-error'
Everything up-to-date
forceExit is shutting down the process
::***::
Error: Process completed with exit code 1.
I have just created 2 agent sessions using Github UI with the coding agent being Codex, both crash with similar errors, logs below
099
codex mcp remove github-mcp-server
Removed global MCP server 'github-mcp-server'.
codex mcp remove runtime-tools
Removed global MCP server 'runtime-tools'.
CodexError Codex Exec exited with code 1: Reading prompt from stdin...
ERROR: {
"name": "CodexError",
"text": "Codex Exec exited with code 1: Reading prompt from stdin...",
"stack": "Error: Codex Exec exited with code 1: Reading prompt from stdin...\n\n at ChildProcess. (file:///opt/copilot-runtime/***-action-main/dist-codex/index.js:152:1119875)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:508:28)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)",
"message": "Codex Exec exited with code 1: Reading prompt from stdin...",
"code": "unknown",
"service": "codex",
"skipReport": false,
"isVisionFlow": false
}
Committing and pushing any changes that occurred before error occurred.
Already on 'codex/fix-compile-debug-kotlin-error'
Pushing to https://github.com/mwangigitau/wezesha-android
To https://github.com/mwangigitau/wezesha-android
= [up to date] codex/fix-compile-debug-kotlin-error -> codex/fix-compile-debug-kotlin-error
updating local tracking ref 'refs/remotes/origin/codex/fix-compile-debug-kotlin-error'
Everything up-to-date
forceExit is shutting down the process
::***::
Error: Process completed with exit code 1.