Skip to content

[MOD-10298] - add check version to json open key#6405

Merged
BenGoldberger merged 2 commits intomasterfrom
beng-verify-japi-version
Jul 6, 2025
Merged

[MOD-10298] - add check version to json open key#6405
BenGoldberger merged 2 commits intomasterfrom
beng-verify-japi-version

Conversation

@BenGoldberger
Copy link
Copy Markdown
Collaborator

add check that json api version is >=5 before using openKeyWithFlags

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 30, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.34%. Comparing base (d6aa49c) to head (d86ab88).
Report is 16 commits behind head on master.

Files with missing lines Patch % Lines
src/document_basic.c 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6405      +/-   ##
==========================================
+ Coverage   89.26%   89.34%   +0.07%     
==========================================
  Files         251      252       +1     
  Lines       41330    41650     +320     
  Branches     3623     3963     +340     
==========================================
+ Hits        36895    37212     +317     
+ Misses       4391     4381      -10     
- Partials       44       57      +13     
Flag Coverage Δ
flow 81.95% <75.00%> (-0.14%) ⬇️
unit 47.29% <0.00%> (+0.44%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@BenGoldberger BenGoldberger requested a review from alonre24 July 2, 2025 09:13
Comment thread src/document_basic.c Outdated
alonre24
alonre24 previously approved these changes Jul 3, 2025
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 3, 2025

CLA assistant check
All committers have signed the CLA.

@BenGoldberger BenGoldberger enabled auto-merge July 3, 2025 13:07
@BenGoldberger BenGoldberger added this pull request to the merge queue Jul 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 3, 2025
@BenGoldberger BenGoldberger enabled auto-merge July 6, 2025 12:53
@BenGoldberger BenGoldberger added this pull request to the merge queue Jul 6, 2025
Merged via the queue into master with commit 15203f9 Jul 6, 2025
26 of 27 checks passed
@BenGoldberger BenGoldberger deleted the beng-verify-japi-version branch July 6, 2025 14:03
@redisearch-backport-pull-request
Copy link
Copy Markdown
Contributor

Backport failed for 2.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.8
git worktree add -d .worktree/backport-6405-to-2.8 origin/2.8
cd .worktree/backport-6405-to-2.8
git switch --create backport-6405-to-2.8
git cherry-pick -x 15203f9c46f040d3741d065eab6c0b7a0e41d340

@redisearch-backport-pull-request
Copy link
Copy Markdown
Contributor

Backport failed for 2.10, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.10
git worktree add -d .worktree/backport-6405-to-2.10 origin/2.10
cd .worktree/backport-6405-to-2.10
git switch --create backport-6405-to-2.10
git cherry-pick -x 15203f9c46f040d3741d065eab6c0b7a0e41d340

redisearch-backport-pull-request bot pushed a commit that referenced this pull request Jul 6, 2025
* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)
@redisearch-backport-pull-request
Copy link
Copy Markdown
Contributor

Successfully created backport PR for 8.0:

redisearch-backport-pull-request bot pushed a commit that referenced this pull request Jul 6, 2025
* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)
@redisearch-backport-pull-request
Copy link
Copy Markdown
Contributor

Successfully created backport PR for 8.2:

BenGoldberger added a commit that referenced this pull request Jul 7, 2025
* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)
BenGoldberger added a commit that referenced this pull request Jul 7, 2025
* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)
github-merge-queue bot pushed a commit that referenced this pull request Jul 7, 2025
[MOD-10298] - add check version to json open key (#6405)

* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)

Co-authored-by: BenGoldberger <ben.goldberger@redis.com>
github-merge-queue bot pushed a commit that referenced this pull request Jul 7, 2025
[MOD-10298] - add check version to json open key (#6405)

* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)

Co-authored-by: BenGoldberger <ben.goldberger@redis.com>
github-merge-queue bot pushed a commit that referenced this pull request Jul 7, 2025
[MOD-10298] - add check version to json open key (#6405)

* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)
github-merge-queue bot pushed a commit that referenced this pull request Jul 7, 2025
[MOD-10298] - add check version to json open key (#6405)

* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)
BenGoldberger added a commit that referenced this pull request Jul 8, 2025
* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)
github-merge-queue bot pushed a commit that referenced this pull request Jul 8, 2025
[MOD-10298] - add check version to json open key (#6405)

* add check version to open key

* change to use OpenKey instead

(cherry picked from commit 15203f9)
JoanFM pushed a commit that referenced this pull request Apr 13, 2026
* add check version to open key

* change to use OpenKey instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants