Uh oh!
There was an error while loading. Please reload this page.
test(e2e): add Gemini TTS coverage to provider matrix - #751
Conversation
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughAdds Gemini text-to-speech support to the end-to-end test suite: registers ChangesGemini TTS End-to-End Testing
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant Test as E2E Test
participant Adapter as createTTSAdapter (gemini)
participant Mount as geminiTTSMount
participant Endpoint as generateContent Endpoint
Test->>Adapter: Request TTS via Gemini provider
Adapter->>Endpoint: POST generateContent (model, headers)
Endpoint->>Mount: Route request to mock handler
Mount->>Endpoint: JSON response with inlineData PCM audio
Endpoint->>Adapter: Return base64 PCM payload
Adapter->>Test: Normalize PCM to WAV output
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
testing/e2e/global-setup.tsParsing error: "parserOptions.project" has been provided for 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. Comment |
harshlocham
commented
Jul 3, 2026
Hi @tombeckenham, I’ve updated the branch with the latest main and resolved the merge conflict. The full pnpm run test:pr suite still passes locally. This PR should now be ready for review. Thanks! |
View your CI Pipeline Execution ↗ for commit c4ba70d
☁️ Nx Cloud last updated this comment at |
@tanstack/ai@tanstack/ai-acp@tanstack/ai-angular@tanstack/ai-anthropic@tanstack/ai-bedrock@tanstack/ai-claude-code@tanstack/ai-client@tanstack/ai-code-mode@tanstack/ai-code-mode-skills@tanstack/ai-codex@tanstack/ai-devtools-core@tanstack/ai-elevenlabs@tanstack/ai-event-client@tanstack/ai-fal@tanstack/ai-gemini@tanstack/ai-grok@tanstack/ai-grok-build@tanstack/ai-groq@tanstack/ai-isolate-cloudflare@tanstack/ai-isolate-node@tanstack/ai-isolate-quickjs@tanstack/ai-mcp@tanstack/ai-mistral@tanstack/ai-ollama@tanstack/ai-openai@tanstack/ai-opencode@tanstack/ai-openrouter@tanstack/ai-preact@tanstack/ai-react@tanstack/ai-react-ui@tanstack/ai-sandbox@tanstack/ai-sandbox-cloudflare@tanstack/ai-sandbox-daytona@tanstack/ai-sandbox-docker@tanstack/ai-sandbox-local-process@tanstack/ai-sandbox-sprites@tanstack/ai-sandbox-vercel@tanstack/ai-solid@tanstack/ai-solid-ui@tanstack/ai-svelte@tanstack/ai-utils@tanstack/ai-vue@tanstack/ai-vue-ui@tanstack/openai-base@tanstack/preact-ai-devtools@tanstack/react-ai-devtools@tanstack/solid-ai-devtoolscommit: |
78d182a to
0f44d09CompareWire Gemini TTS into the existing E2E test infrastructure. - Add Gemini TTS adapter factory in media-providers - Add Gemini generateContent audio mock - Add Gemini to TTS feature support - Exercise PCM-to-WAV normalization using raw PCM audio responses This extends existing TTS E2E coverage without changing runtime behavior or public APIs.
0f44d09 to
c4ba70dCompareUh oh!
There was an error while loading. Please reload this page.
🎯 Changes
Gemini TTS is already implemented and covered by unit tests, but it was not participating in the E2E TTS provider matrix because the provider-specific E2E wiring was incomplete.
This PR adds Gemini TTS to the existing E2E infrastructure by:
media-providers.tsgenerateContentaudio mock inglobal-setup.tsgeminito the TTS provider support matrixaudio/L16;codec=pcm;rate=24000)No runtime behavior, public APIs, or package functionality are changed. This PR only extends test coverage for an existing feature.
Verification
✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit