Conversation interrupted during a resume

Open
#34,068 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
rust
Domain
cli

Research direction

No source file or test is named. Start by reproducing the resume flow with Codex CLI 0.144.5 and review the supplied codex doctor report, including the Responses WebSocket warning. Done means the conversation resumes without being interrupted, with coverage for the reproduced failure.

Written by the indexing model from the issue text.

Description

bug CLI session
What version of Codex CLI is running?

Codex CLI: codex-cli 0.144.5 - (Node v22.23.1, npm 10.9.8)

What subscription do you have?

sakana and openai

Which model were you using?

fugu

What platform is your computer?

No response

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

No response

Codex doctor report
root@siress-hermes-digitalocean:~# codex doctor --json
{
  "schemaVersion": 1,
  "generatedAt": "1784408460s since unix epoch",
  "overallStatus": "warning",
  "codexVersion": "0.144.5",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "/root/codex-home/app-server-control/app-server-control.sock",
        "daemon state dir": "/root/codex-home/app-server-daemon",
        "mode": "ephemeral",
        "pid file": "/root/codex-home/app-server-daemon/app-server.pid (missing)",
        "settings": "/root/codex-home/app-server-daemon/settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "/root/codex-home/app-server-daemon/app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "auth is provided by environment",
      "details": {
        "auth env vars present": "OPENAI_API_KEY",
        "auth file": "/root/codex-home/auth.json",
        "auth storage mode": "File"
      },
      "remediation": null,
      "durationMs": 0
    },
    "config.load": {
      "id": "config.load",
      "category": "config",
      "status": "ok",
      "summary": "config loaded",
      "details": {
        "CODEX_HOME": "/root/codex-home",
        "config.toml": "/root/codex-home/config.toml",
        "config.toml parse": "ok",
        "cwd": "/root",
        "enabled feature flags": "shell_tool, unified_exec, shell_snapshot, code_mode_host, terminal_resize_reflow, sqlite, hooks, enable_request_compression, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, browser_use, browser_use_full_cdp_access, browser_use_external, computer_use, remote_plugin, plugin_sharing, image_generation, resize_all_images, skill_mcp_dependency_install, mentions_v2, steer, guardian_approval, goals, collaboration_modes, tool_call_mcp_elicitation, auth_elicitation, personality, fast_mode, tui_app_server, remote_compaction_v2, workspace_dependencies",
        "feature flag overrides": "none",
        "feature flags enabled": "35",
        "log dir": "/root/codex-home/log",
        "mcp servers": "2",
        "model": "<default>",
        "model provider": "openai",
        "sqlite home": "/root/codex-home"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git version 2.43.0",
      "details": {
        "PATH git #1": "/usr/bin/git",
        "PATH git #2": "/bin/git",
        "PATH git entries": "2",
        "git build options": "git version 2.43.0; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh",
        "git exec path": "/usr/lib/git-core",
        "git version": "git version 2.43.0",
        "repo detected": "false",
        "selected git": "/usr/bin/git"
      },
      "remediation": null,
      "durationMs": 65
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "/root/.local/bin/codex",
        "PATH codex #2": "/root/.local/bin/codex",
        "PATH codex #3": "/usr/bin/codex",
        "PATH codex #4": "/bin/codex",
        "PATH codex entries": "4",
        "current executable": "/usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/bin/codex",
        "install context": "npm (package /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl, bin /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/bin, resources /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-resources, path /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-path)",
        "managed by bun": "false",
        "managed by npm": "true",
        "managed by pnpm": "false",
        "managed package root": "/usr/lib/node_modules/@openai/codex",
        "npm update target": "/usr/lib/node_modules/@openai/codex"
      },
      "remediation": null,
      "durationMs": 107
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "MCP configuration is locally consistent",
      "details": {
        "configured servers": "2",
        "disabled servers": "0",
        "stdio servers": "2"
      },
      "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": {
        "openai API base URL": "https://api.openai.com/v1 reachable (HTTP 404)",
        "openai API route probe": "https://api.openai.com/v1/<redacted> route exists (HTTP 401)",
        "reachability mode": "API key auth"
      },
      "remediation": null,
      "durationMs": 183
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "warning",
      "summary": "Responses WebSocket failed; HTTPS fallback may still work",
      "details": {
        "DNS": "2 IPv4, 0 IPv6, first IPv4",
        "auth mode": "none",
        "connect timeout": "15000 ms",
        "endpoint": "wss://api.openai.com/v1/<redacted>",
        "handshake transport error": "http 401 Unauthorized: Some(\"{\\n  \\\"error\\\": {\\n    \\\"message\\\": \\\"Missing bearer or basic authentication in header\\\",\\n    \\\"type\\\": \\\"invalid_request_error\\\",\\n    \\\"param\\\": null,\\n    \\\"code\\\": null\\n  }\\n}\")",
        "model provider": "openai",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": "Check proxy, VPN, firewall, DNS, custom CA, and WebSocket policy support.",
      "durationMs": 301
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running npm on linux-x86_64",
      "details": {
        "commit": "unknown",
        "current executable": "/usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/bin/codex",
        "install method": "npm (package /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl, bin /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/bin, resources /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-resources, path /usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-path)",
        "platform": "linux-x86_64",
        "version": "0.144.5"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search is OK (bundled)",
      "details": {
        "search command": "/usr/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-path/rg",
        "search command readiness": "file exists",
        "search provider": "bundled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "sandbox.helpers": {
      "id": "sandbox.helpers",
      "category": "sandbox",
      "status": "ok",
      "summary": "sandbox configuration is readable",
      "details": {
        "approval policy": "OnRequest",
        "codex-linux-sandbox helper": "/root/codex-home/tmp/arg0/codex-arg07T3tAF/codex-linux-sandbox",
        "execve wrapper helper": "/root/codex-home/tmp/arg0/codex-arg07T3tAF/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": "/root/codex-home (dir)",
        "active rollout files": "16 files, 9438071 total bytes, 589879 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "/root/codex-home/goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "/root/codex-home/logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "/root/codex-home/log (missing)",
        "memories DB": "/root/codex-home/memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "sqlite home": "/root/codex-home (dir)",
        "state DB": "/root/codex-home/state_5.sqlite (file)",
        "state DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 153
    },
    "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": "openai",
        "rollout DB active files": "16",
        "rollout DB active rows": "16",
        "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": "sakana=16",
        "rollout DB rows": "16",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "cli=15, subagent:review=1",
        "rollout DB stale rows": "0"
      },
      "remediation": null,
      "durationMs": 348
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language C",
      "details": {
        "EDITOR": "not set",
        "LANG": "C.UTF-8",
        "VISUAL": "not set",
        "os": "Ubuntu 24.4.0 (noble) [64-bit]",
        "os language": "C",
        "os type": "Ubuntu",
        "os version": "24.4.0"
      },
      "remediation": null,
      "durationMs": 12
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "SSH_CLIENT": "present",
        "SSH_CONNECTION": "present",
        "SSH_TTY": "present",
        "TERM": "xterm-256color",
        "color output": "enabled",
        "effective locale": "C.UTF-8",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout is terminal": "true",
        "terminal": "unknown",
        "terminal size": "80x24"
      },
      "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": "project config",
        "terminal title project value": "root",
        "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.144.6",
        "check for update on startup": "true",
        "dismissed version": "0.142.3",
        "last checked at": "2026-07-18T20:50:36.729311274Z",
        "latest version": "0.144.6",
        "latest version status": "newer version is available",
        "npm update target": "/usr/lib/node_modules/@openai/codex",
        "update action": "npm install -g @openai/codex",
        "version cache": "/root/codex-home/version.json"
      },
      "remediation": null,
      "durationMs": 290
    }
  }
}
root@siress-hermes-digitalocean:~#
What issue are you seeing?

