-
Notifications
You must be signed in to change notification settings - Fork 23
feat: JSON.MERGE plus unit and integration tests #95
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
base: unstable
Are you sure you want to change the base?
Conversation
|
Can you please add --sign off to the commits?: https://github.com/valkey-io/valkey-json/pull/95/checks?check_run_id=59176701849 |
I guess I made a mess trying to fix it |
Yeah, its okay , you can just run these commands and it should be fine: |
9301a02 to
3bb9a5d
Compare
Done |
roshkhatri
left a 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.
Great PR, just some suggestions and may need to add more tests
| @@ -0,0 +1,128 @@ | |||
| """ | |||
| Local conftest.py to apply fixes to the test infrastructure. | |||
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.
Do we need to upstream this to https://github.com/valkey-io/valkey-test-framework?
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.
Not sure
At least here in my machine, integration tests were flaky, freezing and other weird behaviors
If in yours is running fine we can ignore 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.
@roshkhatri do I have to do anything else?
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 want to run this by @KarthikSubbarao to see if we can add these fixes to the test infrastructure rather than keeping these local
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.
ok thanks
Let me know if you need anything else.
7019ec1 to
decee1d
Compare
This reverts commit ac5a0e4. Signed-off-by: Roshan Khatri <rvkhatri@amazon.com> Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
…ck Nogueira <patricknn@gmail.com> Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
…it and add unit tests for depth limit scenarios Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
…d improve memory tracking. Update unit tests for merge values. Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
…ses, and add unit tests for various merge scenarios Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
…ts for various merge scenarios including array and object replacements Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
…, mixed updates, error handling, and no-op scenarios Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
b53bf08 to
9713e53
Compare
Signed-off-by: Patrick Nery Nogueira <119355744+patrickn2@users.noreply.github.com>
|
The failing CI would be fixed once we merge the latest unstable into this branch |
|
I am not sure though why these are failing: https://github.com/valkey-io/valkey-json/actions/runs/20278225578/job/58232842208 |
Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
JSON.MERGE Command
Followed instructions here https://redis.io/docs/latest/commands/json.merge/