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

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

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

v0.113.0

What subscription do you have?

plus

What platform is your computer?

linux ubuntu

What issue are you seeing?

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

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

› Implement {feature}

gpt-5.4 medium · 12% left · ~/openclaw

When there's very little context left, this can suddenly happen, causing the conversation to stop and rendering previous conversations invalid. It's very annoying.

What steps can reproduce the bug?

just chat many turns

What is the expected behavior?

solve this problem as soon as possible

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 5 months ago

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

  • #13906
  • #13784
  • #14063
  • #13815

Powered by Codex Action

Grallen · 5 months ago

I think I've solved this... just need to get attention on my fix: https://github.com/openai/codex/issues/14860

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.