Issue with resuming codex after ^Z

Open 💬 0 comments Opened Jun 19, 2026 by jsmolens

What version of Codex CLI is running?

0.141.0

What subscription do you have?

Enterprise

Which model were you using?

gpt-5.5 high

What platform is your computer?

Linux 6.8.0-90-generic x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

xterm

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1781908048s since unix epoch",
  "overallStatus": "ok",
  "codexVersion": "0.141.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "/home/jarsmo01/.codex/app-server-control/app-server-control.sock",
        "daemon state dir": "/home/jarsmo01/.codex/app-server-daemon",
        "mode": "ephemeral",
        "pid file": "/home/jarsmo01/.codex/app-server-daemon/app-server.pid (missing)",
        "settings": "/home/jarsmo01/.codex/app-server-daemon/settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "/home/jarsmo01/.codex/app-server-daemon/app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "OpenAI auth is not required for the active model provider",
      "details": {
        "auth env vars present": "OPENAI_API_KEY",
        "auth file": "/home/jarsmo01/.codex/auth.json",
        "auth storage mode": "File",
        "model provider requires OpenAI auth": "false"
      },
      "remediation": null,
      "durationMs": 0
    },
    "config.load": {
      "id": "config.load",
      "category": "config",
      "status": "ok",
      "summary": "config loaded",
      "details": {
        "CODEX_HOME": "/home/jarsmo01/.codex",
        "config.toml": "/home/jarsmo01/.codex/config.toml",
        "config.toml parse": "ok",
        "cwd": "/staging/model/thames",
        "enabled feature flags": "shell_tool, unified_exec, shell_snapshot, terminal_resize_reflow, sqlite, hooks, enable_request_compression, multi_agent, apps, tool_suggest, plugins, in_app_browser, browser_use, browser_use_external, computer_use, plugin_sharing, image_generation, skill_mcp_dependency_install, mentions_v2, steer, guardian_approval, goals, collaboration_modes, tool_call_mcp_elicitation, personality, fast_mode, tui_app_server, remote_compaction_v2, workspace_dependencies",
        "feature flag overrides": "none",
        "feature flags enabled": "29",
        "log dir": "/home/jarsmo01/.codex/log",
        "mcp servers": "0",
        "model": "gpt-5.5",
        "model provider": "proxy",
        "sqlite home": "/home/jarsmo01/.codex"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git version 2.52.0",
      "details": {
        ".git entry": "directory",
        "PATH git #1": "/usr/bin/git",
        "PATH git #2": "/bin/git",
        "PATH git entries": "2",
        "git branch": "main",
        "git build options": "git version 2.52.0; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh; rust: disabled; libcurl: 8.5.0; zlib: 1.3; SHA-1: SHA1_DC; SHA-256: SHA256_BLK; default-ref-format: files; default-hash: sha1",
        "git exec path": "/usr/lib/git-core",
        "git version": "git version 2.52.0",
        "repo detected": "true",
        "repo root": "/staging/model/thames",
        "selected git": "/usr/bin/git"
      },
      "remediation": null,
      "durationMs": 42
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "/home/jarsmo01/.local/bin/x86_64/codex",
        "PATH codex #2": "/home/jarsmo01/.local/bin/x86_64//codex",
        "PATH codex entries": "2",
        "current executable": "/home/jarsmo01/.local/bin/x86_64/codex",
        "install context": "other",
        "managed by bun": "false",
        "managed by npm": "false",
        "managed package root": "not set"
      },
      "remediation": null,
      "durationMs": 2
    },    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "no MCP servers configured",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "network.env": {
      "id": "network.env",
      "category": "network",
      "status": "ok",
      "summary": "network-related environment looks readable",
      "details": {
        "proxy env vars": "none"
      },
      "remediation": null,
      "durationMs": 0
    },
    "network.provider_reachability": {
      "id": "network.provider_reachability",
      "category": "reachability",
      "status": "ok",
      "summary": "active provider endpoints are reachable over HTTP",
      "details": {
        "proxy API base URL": "https://openai-api-proxy.geo.arm.com/api/<redacted> reachable (HTTP 404)",
        "proxy API route probe": "https://openai-api-proxy.geo.arm.com/api/<redacted> route exists (HTTP 401)",
        "reachability mode": "provider auth"
      },
      "remediation": null,
      "durationMs": 1198
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket is not enabled for the active provider",
      "details": {
        "model provider": "proxy",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "supports websockets": "false",
        "wire API": "responses"
      },      "remediation": null,
      "durationMs": 0
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running local build on linux-x86_64",
      "details": {
        "commit": "unknown",
        "current executable": "/home/jarsmo01/.local/bin/x86_64/codex",
        "install method": "other",
        "platform": "linux-x86_64",
        "version": "0.141.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search is OK (system)",
      "details": {
        "search command": "rg",
        "search command readiness": "ripgrep 14.1.0",
        "search provider": "system"
      },
      "remediation": null,
      "durationMs": 2
    },
    "sandbox.helpers": {
      "id": "sandbox.helpers",
      "category": "sandbox",
      "status": "ok",      "summary": "sandbox configuration is readable",
      "details": {
        "approval policy": "OnRequest",
        "codex-linux-sandbox helper": "/home/jarsmo01/.codex/tmp/arg0/codex-arg02NYn0i/codex-linux-sandbox",
        "execve wrapper helper": "/home/jarsmo01/.codex/tmp/arg0/codex-arg02NYn0i/codex-execve-wrapper",
        "filesystem sandbox": "restricted",
        "network sandbox": "restricted"
      },
      "remediation": null,
      "durationMs": 0
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "/home/jarsmo01/.codex (dir)",
        "active rollout files": "330 files, 433742884 total bytes, 1314372 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "/home/jarsmo01/.codex/goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "/home/jarsmo01/.codex/logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "/home/jarsmo01/.codex/log (dir)",
        "memories DB": "/home/jarsmo01/.codex/memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "sqlite home": "/home/jarsmo01/.codex (dir)",
        "state DB": "/home/jarsmo01/.codex/state_5.sqlite (file)",
        "state DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 207
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "ok",
      "summary": "rollout files and state DB thread inventory agree",
      "details": {        "default model provider": "proxy",
        "rollout DB active files": "330",
        "rollout DB active rows": "330",
        "rollout DB archive mismatches": "0",
        "rollout DB archived files": "0",
        "rollout DB archived rows": "0",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread ids": "0",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "0",
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "proxy=330",
        "rollout DB rows": "330",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "cli=297, vscode=31, subagent:other=1, subagent:review=1",
        "rollout DB stale rows": "0"
      },
      "remediation": null,
      "durationMs": 6975
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language unavailable",
      "details": {
        "EDITOR": "not set",
        "LESS": "set",
        "VISUAL": "not set",
        "os": "Ubuntu 24.4.0 (noble) [64-bit]",
        "os language": "unavailable",
        "os type": "Ubuntu",
        "os version": "24.4.0"
      },
      "remediation": null,
      "durationMs": 20
    },
    "terminal.env": {
      "id": "terminal.env",      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "TERM": "xterm",
        "color output": "enabled",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout is terminal": "true",
        "terminal": "unknown",
        "terminal size": "165x51"
      },
      "remediation": null,
      "durationMs": 0
    },
    "terminal.title": {
      "id": "terminal.title",
      "category": "title",
      "status": "ok",
      "summary": "terminal title default",
      "details": {
        "terminal title activity": "true",
        "terminal title items": "activity, project-name",
        "terminal title project source": "git repo root",
        "terminal title project value": "thames",
        "terminal title source": "default"
      },
      "remediation": null,
      "durationMs": 0
    },
    "updates.status": {
      "id": "updates.status",
      "category": "updates",
      "status": "ok",
      "summary": "update configuration is locally consistent",      "details": {
        "cached latest version": "0.141.0",
        "check for update on startup": "true",
        "last checked at": "2026-06-19T22:14:03.537862502Z",
        "latest version": "0.141.0",
        "latest version status": "current version is not older",
        "update action": "manual or unknown",
        "version cache": "/home/jarsmo01/.codex/version.json"
      },
      "remediation": null,
      "durationMs": 587
    }
  }
}

What issue are you seeing?

When I suspend my codex session with ^Z and then resume the codex session, codex appears to be hung. It shows a prompt and I can type into it, but when I hit enter, nothing happens. No "working...", no "press esc to interrupt", just nothing. Esc has no effect. I used to be able to resume codex sessions with no issue.

What steps can reproduce the bug?

Uploaded thread: 019ee1f8-d900-7bb3-b250-d10f8e1680b5

What is the expected behavior?

Codex resumes accepting prompts on resume.

Additional information

_No response_

View original on GitHub ↗