Skip to content

Conversation

google-labs-jules[bot]
Copy link
Contributor

This change adds a new parameter gemini_cli_extension to the MCP GA4 tracking when the experimental:mcp command is run. This parameter is set to "true" when the IS_GEMINI_CLI_EXTENSION environment variable is set, and "false" otherwise.

This will allow us to track the usage of the Gemini CLI extension.


PR created automatically by Jules for task 18075266203534249222

This change adds a new parameter `gemini_cli_extension` to the MCP GA4 tracking when the `experimental:mcp` command is run. This parameter is set to "true" when the `IS_GEMINI_CLI_EXTENSION` environment variable is set, and "false" otherwise.

This will allow us to track the usage of the Gemini CLI extension.
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll acknowledge your comments with a 👀 emoji and then get to work. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

I will automatically address your feedback. For any comments you don't want me to act on, just include (aside).



For security, I will only act on instructions from the user who triggered this task for this pull request.

@joehan joehan marked this pull request as ready for review September 15, 2025 16:16
@joehan joehan requested review from joehan and mbleigh September 15, 2025 16:17
it("should return email when authenticated user is present", async () => {
const testEmail = "[email protected]";
requireAuthStub.resolves(testEmail);
describe("trackGA4", () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this test and revert the change to this file - it is excessive to test this private method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have removed the tests for the private method and reverted the changes to the test file as requested.

google-labs-jules bot and others added 4 commits September 15, 2025 17:24
This change adds a new parameter `gemini_cli_extension` to the MCP GA4 tracking when the `experimental:mcp` command is run. This parameter is set to "true" when the `IS_GEMINI_CLI_EXTENSION` environment variable is set, and "false" otherwise.

This will allow us to track the usage of the Gemini CLI extension.

(tests for private method removed per PR feedback)
@joehan joehan enabled auto-merge (squash) September 25, 2025 00:24
@joehan joehan merged commit 3e03621 into master Sep 25, 2025
48 checks passed
@joehan joehan deleted the feat-gemini-cli-extension-tracking branch September 25, 2025 00:37
@github-project-automation github-project-automation bot moved this from Approved [PR] to Done in [Cloud] Extensions + Functions Sep 25, 2025
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.

1 participant