Skip to content

Comments

Add e2e test infrastructure and implementations for AI Transport guides#3213

Open
GregHolmes wants to merge 2 commits intomainfrom
AIT-489-Introduce-E2E-testing-for-Guides-code
Open

Add e2e test infrastructure and implementations for AI Transport guides#3213
GregHolmes wants to merge 2 commits intomainfrom
AIT-489-Introduce-E2E-testing-for-Guides-code

Conversation

@GregHolmes
Copy link
Contributor

Introduce guides/ai-transport/ directory with full runnable code for all 8 AI Transport guides (4 providers x 2 streaming patterns), each with publisher, subscriber, and e2e tests hitting real LLM APIs and Ably.

  • OpenAI, Anthropic, Vercel AI SDK, and LangGraph providers
  • Message-per-token and message-per-response streaming patterns
  • 24 e2e tests total (3 per guide): lifecycle ordering, response reconstruction, and token concatenation verification
  • Yarn workspaces with shared Vitest config
  • Exclude guides/ from root Jest config

Introduce guides/ai-transport/ directory with full runnable code for all
8 AI Transport guides (4 providers x 2 streaming patterns), each with
publisher, subscriber, and e2e tests hitting real LLM APIs and Ably.

- OpenAI, Anthropic, Vercel AI SDK, and LangGraph providers
- Message-per-token and message-per-response streaming patterns
- 24 e2e tests total (3 per guide): lifecycle ordering, response
  reconstruction, and token concatenation verification
- Yarn workspaces with shared Vitest config
- Exclude guides/ from root Jest config
@coderabbitai
Copy link

coderabbitai bot commented Feb 18, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch AIT-489-Introduce-E2E-testing-for-Guides-code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Move all guide contents into javascript/ subdirectories to prepare for
future multi-language support (Java, Python, Swift). Update workspace
paths, vitest config, and tsconfig extends accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant