-
Notifications
You must be signed in to change notification settings - Fork 37
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
Smart Info #350
Smart Info #350
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #350 +/- ##
===========================================
+ Coverage 87.04% 87.21% +0.16%
===========================================
Files 59 59
Lines 3551 3551
===========================================
+ Hits 3091 3097 +6
+ Misses 460 454 -6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one thing to think about and then looks great!
smartsim/_core/_cli/info.py
Outdated
|
||
print("Redis AI Configuration:") | ||
rai_path = _helpers.redis_install_base().parent / "redisai.so" | ||
rai_table = [["Is Installed", _fmt_installed_redis_ai(rai_path)]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure you thought about this for a lot (isn't this the kind of things we spend most of the dev time?) but I don't love the redundancy in Is installed | Installed
- what about one of the following two:
Is installed | Yes/No
Status | Installed/Not installed
And is there any chance we can also output the Redis AI version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOL, I also didn't love the redundancy! Changing to Status
!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find an immediate way to get the RAI version without saving off some persistent artifact from the build process or without spinning up Redis Server, both of which seemed like a lot of work to try and and cram into a "quick and dirty" implementation for this release.
This is absolutely something that I was planning on tackling when I implement this feature "properly" in a follow on PR next sprint!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@MattToast @al-rigazzi This is sexy. |
Add a smart info target for info about current SS installation
Example Output: