Skip to content

[DISCO-3253] Fix gcs client auth error for curated recommendations #900

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

Merged

Conversation

Herraj
Copy link
Contributor

@Herraj Herraj commented Apr 17, 2025

References

JIRA: DISCO-3253

Description

We were seeing errors about the gcs client initializing failing to find any credentials. We fixed this error in the gcs_uploader.py module. The reason this occurs is that it is looking for an explicit credentials argument but if none is passed, it tries to pull the ADC file from the google project. However, when running locally, we don't have an ADC file hence adding this check.

Screenshot 2025-04-17 at 11 37 18 AM

PR Review Checklist

Put an x in the boxes that apply

  • This PR conforms to the Contribution Guidelines
  • The PR title starts with the JIRA issue reference, format example [DISCO-####], and has the same title (if applicable)
  • [load test: (abort|skip|warn)] keywords are applied to the last commit message (if applicable)
  • Documentation has been updated (if applicable)
  • Functional and performance test coverage has been expanded and maintained (if applicable)

@Herraj Herraj self-assigned this Apr 17, 2025
@Herraj Herraj requested review from mmiermans, jpetto, katerinachinnappan and a team April 17, 2025 15:47
Copy link
Collaborator

@jpetto jpetto left a comment

Choose a reason for hiding this comment

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

ty for fixing!

Copy link
Contributor

@ncloudioj ncloudioj left a comment

Choose a reason for hiding this comment

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

Thanks for fixing it up! r+wc.

@Herraj Herraj force-pushed the disco-3253-fix-gcs-client-auth-errors-for-curated-recommendations branch from 2dc08fe to 343034e Compare April 23, 2025 19:25
@Herraj Herraj added this pull request to the merge queue Apr 23, 2025
Merged via the queue into main with commit 8633540 Apr 23, 2025
11 checks passed
@Herraj Herraj deleted the disco-3253-fix-gcs-client-auth-errors-for-curated-recommendations branch April 23, 2025 19:35
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