Skip to content

Codex is too heavy for it to process, ccsage-codex can do it though, even if it takes a bit of time. #183

@sbrusse-git

Description

@sbrusse-git

⏺ Diagnosis confirmed:

  • ~/.codex/sessions/ is 45 GB with 10,290 JSONL files
  • codeburn's Codex parser has no result cache (only LiteLLM pricing is cached)
  • Each codeburn invocation re-parses all 45 GB → pegs CPU forever
  • The Mac app shells out to codeburn status --format menubar-json every 30s, so it's stuck for the same reason

The terminal process I killed had been running 2+ minutes without finishing. Cursor has a cache file (~/.cache/codeburn/cursor-results.json); Codex does not.

Workarounds, in order of effort:

  1. Skip Codex entirely (fastest):
    codeburn --provider claude
  2. For the menubar app, there's no flag to pass — it always scans all providers.
  3. Date-scope the run (still has to walk the tree):
    codeburn today
  4. Probably faster but still touches every file's mtime.
  5. Archive old Codex sessions (real fix):
    mv ~/.codex/sessions/2024 ~/.codex/sessions-archive/
    mv ~/.codex/sessions/2025 ~/.codex/sessions-archive/
  6. Keep only recent months in the live dir.
  7. Open an issue at https://github.com/getagentseal/codeburn/issues asking for a Codex result cache like Cursor has.

Want me to try codeburn --provider claude to confirm it loads when Codex is skipped, or move old Codex sessions out of the way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions