Skip to content

Conversation

@Litarnus
Copy link
Contributor

@Litarnus Litarnus commented Jun 6, 2025

This PR changes the order of operations for obtaining GCP token. Instead of attempting to fetch it in all cases, it will only try to obtain it if no private_key is defined.
This way we can ensure that previously configured projects work as before without having to unnecessary attempt to fetch the token.
By restoring the old behaviour for sources with client_email and private_key, it allows us to remove the feature flag.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 6, 2025
@Litarnus Litarnus marked this pull request as ready for review June 6, 2025 13:14
@Litarnus Litarnus requested a review from a team as a code owner June 6, 2025 13:14
@Litarnus Litarnus merged commit c96fe2d into master Jun 11, 2025
61 checks passed
@Litarnus Litarnus deleted the martinl/gcp-token-as-fallback branch June 11, 2025 11:15
@sentry
Copy link

sentry bot commented Jun 11, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎

vishnupsatish pushed a commit that referenced this pull request Jun 12, 2025
…ed (#93010)

This PR changes the order of operations for obtaining GCP token. Instead
of attempting to fetch it in all cases, it will only try to obtain it if
no `private_key` is defined.
This way we can ensure that previously configured projects work as
before without having to unnecessary attempt to fetch the token.
By restoring the old behaviour for sources with `client_email` and
`private_key`, it allows us to remove the feature flag.
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
…ed (#93010)

This PR changes the order of operations for obtaining GCP token. Instead
of attempting to fetch it in all cases, it will only try to obtain it if
no `private_key` is defined.
This way we can ensure that previously configured projects work as
before without having to unnecessary attempt to fetch the token.
By restoring the old behaviour for sources with `client_email` and
`private_key`, it allows us to remove the feature flag.
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants