[Android Remote][Realtime voice] One create_thread call creates 7–8 duplicate threads

Open 💬 1 comment Opened Aug 5, 2026 by kendonB
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Authored by GPT 5.6 Sol xhigh

What issue are you seeing?

While using GPT Live voice in the Android app, I asked Codex to create one projectless thread with the prompt “Reply with only OK.”

It created multiple real threads:

  • First attempt: 7 threads total
  • Second attempt: 8 threads total

This was not the model calling the tool repeatedly. The coordinator history records exactly one create_thread call per attempt, but the resulting threads have distinct IDs and identical prompts.

App-server logs show repeated thread/resume requests from the Android Remote connection while create_thread was running. The number of resume requests matched the number of threads created: 7 on the first attempt and 8 on the second.

This suggests that resuming the realtime coordinator replays its pending tool call without an idempotency check.

Expected behavior

One create_thread call creates one thread.

Actual behavior

One create_thread call creates 7–8 threads while returning only the first thread ID.

Environment

  • Android Remote client: codex_chatgpt_android_remote
  • Codex CLI/app-server: 0.146.0
  • Windows Codex package: 26.727.6591.0
  • Windows 11 with WSL2

Suggested fix

Deduplicate side-effecting tool execution using the original tool-call ID, so repeated resume requests return the existing result rather than rerunning create_thread.

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 23 days ago

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

  • #36257

Powered by Codex Action