openai / openai/codex

[macOS desktop] Agent codex_app thread and automation tools still hang on 26.814.41407 build 6720

Open
#40,900 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

app
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

26.814.41407 (build 6720)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.5.0 arm64 arm (macOS 26.5.2, Apple Silicon)

What issue are you seeing?

Agent-invoked codex_app operations can remain pending indefinitely while the desktop UI and ordinary local operations remain responsive. This appears similar to #37668 and #38571, but reproduces on the newer desktop build 6720.

The affected operations included cross-thread messaging, automation creation and read-only thread listing. No structured timeout or error was returned.

Later, an automation_update call to pause an existing automation completed immediately and the resulting configuration change was verified on disk. This suggests the failure is intermittent and may vary by operation or app-service state, rather than representing a permanently unavailable handler.

What steps can reproduce the bug?

Step 1: From an active local Codex task, invoke codex_app__send_message_to_thread for an existing ChatGPT/Work chat. The call remains pending beyond 60 seconds and provides no structured error.

Step 2: Invoke codex_app__automation_update to create a harmless one-off heartbeat. The call likewise remains pending and the proposed automation is not created.

Step 3: Invoke read-only codex_app__list_threads. It also remains pending without a structured result.

Step 4: Fully restart the desktop app and repeat. The behaviour recurs.

During the same period, local filesystem reads and writes succeed; shell commands succeed promptly; the desktop UI remains usable; no approval request appears; and an existing automation configuration remains readable and valid.

No session ID, prompts, paths or thread identifiers are included because they are unnecessary to reproduce the failure and may contain private information.

What is the expected behavior?

Every advertised codex_app operation should either complete promptly or return a structured, bounded error. A failed create operation should unambiguously state whether any object was created.

Additional information

This appears related to #37668 (agent thread tools hang before reaching AppServerConnection), #38571 (list_threads reaches app server but never completes while the UI remains healthy), and #39148 (related thread-management hang family on a later build).

The reproduction does not require sharing prompts, local paths, thread identifiers or the contents of local files. Those details have intentionally been omitted. No screenshots or raw logs are attached.

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

Start by reproducing the pending codex_app operations described in the issue, then compare the behavior and investigation notes from #37668, #38571, and #39148, including the AppServerConnection reference. Check whether send_message_to_thread, automation_update, and list_threads share the same app-service path. Done means each operation completes promptly or returns a bounded structured error, with create failures clearly reporting whether an object was created.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
backend, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.