codex icon indicating copy to clipboard operation
codex copied to clipboard

[macOS Desktop 26.917.71314] Thread stuck waitingOnApproval with approval controls and composer missing

Open BryanQQYue opened this issue 2 months ago • 12 comments

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

ChatGPT/Codex desktop 26.917.71314, build 10954, bundle ID com.openai.codex. Version and build were read from the installed application bundle, rather than the About dialog. Bundled runtime: codex-cli 0.155.0-alpha.16.4.

What subscription do you have?

Not included in this public, privacy-redacted report.

What platform is your computer?

macOS 26.6.2, Apple Silicon. uname -mprs: Darwin 25.6.0 arm64 arm. UI language: Simplified Chinese. Surface: a local Codex task in the macOS desktop app, not mobile Remote, voice, or the CLI.

What issue are you seeing?

An existing local coding task becomes unusable in a waiting-for-approval state. The sidebar displays the approval badge, but the task view has no visible approval controls and no visible message composer. Consequently, there is also no accessible composer-side Stop button.

The user-provided screenshot shows these exact strings:

  • Sidebar badge: 等待批准 (Waiting for approval).
  • Transcript footer: 正在等待你的回答 (Waiting for your answer).
  • Below it: 待批准 (Pending approval).
  • No visible Approve/Deny buttons, actionable approval card, or bottom message input.

The missing input is a key part of this report. The user cannot send a clarification, type a slash command, or use a composer-side stop control. Advice to “click Stop beside the input” does not apply.

A read-only inspection from a separate side conversation returned this sanitized state for the affected task:

{
  "thread": {
    "status": {
      "type": "active",
      "activeFlags": ["waitingOnApproval"]
    }
  },
  "latestTurn": {
    "status": "inProgress",
    "completedAt": null
  }
}

This state was observed after reopening the task and again during report preparation, approximately 09:03–09:11 UTC on 2026-09-28. These are inspection times, not a claim about the exact onset or total stall duration.

What steps can reproduce the bug?

Observed incident sequence; a deterministic minimal reproducer has not been established:

  1. Continue an existing local coding task in the desktop app. The task has been performing file edits, shell validation, local browser verification, and delegated reviews.
  2. The task enters an approval-waiting state.
  3. Open/view the task. The sidebar and transcript show the Chinese waiting/pending strings above, but approval controls and the composer are missing.
  4. Reopen the same task within the already-running desktop application. The application was not quit, relaunched, or restarted. The navigation operation succeeds, but a subsequent read still reports active / waitingOnApproval; the user still reports the missing input.
  5. Look for an independent Stop action in the command menu. The user reports finding no Stop entry. This is an observation in this installation/state, not a claim that no such command exists in any version.

The exact pending action, approval request type, and request ID could not be recovered from the available read-only task snapshot. The most recent returned command item was already completed with exit code 0, while the parent turn remained inProgress. This does not establish that this completed command owns the outstanding approval.

The app remained responsive enough to navigate and use a separate side conversation. Two other tasks were also listed as active. A full application quit/restart was not used as a recovery test during this investigation, to avoid interrupting unrelated work.

What is the expected behavior?

  • Every waitingOnApproval task should expose an actionable approval request, including the action/justification and Approve/Deny controls.
  • A user should have an accessible way to cancel the current turn even when approval UI is unavailable or the composer is intentionally hidden.
  • Reopening a task should restore its pending approval UI, or show an explicit recoverable error if the approval request cannot be restored.
  • The task should not present “waiting for your answer” while offering no way to answer or cancel.
  • Recovery should not require stopping unrelated active tasks or weakening approval settings.

Additional information

Selected local diagnostics

The log entry for the affected turn start at approximately 07:51 UTC contains:

requestApprovalPolicy=on-request
resolvedApprovalPolicy=on-request
requestApprovalsReviewer=guardian_subagent
resolvedApprovalsReviewer=guardian_subagent
requestSandboxPolicyType=workspaceWrite

A later window-manager warning references the affected task route. The following is an abbreviated, redacted excerpt; paths and identifiers were replaced:

2026-09-28T09:01:12.141Z warning [window-manager]
Failed to load bundle
documentPath=<APP_BUNDLE>/webview/index.html
errorCode=ERR_FAILED
errorMessage="ERR_FAILED (-2) loading 'app://-/index.html?initialRoute=%2Flocal%2F<THREAD_ID>'"

Subsequent task reads were routed successfully, for example:

2026-09-28T09:11:08.096Z info [AppServerConnection]
response_routed conversationId=<THREAD_ID>
durationMs=4 errorCode=null hadPending=true method=thread/read
targetDestroyed=false

2026-09-28T09:11:08.140Z info [AppServerConnection]
response_routed conversationId=<THREAD_ID>
durationMs=40 errorCode=null hadPending=true method=thread/turns/list
targetDestroyed=false

The window-load warning is included only as a possible correlation. It does not prove the cause of the missing controls, and its relationship to the approval state is unconfirmed. The hadPending field above belongs to response routing and is not being treated as proof of a pending approval payload.

Recovery attempts and limitations

  • Reopening only the affected conversation did not clear the observed approval-waiting state. The user explicitly confirmed that the Codex desktop client itself was never restarted.
  • The user could not find a Stop command in the command menu.
  • An attempt to use Computer Use to click Stop was rejected because controlling the Codex application itself is prohibited. No Stop click actually occurred; this separate tool restriction is not presented as the cause of the original UI failure.
  • No approval was granted through a fallback, no permission settings were changed, and no task/session records were modified.
  • Restart/reinstall, CLI takeover, a newer desktop build, and a clean minimal task have not been tested.

Related report

#39346 describes an approval-waiting banner without actionable controls on mobile Remote. This report is specifically about the local macOS desktop task view, with the entire message composer also absent. It may share an underlying cause, but that has not been established.

Privacy and evidence scope

This report deliberately omits account details, local usernames and workspace paths, project/task names and source content, actual thread/turn/request identifiers, authentication material, browser tokens, and unrelated task details. The screenshot's UI text is transcribed above; the original screenshot and full transcripts/logs are not uploaded because they contain private workspace context. No full session upload was performed.

BryanQQYue avatar Sep 28 '26 09:09 BryanQQYue

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #47838

Powered by Codex Action

github-actions[bot] avatar Sep 28 '26 09:09 github-actions[bot]

Additional observation of the same visible symptoms in the ChatGPT/Codex macOS desktop task UI on October 15, 2026 (not the CLI):

  • The task displayed “Awaiting approval” and “Waiting for your answer” while the elapsed-time indicator exceeded three hours (“Working for 3h 7m 10s” at one observation).
  • No actionable approval/deny buttons, message composer, or stop/cancel button were visible in the affected task view.
  • As a result, the user could neither answer the approval request nor stop the task from that view.

The app version and macOS version are not yet available. The exact pending approval action and a deterministic minimal reproducer are also unknown, so this is confirmation of matching symptoms, not proof of a shared root cause.

Expected: show the pending request with approve/deny controls and provide an independent way to cancel the current turn even when the composer or approval card fails to render. Please advise on a supported way to recover or cancel only the affected task while preserving its history and results.

This symptom-only report intentionally omits account details, task identifiers/titles, conversation contents, screenshots, and logs.

megabrain11 avatar Oct 15 '26 04:10 megabrain11

Additional incident: macOS desktop 26.1013.31256 — full restart restored the approval controls and composer

Reporting another occurrence of the same visible symptoms on October 21, 2026, with verified application/OS versions, read-only state inspection, and a tested recovery. A shared root cause with the original report has not been established.

Suggested triage priority for this occurrence: Minor. One chat became unusable; other chats remained accessible, and a full application quit/relaunch restored the missing controls. This is a priority recommendation, not a claim that a repository priority field has been changed.

Environment

  • Desktop application: 26.1013.31256, build 20586, bundle ID com.openai.codex (read from the installed application bundle).
  • macOS 15.7.9, arm64 (queried locally).
  • Bundled runtime version recorded in the affected thread: 0.163.0-alpha.10.2.
  • Surface: an existing local chat in the macOS desktop application.
  • The chat had used browser automation and MCP tools; context compaction had occurred earlier. These are contextual observations, not established prerequisites.
  • Account/subscription details are omitted.

