Skip to content

Add reliable real Codex E2E coverage #71

Description

@liaohch3

Goal

Add end-to-end coverage for the Codex integration without depending on local Claude Code availability.

Scope

Minimum expectations

  • validate that traces are actually captured, not just that the process exits 0
  • assert request input, response output, token usage, and API call count where applicable
  • cover both reverse mode and forward mode / fallback behavior if the environment supports it
  • verify generated viewer artifacts when the trace should produce them
  • keep evidence based on real .traces/ data, not synthetic screenshots

Constraints

  • local environment currently does not have Claude Code, so Codex coverage is the immediate priority
  • Claude-specific real E2E can remain skipped or follow in a later issue/PR

Suggested test slices

  • direct Codex reverse proxy capture with openai_base_url override
  • WebSocket incremental request / output reconstruction assertions
  • forward proxy with Rust TLS CA env compatibility
  • negative assertions for regressions such as API calls: 0, empty input, or missing final output

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions