Skip to content

[#81]: compat: add Codex v0.134.0 --profile flag rename coverage#91

Open
delexw wants to merge 1 commit into
mainfrom
fix-issue-81
Open

[#81]: compat: add Codex v0.134.0 --profile flag rename coverage#91
delexw wants to merge 1 commit into
mainfrom
fix-issue-81

Conversation

@delexw
Copy link
Copy Markdown
Contributor

@delexw delexw commented May 31, 2026

Summary

Codex v0.134.0 (PRs #23883, #24051, #24055, #24059) renamed the --profile-v2 CLI flag to --profile and removed all legacy profile v1 support.

codex-trace is unaffected at the production-code level. It reads JSONL session files only — it never invokes the codex CLI and never reads Codex TOML config. The profile field has been present in session_meta payloads since v0.131.0 and continues to parse correctly under v0.134.0.

This PR adds test coverage to document the change and verify that v0.134.0 sessions parse correctly.

Changes

  • src-tauri/src/parser/entry.rs — updated v0.131.0 comment to note the v0.134.0 rename; added 3 new tests:

    • v0134_session_meta_with_profile_field_does_not_panic
    • v0134_session_meta_without_profile_does_not_panic
    • v0134_all_standard_entry_types_parse_correctly
  • src-tauri/src/parser/session.rs — updated v0.131.0 comment; added 3 new tests:

    • v0134_profile_session_parses_correctly
    • v0134_session_without_profile_parses_correctly
    • v0134_legacy_profile_v1_absent_does_not_affect_session_parsing
  • src-tauri/src/parser/discover.rs — updated v0.131.0 comment; added 2 new tests:

    • discover_sessions_v0134_profile_session_discovered_correctly
    • discover_sessions_v0134_no_profile_discovered_correctly

Verification

  • All 139 Rust tests pass (cargo test)
  • All 128 frontend tests pass (npm test / vitest)
  • cargo clippy -- -D warnings: clean
  • cargo fmt --check: clean

Fixes #81

Codex v0.134.0 (PRs #23883, #24051, #24055, #24059) renamed --profile-v2 to
--profile and removed all legacy profile v1 support. codex-trace is unaffected
at the production-code level (it reads JSONL session files only, never invokes
codex CLI or reads Codex TOML config). This commit adds test coverage to
document the change and verify v0.134.0 sessions parse correctly.

Changes:
- entry.rs: note v0.134.0 rename in v0.131.0 comment; add three v0.134.0 tests
- session.rs: note v0.134.0 rename in v0.131.0 comment; add three v0.134.0 tests
- discover.rs: note v0.134.0 rename in v0.131.0 comment; add two v0.134.0 tests

Fixes #81
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.

[Compat] Codex v0.134.0: --profile-v2 flag renamed to --profile; legacy profile v1 config rejected

1 participant