Observed sequence

A deterministic minimal reproducer is not yet established.

  1. Continue an existing local chat while the agent verifies a CSV download in the built-in browser. The last unfinished tool call waited for a download, clicked a file link, and attempted to obtain the downloaded file path.
  2. The chat shows “Waiting for your answer” and “Awaiting approval.”
  3. Both the actionable approval card/buttons and the entire message composer are absent. The user cannot answer from that chat view.
  4. Navigate to another chat and return. The user confirmed that this did not help.
  5. Fully quit and relaunch the desktop application. The user confirmed that both the buttons and the message input reappeared.

The user supplied a screenshot confirming the two waiting strings and absence of the approval controls/composer. Its relevant UI content is transcribed above; the original screenshot contains private workspace text and is not uploaded.

Expected vs actual behavior

Expected: an approval-waiting chat exposes an actionable request with approve/deny controls. If that UI cannot be restored, provide a visible recoverable error and an independent way to cancel the affected turn.

Actual: the chat reports that it needs an answer but exposes neither the approval controls nor a message input. Reopening just the chat does not recover it; a full application restart was required in this occurrence.

Read-only inspection before restart returned:

{
  "thread": {
    "status": {
      "type": "active",
      "activeFlags": ["waitingOnApproval"]
    }
  },
  "latestTurn": {
    "status": "inProgress",
    "completedAt": null
  }
}

After restart, the same chat was active with an empty activeFlags list, and subsequent tool calls were running/completing again.

Timeline and targeted diagnostics

All timestamps below are UTC on 2026-10-21.

Time Observed event
10:17:14.273 Last unfinished browser tool call recorded: CSV download verification.
10:17:14.392 Desktop renderer logged ResizeObserver loop completed with undelivered notifications.
Approximately 10:17:15 Guardian V2 classification for that same tool call recorded action_risk=0.0, review_threshold=0.8, accepted=true.
10:22:09.860 Closing the application ended that old tool call with aborted by user after 295.6s.
10:22:17.395 New desktop process log began after relaunch.
10:22:37.882 A new turn began in the same chat.

The old download call was interrupted, not shown to have completed successfully. Recovery of the UI must not be interpreted as successful completion or replay of that original call.

A targeted renderer excerpt, with unnecessary window metadata omitted:

2026-10-21T10:17:14.392Z error [electron-message-handler]
[desktop-notifications][global-error]
ResizeObserver loop completed with undelivered notifications.

There were 58 such entries between approximately 10:17:14 and 10:17:56. However, the same error also appeared 66 times between approximately 10:22:27 and 10:25:02 after relaunch, while the UI had recovered. Therefore ResizeObserver is only a concurrent diagnostic observation, not a demonstrated cause or a reliable marker of the missing-composer state.

Browser logs also contained Frame with the given id was not found. around browser operations before and after restart; its relevance is unconfirmed.

Investigation limits and evidence handling

  • The exact outstanding approval payload/type was not recovered. The unfinished browser call is the last recorded operation, not proof of which approval layer owned the wait.
  • Guardian's accepted=true is evidence that this classification did not reject the call; it does not rule out a separate browser/tool-level approval.
  • No permission settings were weakened, no approval was granted through a fallback, and no session records were edited.
  • Only one occurrence was investigated on this installation. A clean minimal chat and a newer desktop build were not tested.
  • This public report omits actual thread/turn/tool-call identifiers, local usernames and paths, internal ticket/domain names, private conversation text, account details, and full logs/transcripts.

The useful new recovery result is that switching chats failed, but fully quitting and relaunching restored both the approval controls and the composer. Please investigate pending-approval restoration and provide a way to recover/cancel only the affected chat.

8GagariN8 avatar Oct 21 '26 10:10 8GagariN8

Additional recurrence — October 26, 2026 (Asia/Tokyo)

A further occurrence of the same issue is visible in a user-provided screenshot of the affected Codex desktop conversation. The task is open and shows “Waiting for your answer” and “Awaiting approval,” but no actionable approval buttons or message composer are visible. The user reports there is no button available to respond.

