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

Implement client features for tenant offloading #1132

Merged
merged 4 commits into from
Jun 27, 2024

Conversation

tsmith023
Copy link
Contributor

  • Use updated protos with new activity status enum values
  • Split Tenant and TenantInput due to read-only nature of new activity statuses
  • Allow Tenant in create/update methods but check if read-only fields are used
  • Introduce TenantInputType and TenantOutputType types for a simpler surface

Core PR: weaviate/weaviate#5224

- Use updated protos with new activity status enum values
- Split `Tenant` and `TenantInput` due to read-only nature of new activity statuses
- Allow `Tenant` in `create/update` methods but check if read-only fields are used
- Introduce `TenantInputType` and `TenantOutputType` types for a simpler surface
@tsmith023 tsmith023 changed the base branch from main to dev/1.26 June 27, 2024 10:52
@tsmith023 tsmith023 changed the title Implement client features for tenant offloading: Implement client features for tenant offloading Jun 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jun 27, 2024

Codecov Report

Attention: Patch coverage is 99.09910% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (dev/1.26@cbedf2a). Learn more about missing BASE report.

Files Patch % Lines
weaviate/collections/classes/tenants.py 92.30% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             dev/1.26    #1132   +/-   ##
===========================================
  Coverage            ?   94.57%           
===========================================
  Files               ?      191           
  Lines               ?    19028           
  Branches            ?        0           
===========================================
  Hits                ?    17996           
  Misses              ?     1032           
  Partials            ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dirkkul
Copy link
Collaborator

dirkkul commented Jun 27, 2024

No tests?

@tsmith023
Copy link
Contributor Author

Not yet, was waiting for the core PR to be approved and ready. I'll add some mock tests since a full integration test needs a lot of infra setup

@tsmith023 tsmith023 merged commit e286ece into dev/1.26 Jun 27, 2024
43 of 45 checks passed
@tsmith023 tsmith023 deleted the support-new-tenant-states branch June 27, 2024 13:20
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.

3 participants