Skip to content

Hadle JSON.DEL logs [MOD-10266]#6377

Merged
BenGoldberger merged 9 commits intomasterfrom
beng-handle-json.del-logs
Jul 7, 2025
Merged

Hadle JSON.DEL logs [MOD-10266]#6377
BenGoldberger merged 9 commits intomasterfrom
beng-handle-json.del-logs

Conversation

@BenGoldberger
Copy link
Copy Markdown
Collaborator

this PR should clean the warning logs when deleting a json doc
And set the index errors for some flows

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 26, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 89.52%. Comparing base (884da8c) to head (e95f693).
Report is 24 commits behind head on master.

Files with missing lines Patch % Lines
src/json.c 50.00% 2 Missing ⚠️
src/info/index_error.c 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6377      +/-   ##
==========================================
+ Coverage   88.81%   89.52%   +0.70%     
==========================================
  Files         251      253       +2     
  Lines       41604    41549      -55     
  Branches     3623     3963     +340     
==========================================
+ Hits        36950    37195     +245     
+ Misses       4610     4297     -313     
- Partials       44       57      +13     
Flag Coverage Δ
flow 82.13% <50.00%> (+0.61%) ⬆️
unit 47.37% <0.00%> (+0.71%) ⬆️

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.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 3, 2025

CLA assistant check
All committers have signed the CLA.

@BenGoldberger BenGoldberger requested a review from GuyAv46 July 7, 2025 12:09
@GuyAv46 GuyAv46 removed the size:XS label Jul 7, 2025
@BenGoldberger BenGoldberger added this pull request to the merge queue Jul 7, 2025
Merged via the queue into master with commit 1243f48 Jul 7, 2025
31 of 32 checks passed
@BenGoldberger BenGoldberger deleted the beng-handle-json.del-logs branch July 7, 2025 15:00
@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-6377-to-2.8 origin/2.8
cd .worktree/backport-6377-to-2.8
git switch --create backport-6377-to-2.8
git cherry-pick -x 1243f48e4e46fb0399772ef659a9d60a6dd77163

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

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

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

git fetch origin 2.6
git worktree add -d .worktree/backport-6377-to-2.6 origin/2.6
cd .worktree/backport-6377-to-2.6
git switch --create backport-6377-to-2.6
git cherry-pick -x 1243f48e4e46fb0399772ef659a9d60a6dd77163

redisearch-backport-pull-request bot pushed a commit that referenced this pull request Jul 7, 2025
* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

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

Successfully created backport PR for 2.10:

redisearch-backport-pull-request bot pushed a commit that referenced this pull request Jul 7, 2025
* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)
@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 7, 2025
* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)
@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 8, 2025
* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)
BenGoldberger added a commit that referenced this pull request Jul 8, 2025
* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)
github-merge-queue bot pushed a commit that referenced this pull request Jul 8, 2025
Hadle JSON.DEL logs [MOD-10266] (#6377)

* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)

Co-authored-by: BenGoldberger <ben.goldberger@redis.com>
github-merge-queue bot pushed a commit that referenced this pull request Jul 8, 2025
Hadle JSON.DEL logs [MOD-10266] (#6377)

* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)

Co-authored-by: BenGoldberger <ben.goldberger@redis.com>
github-merge-queue bot pushed a commit that referenced this pull request Jul 8, 2025
* Hadle JSON.DEL logs [MOD-10266] (#6377)

* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)

* remove skip json

---------

Co-authored-by: BenGoldberger <ben.goldberger@redis.com>
github-merge-queue bot pushed a commit that referenced this pull request Jul 9, 2025
* Hadle JSON.DEL logs [MOD-10266] (#6377)

* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)

* remove set error

* move unecessery tests

* add couldnt open key error

* document does not exist
github-merge-queue bot pushed a commit that referenced this pull request Jul 9, 2025
* Hadle JSON.DEL logs [MOD-10266] (#6377)

* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors

(cherry picked from commit 1243f48)

* move set error

* add error when couldnt open key
@DvirDukhan
Copy link
Copy Markdown

Compliance Analysis:

  1. ✅ COMPLIANT: Jira DoD requires changing log level from warning to debug - PR successfully updates log level in src/info/index_error.c.
  2. ✅ COMPLIANT: Jira DoD requires improving error handling by setting status details during JSON document updates - PR enhances error handling in src/document_basic.c and src/json.c.
  3. ⚠️ PARTIAL: PR introduces potential issues with logging level changes and error message clarity, which may need further refinement for end-user understanding.

Actionable Recommendations:

  • Address potential issues by revisiting the logging level changes to ensure critical errors remain visible.
  • Enhance error message clarity for better user feedback and understanding.

The PR implementation aligns well with the Jira requirements, with minor areas for improvement to enhance user experience and error visibility.

JoanFM pushed a commit that referenced this pull request Apr 13, 2026
* set the errors when needed and change log level to debug

* add tests

* skip cluster

* change test

* simplify test

* add verbose to test

* ad print for rltest_config

* add some test to json error

* add some test to json errors
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.

4 participants