The app/OS versions, exact pending action, and recovery outcome are unknown. This confirms another occurrence of the reported UI symptoms; it does not establish a root cause. The screenshot is not attached here, and unrelated conversation content is omitted.

A-Yappari-Aya avatar Oct 26 '26 14:10 A-Yappari-Aya

Additional occurrence — October 28, 2026 (Asia/Singapore)

Reporting matching symptoms in a local macOS desktop chat. A shared root cause with the original report has not been established.

Environment

  • Installed ChatGPT/Codex desktop: 26.1021.31345, build 21828, bundle ID com.openai.codex; read from the installed application's Info.plist.
  • macOS 26.6.2, arm64; queried locally.
  • The desktop-bundled runtime version has not been verified. The separately installed CLI version is not being treated as the desktop runtime version.

Observed incident

  1. An existing local chat requested explicit approval for a scoped operation after automatic review declined it.
  2. The user's screenshot shows “Waiting for your answer” and “Awaiting approval”, including a sidebar approval badge. No actionable approval/deny buttons or message composer are visible in the captured chat pane. The user reports being unable to approve.
  3. A separate chat inspected the affected chat through the built-in thread status tool. It returned:
    {
      "thread": {
        "status": {
          "type": "active",
          "activeFlags": ["waitingOnApproval"]
        }
      },
      "latestTurn": {
        "status": "inProgress",
        "completedAt": null
      }
    }
    
  4. The user then explicitly confirmed the specific operation in the separate chat and requested that the approval be relayed. The built-in send_message_to_thread call succeeded and returned the target thread ID. An immediate status read, a subsequent 30-second wait, and another read during preparation of this report still showed active / waitingOnApproval with the same in-progress turn and no observed progress.
  5. The successful message submission does not prove that the blocked agent consumed it, that a tool-level approval was resolved, or that the requested operation ran. It may be queued behind the pending approval. This report is not asking for cross-chat prose to bypass or automatically satisfy a tool-level approval.

Expected behavior

  • Show the pending request and usable approve/deny controls whenever a chat is waiting for approval.
  • Provide a visible way to cancel or recover only the affected turn when the approval UI or composer is missing.
  • If follow-up messages are queued behind an approval, make that state explicit rather than leaving users uncertain whether their reply was processed.

Limits and privacy

  • This is an observed incident, not a deterministic minimal reproducer.
  • The exact pending request ID/type and underlying cause have not been recovered.
  • No restart recovery has been tested in this occurrence. Advice to click Stop was offered, but no accessible Stop control or successful cancellation was verified.
  • Computer Use refused to control the Codex app itself, so no approval/stop click occurred through that tool. This restriction is separate from the original missing-controls symptom.
  • No approval policy was weakened, no session records were modified, and no safeguard was bypassed.
  • The original screenshot, conversation content, account details, project names, destinations, credentials, local paths, and actual thread/turn IDs are omitted from this public report.

Submitted with assistance from Codex at the user's explicit request.

mechofgalaxy avatar Oct 28 '26 04:10 mechofgalaxy

Additional occurrence — October 28, 2026, macOS desktop 26.1013.40934

Reporting the same visible symptoms in a local Codex chat. A shared root cause with this issue has not been established.

Environment

  • Installed desktop app: 26.1013.40934, build 20770, read from the application's Info.plist.
  • macOS 26.4, queried locally.
  • The affected turn's app log records resolvedApprovalPolicy=on-request and resolvedApprovalsReviewer=auto_review.

Observed sequence

  1. An existing local chat was troubleshooting an iPad connection and attempted to inspect macOS connection prompts using computer control.
  2. cua.getState() completed. Context compaction occurred, and cua.rewriteDocumentation() subsequently completed.
  3. The last recorded tool request was:
    var settings = await cua.getApp('com.apple.systempreferences');
    
    It was recorded at 12:53:56 on October 28, 2026 (Africa/Tunis, UTC+1), with no corresponding result present when the transcript was inspected.
  4. The screenshot shows “Waiting for your answer” and “Awaiting approval”, without actionable approval controls in the captured area. The user separately confirmed that the affected chat had no message input and no accessible Stop button, so they could neither answer nor cancel.
  5. Another chat remained usable for read-only inspection. The affected chat returned:
    {
      "thread": {
        "status": {
          "type": "active",
          "activeFlags": ["waitingOnApproval"]
        }
      },
      "latestTurn": {
        "status": "inProgress",
        "completedAt": null
      }
    }
    

