-
Notifications
You must be signed in to change notification settings - Fork 216
fix(setup): Gracefully handle internal-only Cloud #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Code API enablement Modify `setup_workload_identity.sh` to prevent script failure when enabling the internal-only `cloudcode-pa.googleapis.com` API. The API enablement command now includes `|| true`, allowing the script to continue for public users without permissions for this service.
|
🤖 Hi @spencer426, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📋 Review Summary
This pull request modifies the setup_workload_identity.sh script to gracefully handle the enablement of an internal-only Google Cloud API. The change prevents the script from failing for public users, which is a good improvement for usability.
🔍 General Feedback
- The approach of using
|| trueis a standard and effective way to handle non-critical failures in shell scripts.
Co-authored-by: gemini-cli[bot] <218312386+gemini-cli[bot]@users.noreply.github.com> Signed-off-by: Spencer <spencer.tang12@gmail.com>
## What's Changed ### Bug Fixes * fix(setup): Gracefully handle internal-only Cloud by @spencer426 in #447 ### Documentation * docs: update a broken link of gemini cli by @Marukome0743 in #441 ### Other Changes * ci(mcp): version up GitHub MCP Server by @bdmorgan in #437 **Full Changelog**: v0.1.19...v0.1.20
## What's Changed * ci(mcp): version up GitHub MCP Server by @Marukome0743 in #437 * docs: update a broken link of gemini cli by @Marukome0743 in #441 * fix(setup): Gracefully handle internal-only Cloud by @spencer426 in #447 * Release: v0.1.20 by @spencer426 in #449 * Revert "Release: v0.1.20" by @spencer426 in #450 ## New Contributors * @spencer426 made their first contribution in #447 **Full Changelog**: v0.1.19...v0.1.20
Code API enablement Modify
setup_workload_identity.shto prevent script failure when enabling the internal-onlycloudcode-pa.googleapis.comAPI. The API enablement command now includes|| true, allowing the script to continue for public users without permissions for this service.