GitHub issue #13733 in openai/codex, opened 2026-03-06 by jitlabs-sg, records a report that when a background process is running (e.g. cargo build, cargo test), Codex enters a polling loop where each status check triggers a full API round-trip with the entire conversation history; each poll is one full API request with complete history, a 60-second cargo build generating ~12 polling turns; proxy debug logs show session items growing from 237 to 300+ over routine tool calls, with a polling cadence of ~10 s per poll during background waits and no substantive new content. Environment cited: Codex CLI via Responses API proxy, macOS and Windows, history sizes 200–300+ items typical.
Verbatim Excerpts from Cited Records
“When a background process is running (e.g. `cargo build`, `cargo test`), Codex enters a polling loop where **each status check triggers a full API round-trip with the entire conversation history**.”
“**Each poll = 1 full API request with complete conversation history.** A 60-second `cargo build` generates ~12 polling turns.”
·
openai/codex (issue 13733 opening body, Root Cause section)
·
2026-03-06T11:02:20Z
·GitHub Issue ↗
“From proxy debug logs, a single Codex session shows items growing: 237 → 239 → 242 → ... → 300+ over routine tool calls. Each turn re-transmits the entire history.”
·
openai/codex (issue 13733 opening body, Observed Behavior section)
·
2026-03-06T11:02:20Z
·GitHub Issue ↗
“During background waits, the cadence is ~10s per poll with no substantive new content.”
·
openai/codex (issue 13733 opening body, Observed Behavior section)
·
2026-03-06T11:02:20Z
·GitHub Issue ↗
Counter-record: Issue open as of the fetch; 47 comments were read. github-actions[bot] flagged #11629 as a potential duplicate. Maintainer etraut-openai replied 2026-04-27 agreeing this is an architectural gap to fill and exploring options, and on 2026-05-19 clarified that since the websocket transport was introduced only the new message is sent to the server, not the full history — a correction to part of the reported mechanism, which commenters pushed back on, noting cached tokens are still billed per token on API plans. Community members offered stopgap patches, MCP-based wait servers and skills (including a branch from SproutSeeds and a quantified multi-session reproduction from rogersau on Codex CLI 0.145.0). No fix has landed in the surveyed thread. The claim documents only the original report, not a verified current state.
Falsification probe: If GitHub issue #13733 is deleted without archive, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn.
Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by
scripts/verify_claim_verbatim.py.