-
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
Command Migration: JSON. ARRAPPEND, ARRPOP, ARRLEN #1062
Command Migration: JSON. ARRAPPEND, ARRPOP, ARRLEN #1062
Conversation
@srivastava-yash Thanks for the PR. |
yes @AshwinKul28, working on it. |
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 a lot @srivastava-yash for the changes. Left few comments.
@srivastava-yash lets ensure that the corresponding integration tests are migrated as well. cc @AshwinKul28 |
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. |
@srivastava-yash please resolve the conflicts once. |
|
@srivastava-yash, please consider working on other items on the checklist. I know it's a bit more effort, but since you are the best person to work on these complimentary tasks related to these commands. Thanks |
@srivastava-yash please resolve the conflicts. |
Done @lucifercr07 |
@lucifercr07 @AshwinKul28 any update on how we are going to move forward with this task? |
@srivastava-yash HTTP issue has been fixed as part of #1150, is there any other blocker for this? |
Thanks @lucifercr07, I missed the PR. I will resolve conflict and fix integration tests |
@lucifercr07 @AshwinKul28 PR is up for review again. Completed all the tasks and resolved conflicts. Thank you! |
@srivastava-yash PR looks fantastic. Thanks a lot for your commendable efforts. I see the documentation for Please make changes as follows:
Once these cosmetic changes are in, we are good to merge. Use LLMs to generate docs faster. Thanks a lot again. |
@AshwinKul28 the documentation for ARRLEN is already there and did not require any updates. ARRPOP was missing which I added with this PR. |
Hi @srivastava-yash , thank you for adding documentation for Thanks |
@srivastava-yash Can you please take care of the conflicts and the one that @apoorvyadav1111 mentioned? Then we are good to go! Thanks |
@AshwinKul28 @apoorvyadav1111 yes sure working on it. Sorry the last couple of days were a little busy and I couldnt work on it. Doing this today |
@AshwinKul28 Done! |
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.
As its already reviewed from @AshwinKul28 , I just reviewed for docs and I would like to request changes in the heading and bullet structures on all three files. Additionally, lets use bash style code block instead of plaintext. Lastly, please confirm it the existing ARRLEN documentation follownthese standards.
Again, we would like to thank you for your efforts in this monumental change. You can always reach out to us on discord and here if you are blocked or don't have bandwidth, this allows us to adjust our goals and keep your issue assigned to you.
Thanks,
Apoorv
Thanks for the review comments. Done @apoorvyadav1111 ! |
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.
Hi @srivastava-yash, thanks for making the changes, we are close to merging this one. I am unable to find websocket tests for these commands. Can you please confirm if they are sufficient if available or add them? Additionally, this next request is a nit but will definitely help us to ensure consistency. Could you please change the below heading to Example Usage in arrlen docs?
@AshwinKul28 @lucifercr07 getting the same error for websocket as what we were getting for the case of HTTP. Getting 0 instead of nil. |
Thanks @srivastava-yash for pointing this. @lucifercr07 we may need to replicate the changes done by you in HTTP to websocket as well. |
@srivastava-yash yes it's the same issue, I've raised a PR for fixing similar issue #1204. Need to add some more refactoring to that. We can merge this PR, I'll add tests as part of above PR so that this would be unblocked. @AshwinKul28 will that be okay? |
@lucifercr07 If we merge this PR, all other PRs with the latest code will fail, what are your thoughts? |
This PR migrates JSON.ARRAPPEND, JSON.ARRPOP, JSON.ARRLEN to make it protocol agnostic. Closes #1026
Migration Checklist