Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
appIssues related to the Codex desktop appbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingtool-callsIssues related to tool calling
Description
Codex side-conversation handoff corrupts parent thread with null call_id
Summary
Sending a message from a side conversation to its parent thread via
send_message_to_thread appends a malformed function_call_output item to the
parent thread. The item has call_id: null. The next parent-thread request fails
before reaching the model with:
input[467].call_id: expected a non-empty string
The parent thread then fails consistently on subsequent attempts.
Environment
- macOS: 26.6.2 (25G83)
- ChatGPT/Codex app: 26.1111.21308 (build 27194)
- Codex Framework: 157.0.8103.78
- Surface: Codex app, side conversation → parent thread
- Tool:
send_message_to_thread
Reproduction steps
- Open an existing Codex parent thread.
- Create a side conversation from that thread.
- In the side conversation, send a message to the parent using
send_message_to_thread. - Return to the parent thread and send any follow-up message.
Actual result
The parent thread fails with:
input[467].call_id: expected a non-empty string
Local session evidence:
function_call count: 154
function_call_output count: 154 matched + 1 unmatched
unmatched item:
type: function_call_output
name: send_message_to_thread
call_id: null
The malformed item is the 467th input item. Repeated attempts produce the same
failure.
Expected result
- The parent thread should receive the side-conversation message.
- The parent thread should continue normally.
- The synthetic handoff item should have a valid non-empty
call_id, or should
not be represented as afunction_call_outputif it has no corresponding
function call.
Impact
- Side-conversation handoff to a parent thread is unusable.
- The parent thread becomes effectively read-only because every new turn sends
the malformed history to the API and fails validation. - The only recovery is to start a new main thread; forking the broken thread may
copy the bad history.
Workaround
- Do not use
send_message_to_threadfrom a side conversation into a thread
that must remain usable. - Write a handoff document to the workspace instead.
- Start a fresh parent thread and reference the handoff document.
- Do not reuse or fork the corrupted parent thread.
Suggested fix
- Generate a unique non-empty
call_idfor the synthetic
send_message_to_threadoutput and pair it with a matching function call; or - Represent side-conversation notifications as a normal user/system message
rather thanfunction_call_output. - Add validation/migration to detect a
function_call_outputwith a null or
emptycall_idand repair/skip it when loading an existing thread.
Notes
This report intentionally contains no conversation contents, credentials, or
server secrets.
Metadata
Metadata
Assignees
Labels
appIssues related to the Codex desktop appbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingtool-callsIssues related to tool calling
Activity
github-actions commentedon Nov 17, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action