Skip to content

Conversation

ian-scale
Copy link
Contributor

No description provided.

@ian-scale ian-scale requested a review from a team October 25, 2023 22:55
@ian-scale ian-scale enabled auto-merge (squash) October 25, 2023 23:00
@ian-scale ian-scale disabled auto-merge October 25, 2023 23:15
@yunfeng-scale
Copy link
Contributor

we should remove SKIP_AUTH in justfile/_integration_test?

@ian-scale
Copy link
Contributor Author

we should remove SKIP_AUTH in justfile/_integration_test?

yes once the other changes I'm adding work, but still waiting to make sure integration tests pass locally

@yunfeng-scale
Copy link
Contributor

we should remove SKIP_AUTH in justfile/_integration_test?

yes once the other changes I'm adding work, but still waiting to make sure integration tests pass locally

are we skipping auth for circleci integration tests?

@@ -1,7 +1,10 @@
"""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this test was already not functioning so I commented everything out - todo later is come through and fix it so that it works.

Copy link
Member

Choose a reason for hiding this comment

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

Mind creating a follow-up ticket for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah sounds good!

@@ -1,7 +1,10 @@
"""
Copy link
Member

Choose a reason for hiding this comment

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

Mind creating a follow-up ticket for this?

@ian-scale ian-scale enabled auto-merge (squash) October 26, 2023 01:12
USER_ID_1,
)
# Use the scale-launch-integration-tests id
USER_ID_0 = os.getenv("TEST_USER_ID") # type: ignore
Copy link
Contributor

Choose a reason for hiding this comment

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

set some default value

Copy link
Contributor

Choose a reason for hiding this comment

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

and i think None USER_ID_0 caused integration test to fail

Copy link
Contributor Author

@ian-scale ian-scale Oct 26, 2023

Choose a reason for hiding this comment

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

agreed, I set a default value of "fakeuser", this should pass CI since we don't use the auth repo in CI currently


# cancel_response = cancel_fine_tune_by_id(fine_tune_id, USER_ID_0)
# assert cancel_response["success"]
# list_response_1 = list_fine_tunes(USER_ID_0)
Copy link
Contributor

Choose a reason for hiding this comment

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

there should be some @pytest.skip(reason="test doesn't work") thing that you can do to skip the test (as opposed to commenting it out)

Copy link
Contributor Author

@ian-scale ian-scale Oct 26, 2023

Choose a reason for hiding this comment

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

yeah let me add this too - although I will say the test was already doing nothing, just asserting that the list of fine tunes for the user was empty

@ian-scale ian-scale disabled auto-merge October 26, 2023 18:02
@ian-scale ian-scale enabled auto-merge (squash) October 26, 2023 20:21
@ian-scale ian-scale merged commit 0b8a817 into main Oct 26, 2023
@ian-scale ian-scale deleted the ianmacleod/use_real_auth branch October 26, 2023 20:36
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.

5 participants