-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
#1020 Migrate SADD, SREM, SCARD, SMEMBERS command to store_eval #1068
Conversation
HI @sahoss changes look good. 🚀 left a minor comment. Please pull the latest from the master to resolve the linter issue. Thanks |
HI @sahoss Thanks for the changes, LGTM! Please add migration for 'SMEMBERS', 'SCARD' also in the same PR. |
@AshwinKul28 added the remaining commands. however, i still see lint errors locally and i have merged latest master into my branch. its not from my changes. ok to ignore? |
Hi @sahoss thanks a lot for the changes. Can you please add unit tests for each eval? It's not present already but you can add new unit tests for each command in the |
@sahoss lets ensure that the corresponding integration tests are migrated as well. cc @AshwinKul28 |
@AshwinKul28 / @soumya-codes - sure. it will take me until this weekend potentially to make those changes. just a heads up |
Just FYI, we need to add the tests for the migrated commands under integration_tests/commands/resp I have added a new item to checklist in the PR description. Please tick the same once the integration tests are added. |
HI @sahoss Hope you're doing well, Do you still have any blockers on this? Let me know and we can resolve them quickly and try to merge the PR. thanks a lot for all the efforts. |
@AshwinKul28 i had a question for you here #1068 (comment). i am working in parallel to refresh the documentation. |
doc refresh pr @ DiceDB/docs#116 |
Thanks @sahoss for the documentation refresh. I have left a single comment on the docs PR! Otherwise, is everything related to the migration sorted, or are HTTP tests failing? |
@AshwinKul28 everything should be passing now. i have addressed the documentation PR comment |
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.
Thanks for this fantastic effort. Left few comments. In addition to resp, please add test cases in websocket and HTTP. Thanks.
@sahoss Please address above requested changes by Apoorv, then we are good to merge. thanks |
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.
Approving, looks good to me
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.
Looks good to me.
Thanks a lot @sahoss for the efforts and thanks @apoorvyadav1111 for the last minute conflict resolutions.
@apoorvyadav1111 still 1 conflict in the store eval file :( |
i have fixed the conflict. thanks @apoorvyadav1111 @AshwinKul28 for your detailed reviews. appreciate your time and effort on this pr. |
Hi @sahoss , apologies for commiting and reverting the deque test change. We recently migrated to this package and would not want to revert the efforts and reopen another issue to migrate again. I fixed the issue, it was a call to old assert package, which could have been reverted as part of recent merge. @AshwinKul28 Thanks for your review. I am merging this as the changes after your review are minimal and we don't want another conflict. Thank you both for making this change into main. |
Description
Migrates the eval functions for SADD, SREM, SMEMBERS, SCOUNT to the new eval function type (#1020)
Checklist