Skip to content
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

Enhancement: Don't validate env var token excessively #542

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

kbolashev
Copy link
Member

Right now setting an environment token ends up making a call to validate the token every time dagshub.auth.get_token() is called.

This in particular leads to a lot of requests to the backend during e2e tests, which lead to tests failing with weird timeouts.

This PR makes it so token validation only runs once for an env var token.

@kbolashev kbolashev added the enhancement New feature or request label Oct 28, 2024
@kbolashev kbolashev self-assigned this Oct 28, 2024
Copy link

dagshub bot commented Oct 28, 2024

@kbolashev kbolashev merged commit c915076 into master Oct 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant