Repository navigation
Stabilize Gemini Live real-mic flow and add strict release gate - #1
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR stabilizes the desktop Chrome Gemini Live real-microphone path and turns it into a repeatable release gate.
Main changes:
activityEndcannot race ahead of the last audio chunklast_audio_chunk_sentandactivity_end_sentAUTH_SECRETfallback to remove noisy/api/auth/session500s during local Live diagnosticsnpm run smoke:live:realnpm run smoke:live:real:strictreal-mic-gateWhy
We needed a reliable way to answer two questions:
This PR addresses both by improving ordering correctness in the client and by formalizing the real-mic gate as a repeatable workflow.
Validation
Ran:
npm test -- __tests__/unit/lib/auth-secret.test.ts __tests__/unit/lib/live-client.test.ts __tests__/unit/components/gemini-live-voice-panel.test.tsnode --check scripts/run-real-mic-live-regression.jssh -n scripts/real-mic-gate-label.shRUNS=1 npm run smoke:live:real:strictLatest real-mic strict result:
completedRounds=1fallbackActive=falsetrackSampleRate=48000allOrdered=trueallAligned=trueOperational Notes
workflow_dispatchreal-mic-gateFollow-Up
real-mic-gatelabel only for PRs that can affect the desktop Chrome Gemini Live real-mic path