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

make Mount._deploy implicitly Environment-scoped #2553

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thundergolfer
Copy link
Contributor

Describe your changes

Currently we have a benchmark failure (large_mount_data) because Mount.lookup is implicitly Environment-scoped by Mount._deploy is not. In one Environment, the named Mount is deleted and so the lookup fails but the _deploy looks at our "main" Environment which does have the named Mount.

I expect that Modal's workspace is the only consumer of ._deploy.

Backward/forward compatibility checks

Check these boxes or delete any item (or this section) if not relevant for this PR.

  • Client+Server: this change is compatible with old servers
  • Client forward compatibility: this change ensures client can accept data intended for later versions of itself

Note on protobuf: protobuf message changes in one place may have impact to
multiple entities (client, server, worker, database). See points above.


Copy link
Contributor

@erikbern erikbern left a comment

Choose a reason for hiding this comment

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

lgtm!

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