Skip to content

test(recorded): add client cassette coverage (3/5)#1976

Draft
Pouyanpi wants to merge 1 commit into
stack/recorded-tests-02-deterministic-library-loadfrom
stack/recorded-tests-03-clients
Draft

test(recorded): add client cassette coverage (3/5)#1976
Pouyanpi wants to merge 1 commit into
stack/recorded-tests-02-deterministic-library-loadfrom
stack/recorded-tests-03-clients

Conversation

@Pouyanpi

@Pouyanpi Pouyanpi commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds recorded client-level coverage for OpenAI chat and embeddings flows.

Why

Client cassette smoke tests validate that the harness can replay basic provider traffic before the rails API coverage layers on top.

What Changed

  • Adds OpenAI chat cassette coverage.
  • Adds OpenAI embeddings cassette coverage.
  • Adds minimal configs used by the client tests.

Stack Position

Part 3 of 5.

Stack Context

This stack decomposes recorded end-to-end replay coverage into reviewable slices. The PRs should be reviewed against their parent branch in the stack.

Please review each PR against its parent branch, not directly against the root base branch, except for part 1.

Order PR Branch Base
1 #1974 stack/recorded-tests-01-harness develop
2 #1975 stack/recorded-tests-02-deterministic-library-load stack/recorded-tests-01-harness
3 #1976 stack/recorded-tests-03-clients stack/recorded-tests-02-deterministic-library-load
4 #1977 stack/recorded-tests-04-public-api stack/recorded-tests-03-clients
5 #1978 stack/recorded-tests-05-library-rails stack/recorded-tests-04-public-api

Validation

poetry check --lock
poetry lock --no-update
poetry install --with dev
poetry run pytest tests/recorded --block-network -q
pre-commit hooks passed during commit creation

@codecov

codecov Bot commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Pouyanpi Pouyanpi force-pushed the stack/recorded-tests-02-deterministic-library-load branch from 6fec9aa to 9cad57c Compare June 9, 2026 16:22
@Pouyanpi Pouyanpi force-pushed the stack/recorded-tests-03-clients branch from dc3a4a7 to 8000a8e Compare June 9, 2026 16:22
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