• I found a likely bug. Let me check the page.tsx diff and the theme-provider/
new components.

• The redesigned landing page renders and the Button refactor is consistent with
its usages; remaining issues are non-blocking: a latent CSS variable typo
(unused by the rendered page), a dead #developers nav/footer anchor, and a
missing next-themes hydration hint.

Full review comments:

  • [P2] Brand color theme tokens reference undefined ---- variables — /root/my-
    app/src/app/globals.css:51-52
    In the Tailwind v4 @theme block, the brand tokens point at custom properties
    with four leading dashes: var(----brand-foreground) and var(----brand). The
    variables actually defined in :root/.dark are --brand and --brand-foreground
    (two dashes). As written, --color-brand/--color-brand-foreground resolve to
    undefined custom properties, so any generated utility like bg-brand/text-
    brand produces an invalid/empty color. This is clearly a typo (should be
    var(--brand) / var(--brand-foreground)).

  • [P2] "For developers" nav/footer links point to non-existent #developers
    anchor — /root/my-app/src/app/page.tsx:20-20
    The nav and footer both link to #developers, but no section on the page has
    id="developers" (only id="why" exists). Clicking "For developers" scrolls
    nowhere, leaving a dead link on the landing page. Either add a section with
    that id or update the hrefs. (Note the nav's "How it works" link also
    targets #why, which is the "Why CIRQL" section rather than the "How it
    works" section, which has no id.)

  • [P3] Missing suppressHydrationWarning on with next-themes — /root/my-
    app/src/app/layout.tsx:23-26
    ThemeProvider (next-themes) is used with attribute="class", which mutates
    the class on the client before hydration. Without
    suppressHydrationWarning on the element, React will emit hydration-
    mismatch warnings in the console. next-themes documents adding
    suppressHydrationWarning to the root tag to avoid this.

■ Conversation interrupted - tell the model what to do differently. Something
went wrong? Hit /feedback to report the issue.

What steps can reproduce the bug?

Uploaded thread: 019f6950-c584-77a3-8d2d-b1bad1be753

What is the expected behavior?

No response

Additional information

No response

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

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.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.