Expected Show the pending request or automatic-review progress, and retain an accessible way to cancel or recover the affected turn when the approval card or composer is unavailable.

Limits

  • This is one observed incident, not a deterministic minimal reproducer.
  • The unfinished System Settings request is the last recorded operation; this does not establish which approval layer owns the wait or prove that computer control or compaction caused the UI failure.
  • Full quit/relaunch was suggested, but its outcome has not been confirmed for this occurrence.
  • Only focused diagnostic details are included here; private project content, device identifiers, local paths, actual chat/tool-call IDs, and full logs/transcripts are omitted.

Submitted with Codex assistance at the user's request.

ramyjaiem avatar Oct 28 '26 12:10 ramyjaiem

Additional recurrence — October 28, 2026 (Pacific time)

In ChatGPT/Codex macOS desktop 26.1021.31345 (build 21828) on macOS 26.5.2 arm64, two local chats separately remained active with waitingOnApproval and an in-progress turn. The user reported that the approval control was unusable, so they could not approve or continue. Forking the first chat and continuing reproduced the stall.

The last recorded request before each wait was cua.getApp('Screen Sharing'). This is a correlation only; the pending approval type and root cause were not established. Archiving the two blocked chats interrupted their turns. A later continuation avoided Screen Sharing and remained active. A full app restart was not tested.

Expected: a usable approve/deny control or a way to cancel the affected turn. This report omits private workspace details, chat identifiers, credentials, and full logs.

fortybyte avatar Oct 29 '26 02:10 fortybyte

+1: another local macOS desktop occurrence (November 1, 2026, Pacific time)

I have an active local Codex chat showing a green “Needs approval” indicator, but I cannot find an approval UI or a way to abort the turn in the chat. I cannot approve, deny, or continue it. I plan to fully quit and restart Codex after filing this update; the outcome of that recovery attempt is not yet known.

  • Codex desktop: 26.1023.50603, build 22391, production channel (reported by the app update check).
  • macOS 26.6.2 (build 25G83), arm64.
  • Read-only inspection from a separate chat reports thread.status.type: active, activeFlags: [waitingOnApproval], and a latest turn with status: inProgress and completedAt: null.
  • Immediately before the stall, the agent ran codex mcp login <server>. That command failed with an OAuth metadata discovery/HTTP request error. The transcript then recorded a reasoning item but no actionable approval request. The command failure is the last visible operation; I do not know whether it caused the approval wait.

Expected: show the pending approval with usable controls, and provide a way to cancel the affected turn while preserving the chat history.

This is an observed occurrence, not a deterministic reproducer. I have omitted the chat ID, workspace path, server address, account details, and full transcript from this public comment.

madhu19991 avatar Nov 02 '26 02:11 madhu19991

Summary

On November 5, 2026, this symptom occurred in two consecutive chats while agents were attempting to revoke a ChatGPT public shared link. Both chats displayed an approval-waiting state, but neither the approval controls nor the message composer was visible, leaving the user unable to respond.

Observed sequence

  1. In the macOS desktop app, ask the agent in an existing chat to revoke that chat's public shared link.
  2. The agent attempts to use Chrome to access ChatGPT settings and shared-link management, then enters an approval-waiting state.
  3. The chat shows Waiting for your answer and Awaiting approval, but no visible Approve/Deny buttons or message composer.
  4. From a separate chat, ask another agent to tell the original chat that the user approves revoking the link. The second agent reports sending that message, but the original chat remains awaiting approval.
  5. The second agent then attempts to use shared-link management itself. That chat also enters the same approval-waiting state, with its composer and approval controls missing.
  6. The sidebar shows both chats with Awaiting … badges simultaneously.

