Skip to content

Conversation

@spencer426
Copy link
Collaborator

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.

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.
@gemini-cli
Copy link
Contributor

gemini-cli bot commented Jan 28, 2026

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

@spencer426 spencer426 linked an issue Jan 28, 2026 that may be closed by this pull request
Copy link
Contributor

@gemini-cli gemini-cli bot left a 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 || true is 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>
@nikhilkapoor0919 nikhilkapoor0919 self-requested a review January 28, 2026 20:57
@spencer426 spencer426 enabled auto-merge (squash) January 28, 2026 20:57
@spencer426 spencer426 removed the request for review from nikhilkapoor0919 January 28, 2026 20:58
@spencer426 spencer426 merged commit 9f12288 into main Jan 28, 2026
10 checks passed
@spencer426 spencer426 deleted the fix/cloud_code_api_enablement branch January 28, 2026 21:00
This was referenced Jan 29, 2026
spencer426 added a commit that referenced this pull request Jan 29, 2026
## 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
google-github-actions-bot added a commit that referenced this pull request Jan 29, 2026
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

setup_workload_identity.sh no longer works

3 participants