Skip to content

Conversation

@patrickn2
Copy link

@patrickn2 patrickn2 commented Dec 30, 2025

JSON.MERGE Command
Followed instructions here https://redis.io/docs/latest/commands/json.merge/

@patrickn2 patrickn2 mentioned this pull request Dec 30, 2025
@roshkhatri
Copy link
Member

roshkhatri commented Dec 30, 2025

Can you please add --sign off to the commits?: https://github.com/valkey-io/valkey-json/pull/95/checks?check_run_id=59176701849

@patrickn2
Copy link
Author

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
Could you take a look?

@roshkhatri
Copy link
Member

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 Could you take a look?

Yeah, its okay , you can just run these commands and it should be fine:

git rebase HEAD~3 --signoff
git push --force-with-lease origin feat--JSON.MERGE-Command

@patrickn2 patrickn2 force-pushed the feat--JSON.MERGE-Command branch from 9301a02 to 3bb9a5d Compare December 30, 2025 22:18
@patrickn2
Copy link
Author

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 Could you take a look?

Yeah, its okay , you can just run these commands and it should be fine:

git rebase HEAD~3 --signoff
git push --force-with-lease origin feat--JSON.MERGE-Command

Done

Copy link
Member

@roshkhatri roshkhatri left a 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.
Copy link
Member

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?

Copy link
Author

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.

Copy link
Author

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?

Copy link
Member

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

Copy link
Author

@patrickn2 patrickn2 Jan 6, 2026

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.

@patrickn2 patrickn2 force-pushed the feat--JSON.MERGE-Command branch from 7019ec1 to decee1d Compare January 6, 2026 14:00
roshkhatri and others added 9 commits January 6, 2026 11:37
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>
@patrickn2 patrickn2 force-pushed the feat--JSON.MERGE-Command branch from b53bf08 to 9713e53 Compare January 6, 2026 14:37
Signed-off-by: Patrick Nery Nogueira <119355744+patrickn2@users.noreply.github.com>
@roshkhatri
Copy link
Member

The failing CI would be fixed once we merge the latest unstable into this branch

@roshkhatri
Copy link
Member

I am not sure though why these are failing: https://github.com/valkey-io/valkey-json/actions/runs/20278225578/job/58232842208
here the cloning into valkey is working but on this PR there seems to be some issue

Signed-off-by: patrick.nogueira@fox.com <patrick.nogueira@fox.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants