fix(cli): implement --all flag for extensions uninstall#21319
Conversation
Summary of ChangesHello, 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 addresses a critical bug where the Highlights
Changelog
Activity
Using Gemini Code AssistThe 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
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 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
|
bf6e336 to
698de0a
Compare
|
Size Change: +1.89 kB (+0.01%) Total Size: 26 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Code Review
This pull request successfully adds the --all flag to the extensions uninstall command across the CLI, interactive UI, and ACP interfaces. The changes are well-tested and the implementation is mostly correct. The identified correctness issues in the interactive and ACP command handlers, where they only process the first extension name provided, silently ignoring any others, remain valid and are included in the review comments with suggestions to address them to ensure all provided extension names are uninstalled as a user would expect.
scidomino
left a comment
There was a problem hiding this comment.
Fix the broken test and it all looks good.
c267842 to
a113c0c
Compare
Summary
This PR fixes the issue where
gemini extensions uninstall --all(and its interactive/ACP slash command counterparts) failed to uninstall all extensions.Details
extensions uninstallto support the--allflag./extensions uninstallaction to correctly parse--allinstead of treating it as an extension name.extensions uninstallto support--all.Related Issues
Fixes #21317
How to Validate
gemini extensions uninstall --allin a non-interactive shell.geminito enter interactive mode and run/extensions uninstall --all.Pre-Merge Checklist