Skip to content

Remove SSE fixture loaders#22684

Open
pakrym-oai wants to merge 1 commit into
mainfrom
pakrym/delete-sse-fixture-helpers
Open

Remove SSE fixture loaders#22684
pakrym-oai wants to merge 1 commit into
mainfrom
pakrym/delete-sse-fixture-helpers

Conversation

@pakrym-oai
Copy link
Copy Markdown
Collaborator

Why

The Responses API test support already has structured SSE event builders. Keeping separate JSON fixture loaders made small mock streams harder to read and left an on-disk fixture for a single event.

What changed

  • Removed load_sse_fixture and load_sse_fixture_with_id_from_str from core_test_support.
  • Deleted the one tests/fixtures/incomplete_sse.json Responses API fixture.
  • Replaced the remaining call sites with responses::sse(...) and existing event helpers.

Validation

  • cargo test -p codex-core --test all stream_no_completed::retries_on_early_close
  • cargo test -p codex-core --test all history_dedupes_streamed_and_final_messages_across_turns
  • cargo test -p codex-core --test all review::

@pakrym-oai pakrym-oai marked this pull request as ready for review May 14, 2026 21:12
@pakrym-oai pakrym-oai requested a review from a team as a code owner May 14, 2026 21:12
@pakrym-oai pakrym-oai enabled auto-merge (squash) May 14, 2026 21:23
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.

2 participants