Skip to content

fix(patch): cherry-pick d0c6a56 to release/v0.29.0-preview.2-pr-18976 to patch version v0.29.0-preview.2 and create version 0.29.0-preview.3#19023

Merged
skeshive merged 1 commit intorelease/v0.29.0-preview.2-pr-18976from
hotfix/v0.29.0-preview.2/0.29.0-preview.3/preview/cherry-pick-d0c6a56/pr-18976
Feb 13, 2026
Merged

fix(patch): cherry-pick d0c6a56 to release/v0.29.0-preview.2-pr-18976 to patch version v0.29.0-preview.2 and create version 0.29.0-preview.3#19023
skeshive merged 1 commit intorelease/v0.29.0-preview.2-pr-18976from
hotfix/v0.29.0-preview.2/0.29.0-preview.3/preview/cherry-pick-d0c6a56/pr-18976

Conversation

@gemini-cli-robot
Copy link
Copy Markdown
Collaborator

This PR automatically cherry-picks commit d0c6a56 to patch version v0.29.0-preview.2 in the preview release to create version 0.29.0-preview.3.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @gemini-cli-robot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request applies a critical patch to the v0.29.0-preview.2 release, creating v0.29.0-preview.3. The patch refines the logic within the isHeadlessMode utility, ensuring that the presence of -y or --yolo command-line flags no longer incorrectly triggers headless mode behavior. This correction prevents unintended side effects when these flags are used for other purposes.

Highlights

  • Headless Mode Logic Refinement: The isHeadlessMode utility function was updated to no longer interpret -y or --yolo command-line arguments as indicators for headless or auto-approve mode, ensuring more precise control over application behavior.
  • Test Case Adjustment: The corresponding test suite for isHeadlessMode was modified to reflect this change, asserting false when -y or --yolo are present in process.argv, aligning tests with the updated logic.
Changelog
  • packages/core/src/utils/headless.test.ts
    • Updated the test case for isHeadlessMode to expect false when -y or --yolo flags are present in process.argv.
  • packages/core/src/utils/headless.ts
    • Modified the isHeadlessMode function to remove -y and --yolo from the list of command-line arguments that indicate headless mode.
Activity
  • Automated cherry-pick of commit d0c6a56 to branch release/v0.29.0-preview.2-pr-18976 to create version 0.29.0-preview.3.
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
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

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 correctly fixes a bug where the --yolo and -y flags were incorrectly triggering headless mode. The change removes these flags from the headless mode detection logic in isHeadlessMode and updates the corresponding test case to assert the correct behavior. The changes are clear, correct, and well-tested. This resolves an issue where auto-approval flags were conflated with non-interactive mode detection.

@github-actions
Copy link
Copy Markdown

Size Change: -46 B (0%)

Total Size: 23.9 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 23.9 MB -46 B (0%)
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B

compressed-size-action

@gemini-cli gemini-cli Bot added the status/need-issue Pull requests that need to have an associated issue. label Feb 13, 2026
@skeshive skeshive enabled auto-merge (squash) February 13, 2026 21:29
@skeshive skeshive disabled auto-merge February 13, 2026 21:36
@skeshive skeshive merged commit f0473f3 into release/v0.29.0-preview.2-pr-18976 Feb 13, 2026
26 of 27 checks passed
@skeshive skeshive deleted the hotfix/v0.29.0-preview.2/0.29.0-preview.3/preview/cherry-pick-d0c6a56/pr-18976 branch February 13, 2026 21:36
kuishou68 pushed a commit to iOfficeAI/aioncli that referenced this pull request Feb 27, 2026
… to patch version v0.29.0-preview.2 and create version 0.29.0-preview.3 (google-gemini#19023)

Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/need-issue Pull requests that need to have an associated issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants