Skip to content

Add LiveSession testing#8009

Merged
emilypgoogle merged 4 commits intomainfrom
ep/live-api-integ-testing
Apr 16, 2026
Merged

Add LiveSession testing#8009
emilypgoogle merged 4 commits intomainfrom
ep/live-api-integ-testing

Conversation

@emilypgoogle
Copy link
Copy Markdown
Contributor

Adds LiveSession integration testing using recorded clips to our daily AI integration tests.
This was based on the iOS testing.
Currently, there is a disabled test due to the inability of the Android SDK to specify turn complete manually.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

@google-oss-bot
Copy link
Copy Markdown
Collaborator

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@emilypgoogle
Copy link
Copy Markdown
Contributor Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a suite of integration tests for LiveSession, covering real-time audio and video processing as well as function calling capabilities. The feedback identifies an improvement opportunity regarding resource management, specifically recommending that MediaMetadataRetriever be released within a finally block to prevent leaks. Additionally, it is noted that a commented-out assertion in the video test should be re-enabled or replaced with a more robust verification strategy to ensure the test remains effective.

@emilypgoogle emilypgoogle merged commit a5e0041 into main Apr 16, 2026
31 checks passed
@emilypgoogle emilypgoogle deleted the ep/live-api-integ-testing branch April 16, 2026 15:41
@github-actions github-actions Bot mentioned this pull request Apr 17, 2026
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.

3 participants