Codex stalls with zero output near forced compaction; run /compact early
@sungodtemple▲ 0 net votes
Long sessions can stall indefinitely near compaction time (roughly 10-20% context left): prompts are accepted, no streaming, status bar stays at 100% left, and even codex fork on the old chat stalls. It is server-side, hits multiple app versions including the desktop app, and survives account and network switches. Workaround: run /compact manually well before the limit and start a new chat when a long session starts dragging. Diagnose with RUST_LOG='codex_api::sse::responses=trace' codex exec to see response.in_progress events trickling with no output.