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

Updated integration tests and local transfers fix #831

Merged
merged 11 commits into from
May 8, 2023

Conversation

sarahwooders
Copy link
Contributor

@sarahwooders sarahwooders commented May 3, 2023

  • Add local integration tests (cp_local.py)
  • Fix transfer completion bug (only consider completions of terminal operators) which was causing a bug for Azure
  • Support local transfers (by falling back to cloud provider APIs)

Transferred to/from local paths needs to fall back on cloud provider
tools until we provide full support for this. I cleaned up the `skyplane
cp/sync` code to share a single function for shared logic for fallback
options and initiating transfers.
@sarahwooders sarahwooders requested a review from parasj May 3, 2023 07:30

if src_region_tag.startswith("local") or dest_region_tags[0].startswith("local"):
# TODO: should still pass cost estimate
console.print(f"[yellow]Note: local transfers are not monitored by Skyplane[yellow]")
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to print anything

@@ -103,9 +103,11 @@ def create_bucket(self, gcp_region, premium_tier=True):
self._gcs_client.create_bucket(bucket, location=region_without_zone)

def delete_bucket(self):
print("deleting bucket", self.bucket_name)
Copy link
Contributor

Choose a reason for hiding this comment

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

No need for prints

@sarahwooders sarahwooders merged commit 3a6f4a2 into main May 8, 2023
@sarahwooders sarahwooders deleted the integration-tests branch May 8, 2023 21:47
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.

2 participants