Skip to content

Conversation

daymxn
Copy link
Member

@daymxn daymxn commented Oct 20, 2025

This adds a new command to the test subcommand within the repo script called run which will automatically run integration tests locally. It also provides a way to specify secret files via a json file, which will be automatically decrypted and deleted after the test runs (depending on the overwrite command). Docs have been included with the command to explain this and more.

The github workflow for running Firebase AI integration tests has also been updated to use this script, to ensure we keep it up-to-date in the future.

Example command usage:

tests run --overwrite --secrets ./scripts/secrets/AI.json AI

#no-changelog

@daymxn daymxn requested review from andrewheard and ncooke3 October 20, 2025 19:46
@daymxn daymxn self-assigned this Oct 20, 2025
Copy link
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.

@andrewheard
Copy link
Contributor

/gemini review

Copy link
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 new run command to the integration test script, which is a great addition for local testing. The command is well-documented and includes useful features like automatic Xcode version detection and secret file management. My review includes a few suggestions to improve code quality and fix a minor logging issue. Specifically, I've pointed out the use of a deprecated API, a small bug in logger configuration, and an opportunity to refactor how a subcommand is invoked for better readability and maintainability.

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.

2 participants