• Category: Agentic coding
  • Status: confirmed
  • Sources: codex issue #28224, PR #29432, release rust-v0.142.0, discussion
  • Summary: OpenAI merged two fixes for the Codex CLI defect that wrote TRACE/INFO records continuously to ~/.codex/logs_2.sqlite, where one reporter measured roughly 37 TB written over about 21 days. PR #29432 ("Stop logging every Responses WebSocket event") and PR #29457 ("Filter noisy targets from persistent logs") landed on 2026-06-22; the bulk of the volume came from the codex_api::endpoint::responses_websocket target. The fixes shipped in rust-v0.142.0 on 2026-06-22 and the reporter closed the issue as completed the same day.
  • Comments: HN commenters criticized Codex log quality and reported a separate symptom of the spinner pegging GPU usage; before the release landed, users circulated a SQLite trigger to block inserts and suggested redirecting the log to a tmpfs/ramdisk.
  • Why it matters: The write rate extrapolated toward a consumer SSD's endurance budget within a year, so the patch removes a real hardware-wear risk for daily Codex CLI users.
  • Follow-up: Confirm the log-volume reduction holds in rust-v0.142.0, and whether Codex Desktop on Windows gets the same fix.

Send feedback on this story