Skip to content

MOD-19578 path func to 8.12 - #1673

Merged
TalBarYakar merged 1 commit into
8.12from
tal.ba/cp/json_path_func_to_8.12
Oct 13, 2026
Merged

TalBarYakar merged 1 commit into
8.12from
tal.ba/cp/json_path_func_to_8.12

Conversation

@TalBarYakar

@TalBarYakar TalBarYakar commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Note

Medium Risk
JSONPath query semantics change for callers using the new function forms; version/CI pin affects all builds against Redis 8.12 instead of unstable.

Overview
Targets the Redis 8.12 release line: module version is set to 8.11.90, pack/ramp.yml declares compatible_redis_version 8.12, and CI defaults (weekly builds, macOS/memory/random-traffic flows, Docker image tags, artifact labels) switch from unstable to 8.12.

The functional change is in JSONPath: subsetof, anyof, and noneof are exposed as two-argument functions (and method calls), reusing the existing set-relation logic used by filter operators. Wrong arity returns Nothing instead of silently mis-evaluating. Unit tests cover filter usage, projections like subsetof($.a, [1,2,3]), and invalid calls.

Reviewed by Cursor Bugbot for commit b39fcb2. Bugbot is set up for automated code reviews on this repo. Configure here.

* jsonpath fix for subsetof

* fix jsonpath for anyof and oneof
@TalBarYakar TalBarYakar self-assigned this Oct 13, 2026
@TalBarYakar
TalBarYakar changed the base branch from master to 8.12 October 13, 2026 08:07
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.26%. Comparing base (bd0ef14) to head (b39fcb2).

Additional details and impacted files
@@           Coverage Diff           @@
##             8.12    #1673   +/-   ##
=======================================
  Coverage   88.25%   88.26%           
=======================================
  Files          17       17           
  Lines        6073     6076    +3     
=======================================
+ Hits         5360     5363    +3     
  Misses        713      713           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TalBarYakar
TalBarYakar merged commit adfb4e5 into 8.12 Oct 13, 2026
61 checks passed
@TalBarYakar
TalBarYakar deleted the tal.ba/cp/json_path_func_to_8.12 branch October 13, 2026 08:42
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