This sequence is based on the user's report and three screenshots. The screenshots were captured on 2026-11-05, approximately 12:01–12:08 JST (03:01–03:08 UTC). These are capture times, not the exact onset time. The internal approval request types and IDs have not been established.

Environment and verification limits

  • App: ChatGPT / Codex 26.1023.50603, build 22391, bundle ID com.openai.codex. Read from the installed app's Info.plist during report preparation.
  • OS: macOS 27.2 (26B123), obtained using sw_vers during report preparation.
  • The product selector in the screenshots is set to Codex. The conversation is in Japanese; the approval-state labels are in English as quoted above.
  • Two chats became unusable during the same operation flow. It is not established whether this is specific to settings operations or whether it shares the same internal cause as the original issue.
  • Restarting the app, testing a newer build, and establishing a minimal reproduction have not been tested for this report.

Expected behavior and impact

When approval is required, display the action and actionable Approve/Deny controls. If the composer is unavailable, provide a way to cancel the pending operation or recover the chat.

Asking a second chat for help resulted in that chat becoming stuck too. This is particularly disruptive during a privacy-related task: the user cannot provide approval or corrective instructions, and successful revocation of the public link remains unconfirmed.

Private project names, conversation contents, account information, actual chat IDs, original screenshots, and full logs are not included in this public report.

mitsukoo avatar Nov 05 '26 05:11 mitsukoo

Additional user report — November 10, 2026, macOS desktop.

The user reports that the message text box disappears whenever a chat is awaiting approval, preventing them from typing follow-up instructions in that chat. They describe this as a recurring, highly disruptive problem and explicitly requested that it be reported to the developers.

User-reported sequence:

  1. Use a chat in the desktop app.
  2. The chat enters an awaiting-approval state.
  3. The message composer disappears.

Expected: keep the composer visible and usable while approval is pending, alongside usable approval controls, so the user can clarify or redirect the task.

This adds a report of the same visible symptom; a shared root cause has not been established. The affected app build, exact approval type, independent reproduction, and recovery behavior have not been verified. The user did not specify whether approval buttons also disappear.

Submitted with Codex assistance at the user's explicit request.

ediewilson avatar Nov 10 '26 19:11 ediewilson

Recurrence on macOS desktop 26.1027.30824

On November 12, 2026 (Pacific time), a regular local Codex chat showed that it needed approval. Opening the chat displayed the transcript without either the approval controls or the message composer. Reopening the chat did not restore the controls.

  • ChatGPT/Codex desktop: 26.1027.30824, build 22943
  • macOS: 27.2, build 26B123
  • Codex runtime recorded for the session: 0.166.0-alpha.5.1
  • The chat had an in-progress turn with activeFlags: ["waitingOnApproval"].
  • The last recorded action was an escalation request for git worktree add. The request explained that Git needed to update shared repository metadata outside the writable workspace. The turn used the workspace-write sandbox, on-request approval, and the user as reviewer.

Expected: display the pending command with usable approval controls and provide a way to cancel the turn if the request cannot be displayed. This is an observed recurrence. The underlying cause and a deterministic reproducer are unconfirmed.

Poofi avatar Nov 13 '26 06:11 Poofi

Reproduction update from 13 Nov 2026: the user reports the same macOS desktop failure across three separate Codex tasks grouped in a 12 November workstream section. Each displays “Awaiting approval”; when opened, the bottom message composer disappears and there is no visible action to approve or deny. This prevents the user from answering or continuing the tasks. A screenshot from one affected task earlier today showed the waiting state without an approval control. This appears to be a recurrence across multiple tasks, not an isolated task view.

App-reported installed version: 26.917.62051, build 10789, production channel. The app update eligibility check returned busy, so update availability is unconfirmed. The pending approval payload and request IDs are not available from the task view; no approval has been inferred or granted. Please restore an actionable approval card or an independent cancel/recovery control whenever the composer is hidden. I have omitted account details, task names, identifiers, and private logs.

genesismodelmgmt avatar Nov 13 '26 12:11 genesismodelmgmt