You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few environment variables in use within the API that frequently expire, but we must run the entire test suite to know that they are expired, and then we typically receive arcane test errors when they do emerge. We should have a small suite of tests that runs before all others (this is critical) that ensures these are still valid. I'll update this issue down the road to list what they are and suggest a simple way of testing each, but I think it's around at most 3.
Overall, addressing this issue would require the following:
Write a simple test for each environment variable (will elaborate later)
There are a few environment variables in use within the API that frequently expire, but we must run the entire test suite to know that they are expired, and then we typically receive arcane test errors when they do emerge. We should have a small suite of tests that runs before all others (this is critical) that ensures these are still valid. I'll update this issue down the road to list what they are and suggest a simple way of testing each, but I think it's around at most 3.
Overall, addressing this issue would require the following:
whoami
endpoint and assure this returns a 200 (https://huggingface.co/docs/hub/en/api#get-apiwhoami-v2)push
andpull_request
scripts to run this before other testsMakefile
to create command to run the relevant testsThe text was updated successfully, but these errors were encountered: