Skip to content

fix(patch): cherry-pick 62364cb to release/v0.61.0-preview.0-pr-29443 to patch version v0.61.0-preview.0 and create version 0.61.0-preview.1 - #29455

Merged
DavidAPierce merged 1 commit into
release/v0.61.0-preview.0-pr-29443from
hotfix/v0.61.0-preview.0/0.61.0-preview.1/preview/cherry-pick-62364cb/pr-29443
Sep 23, 2026
Merged

DavidAPierce merged 1 commit into
release/v0.61.0-preview.0-pr-29443from
hotfix/v0.61.0-preview.0/0.61.0-preview.1/preview/cherry-pick-62364cb/pr-29443

Conversation

@gemini-cli-robot

Copy link
Copy Markdown
Collaborator

This PR automatically cherry-picks commit 62364cb to patch version v0.61.0-preview.0 in the preview release to create version 0.61.0-preview.1.

@gemini-cli-robot
gemini-cli-robot requested review from a team as code owners September 23, 2026 02:14
@github-actions github-actions Bot mentioned this pull request Sep 23, 2026
4 of 18 tasks
@github-actions github-actions Bot added the size/xl An extra large PR label Sep 23, 2026
@github-actions

Copy link
Copy Markdown

📊 PR Size: size/XL

  • Lines changed: 1695
  • Additions: +1346
  • Deletions: -349
  • Files changed: 40

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 introduces support for the latest GA models, gemini-3.5-flash-lite and gemini-3.8-flash, by updating the core configuration and routing logic. It refactors existing model-specific flags into more flexible 'latest' flags and ensures that backend requests are correctly mapped. Additionally, it updates various unit and integration tests to accommodate these changes and maintain robust fallback behavior.

Highlights

  • Model Updates: Added support for the latest GA models, specifically gemini-3.5-flash-lite and gemini-3.8-flash, across the configuration and routing layers.
  • Refactoring Model Flags: Replaced specific model flags with generic 'useLatestFlash' and 'useLatestFlashLite' flags to simplify model selection and improve maintainability.
  • Configuration & Schema: Updated settingsSchema.ts and defaultModelConfigs.ts to include the new models and ensure they are correctly exposed in the application configuration.
  • Backend Mapping: Introduced dynamic backend model mapping to ensure requests are routed to the correct model versions based on experiment flags.
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 the 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 counterproductive. 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.

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. ↩

@github-actions

Copy link
Copy Markdown

Size Change: +9.76 kB (+0.03%)

Total Size: 35.4 MB

Filename Size Change
./bundle/chunk-4QCVT6ER.js 0 B -3.66 MB (removed) 🏆
./bundle/chunk-6VKN5JM7.js 0 B -662 kB (removed) 🏆
./bundle/chunk-ATBM5OIO.js 0 B -19.5 kB (removed) 🏆
./bundle/chunk-C24JTJQ7.js 0 B -3.77 kB (removed) 🏆
./bundle/chunk-CJBDU5ZY.js 0 B -13 kB (removed) 🏆
./bundle/chunk-O4M6S2CC.js 0 B -3.43 kB (removed) 🏆
./bundle/chunk-S3UEDXJZ.js 0 B -49.2 kB (removed) 🏆
./bundle/chunk-YGIJVRSL.js 0 B -16.7 MB (removed) 🏆
./bundle/core-LQEO3A6N.js 0 B -51.7 kB (removed) 🏆
./bundle/devtoolsService-DZDYSZXS.js 0 B -147 kB (removed) 🏆
./bundle/gemini-QOON5DYL.js 0 B -642 kB (removed) 🏆
./bundle/interactiveCli-HCH2CDEX.js 0 B -1.31 MB (removed) 🏆
./bundle/liteRtServerManager-T6HVUX6M.js 0 B -2.08 kB (removed) 🏆
./bundle/oauth2-provider-MJLESRN6.js 0 B -9.12 kB (removed) 🏆
./bundle/chunk-227LJJVN.js 49.2 kB +49.2 kB (new file) 🆕
./bundle/chunk-2DVZEFDJ.js 13 kB +13 kB (new file) 🆕
./bundle/chunk-C4ZNJ2OC.js 16.7 MB +16.7 MB (new file) 🆕
./bundle/chunk-ETN76RY5.js 19.5 kB +19.5 kB (new file) 🆕
./bundle/chunk-IPXMKETQ.js 3.43 kB +3.43 kB (new file) 🆕
./bundle/chunk-MISS4VN5.js 3.77 kB +3.77 kB (new file) 🆕
./bundle/chunk-VKSPHCD4.js 3.66 MB +3.66 MB (new file) 🆕
./bundle/chunk-ZFE6MEFM.js 663 kB +663 kB (new file) 🆕
./bundle/core-JBIFJDI6.js 52.1 kB +52.1 kB (new file) 🆕
./bundle/devtoolsService-NLV2NLX2.js 147 kB +147 kB (new file) 🆕
./bundle/gemini-5RUULPKV.js 642 kB +642 kB (new file) 🆕
./bundle/interactiveCli-COQ2AQXN.js 1.31 MB +1.31 MB (new file) 🆕
./bundle/liteRtServerManager-HFHK5O7S.js 2.08 kB +2.08 kB (new file) 🆕
./bundle/oauth2-provider-RGLHNRWT.js 9.12 kB +9.12 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
./bundle/bundled/third_party/index.js 8 MB 0 B
./bundle/chunk-34MYV7JD.js 2.45 kB 0 B
./bundle/chunk-5AUYMPVF.js 858 B 0 B
./bundle/chunk-5PS3AYFU.js 1.18 kB 0 B
./bundle/chunk-664ZODQF.js 124 kB 0 B
./bundle/chunk-DAHVX5MI.js 206 kB 0 B
./bundle/chunk-IUUIT4SU.js 56.5 kB 0 B
./bundle/chunk-L5V3KIDT.js 1.62 kB 0 B
./bundle/chunk-TUDYL3X4.js 40.3 kB 0 B
./bundle/cleanup-KDCYWBC7.js 0 B -902 B (removed) 🏆
./bundle/devtools-TYCPOPV3.js 683 kB 0 B
./bundle/events-XB7DADIJ.js 418 B 0 B
./bundle/examples/hooks/scripts/on-start.js 188 B 0 B
./bundle/examples/mcp-server/example.js 1.43 kB 0 B
./bundle/gemini.js 5.38 kB 0 B
./bundle/getMachineId-bsd-TXG52NKR.js 1.55 kB 0 B
./bundle/getMachineId-darwin-7OE4DDZ6.js 1.55 kB 0 B
./bundle/getMachineId-linux-SHIFKOOX.js 1.34 kB 0 B
./bundle/getMachineId-unsupported-5U5DOEYY.js 1.06 kB 0 B
./bundle/getMachineId-win-6KLLGOI4.js 1.72 kB 0 B
./bundle/https-proxy-agent-AVGR4LHR.js 490 B 0 B
./bundle/multipart-parser-E7RMVJWU.js 11.7 kB 0 B
./bundle/multipart-parser-KPBZEGQU.js 11.7 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 8.69 kB 0 B
./bundle/sandbox-macos-permissive-proxied.sb 8.97 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 6.86 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 7.06 kB 0 B
./bundle/sandbox-macos-strict-open.sb 8.23 kB 0 B
./bundle/sandbox-macos-strict-proxied.sb 8.44 kB 0 B
./bundle/src-65GKNWUJ.js 45.4 kB 0 B
./bundle/src-U45KTUYT.js 45.7 kB 0 B
./bundle/src-XZYPU6PJ.js 352 kB 0 B
./bundle/start-RGTHKZQI.js 0 B -622 B (removed) 🏆
./bundle/tree-sitter-7U6MW5PS.js 274 kB 0 B
./bundle/tree-sitter-bash-34ZGLXVX.js 1.84 MB 0 B
./bundle/worker/worker-entry.js 363 kB 0 B
./bundle/cleanup-3CVYCU6G.js 902 B +902 B (new file) 🆕
./bundle/start-N25F64DN.js 622 B +622 B (new file) 🆕

compressed-size-action

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

Copy link
Copy Markdown
Contributor

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 support for the latest GA models, Gemini 3.8 Flash and Gemini 3.5 Flash Lite, by gating them behind experiment flags and updating model resolution, fallback strategies, and configuration schemas. The review feedback highlights two critical issues: first, a correctness bug in contentGenerator.ts where passing gcConfig instead of the full config to getBackendModelMappings disables dynamic mapping to the latest models; second, an architectural risk in models.ts where mutating module-level global variables for active defaults can cause race conditions and state leakage across concurrent sessions.

Note: Security Review did not run due to the size of the PR.

Comment thread packages/core/src/core/contentGenerator.ts
Comment thread packages/core/src/config/models.ts
@DavidAPierce
DavidAPierce enabled auto-merge (squash) September 23, 2026 02:23
@gemini-cli gemini-cli Bot added the status/need-issue Pull requests that need to have an associated issue. label Sep 23, 2026
@DavidAPierce
DavidAPierce merged commit 0e6fa77 into release/v0.61.0-preview.0-pr-29443 Sep 23, 2026
27 checks passed
@DavidAPierce
DavidAPierce deleted the hotfix/v0.61.0-preview.0/0.61.0-preview.1/preview/cherry-pick-62364cb/pr-29443 branch September 23, 2026 02:51

This branch was successfully deployed

1 active deployment
prod — b3320e05 Deployed Sep 23, 2026 by DavidAPierce via trigger-patch-release #388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xl An extra large PR 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.

2 participants