Error running remote compact task: timeout waiting for child process to exit

Resolved 💬 5 comments Opened May 7, 2026 by spthaug Closed Jun 29, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.128.0

What subscription do you have?

API Key

Which model were you using?

gpt-5.5 high

What platform is your computer?

Linux 7.0.0-14-realtime x86_64 unknown

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

bash

What issue are you seeing?

Error running remote compact task: timeout waiting for child process to exit

What steps can reproduce the bug?

Uploaded thread: 019ddea5-02cb-7063-84bc-0460d7ec7f3b

What is the expected behavior?

No error

Additional information

_No response_

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 3 months ago

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

  • #19979
  • #21343
  • #20931
  • #20439
  • #20160

Powered by Codex Action

spthaug · 3 months ago

IT is similar to #19979 but with a more recent codex version and different Auth method.

presidenzo · 3 months ago

Also seeing this on Codex Desktop for macOS.

Thread ID: 019e0390-d329-74c3-b8ab-13a32d339c9b
Codex App: 26.429.61741 (2429)
Error:

Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)

This is still happening today (2026-05-07).

Crypto-Cat · 3 months ago

This happens to me on 100% of compact tasks, in VSCode extension and Codex CLI (Linux). Using subscription, not API key.

etraut-openai contributor · 1 month ago

Thanks for reporting this problem. Until recently, Codex used a separate endpoint and server-side logic for compaction. We recently switched to a more robust approach where the compaction logic is moved locally using the same endpoint as normal turns. This eliminates "remote compaction" errors and increases the stability and reliability of compaction operations. If you see further problems with compaction, please use /feedback and open a new bug report.