Skip to content

fix: monitor current Codex capacity events#15

Merged
makerjackie merged 1 commit into
mainfrom
fix/current-codex-event-monitor
Jul 16, 2026
Merged

fix: monitor current Codex capacity events#15
makerjackie merged 1 commit into
mainfrom
fix/current-codex-event-monitor

Conversation

@makerjackie

Copy link
Copy Markdown
Owner

What changed

  • monitor Codex Desktop's current ~/.codex/logs_*.sqlite event database for model-capacity failures
  • retain the old codex-tui.log reader as a compatibility fallback
  • persist the database high-water mark, ignore historical and duplicate failures, and keep root-task safety checks
  • update the bilingual implementation notes and bump the app to 0.8.1 (build 13)

Root cause

Current Codex Desktop builds no longer append runtime events to ~/.codex/log/codex-tui.log. Auto Retry was running, but its only production detector was watching that stale file, so new capacity failures were invisible.

Verification

  • ./test.sh
  • confirmed current Codex event records use target = 'codex_core::session::turn' and contain the exact Turn error: Selected model is at capacity... message
  • git diff --check

@makerjackie
makerjackie marked this pull request as ready for review July 16, 2026 09:37
@makerjackie
makerjackie merged commit a00bf1c into main Jul 16, 2026
2 checks passed
@makerjackie
makerjackie deleted the fix/current-codex-event-monitor branch July 16, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant