Repository navigation
[feat] add check for Weaviate version at instantiation - #299
Merged
Merged
Conversation
dirkkul
reviewed
Apr 25, 2023
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #299 +/- ##
==========================================
- Coverage 96.14% 96.00% -0.15%
==========================================
Files 61 64 +3
Lines 7295 7582 +287
==========================================
+ Hits 7014 7279 +265
- Misses 281 303 +22
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
dirkkul
reviewed
May 6, 2023
Collaborator
|
Sadly a few things in the client have changed and you need to either rebase or merge current main into your branch |
Collaborator
Author
|
All good; merged now :) |
dirkkul
approved these changes
May 15, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses #287 (partly - client-side version check not implemented) by checking the current Weaviate instance version against a (hard-coded) minimum threshold.
*Note: Initially it was set up to grab the latest version from GitHub and compare against a threshold difference (e.g. 3 minor versions). But this causes issues with GH rate limits during tests (every instance is a GH API request).