Skip to content

chore(auth): unblock tests#16481

Open
daniel-sanche wants to merge 5 commits intomainfrom
auth_unblock_tests
Open

chore(auth): unblock tests#16481
daniel-sanche wants to merge 5 commits intomainfrom
auth_unblock_tests

Conversation

@daniel-sanche
Copy link
Copy Markdown
Contributor

@daniel-sanche daniel-sanche commented Mar 30, 2026

Fix failing system tests, related to empty tokens

Also added back scipts from split repo, which were used to set up system tests. These scripts are referenced in CONTRIBUTING.md

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 introduces several shell scripts designed to manage secret encryption and decryption via Google Cloud KMS, as well as a setup script for workload identity federation to support integration tests. The review feedback focuses on enhancing the robustness and security of these scripts by recommending the addition of 'set -e' for error handling, quoting variables to prevent word splitting, and replacing hardcoded environment-specific identifiers with environment variables. Additionally, a correction was noted for a directory removal command that was missing the recursive flag.

daniel-sanche and others added 4 commits March 30, 2026 15:24
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@daniel-sanche daniel-sanche marked this pull request as ready for review March 31, 2026 01:04
@daniel-sanche daniel-sanche requested review from a team as code owners March 31, 2026 01:04
#!/bin/bash
set -e

# Copyright 2015 Google Inc. All rights reserved.
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.

Nit: Can we update the copyright here and in other places?

Copy link
Copy Markdown
Contributor

@parthea parthea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the files in the scripts folder used in tests? If not, can we consider adding these to client library maintainer documentation, rather than having unused scripts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants