Skip to content

MOD-17975 - fix the parsing command issue we have - #1062

Merged
TalBarYakar merged 5 commits into
masterfrom
tal.ba/bug/cms_merge_key_spec
Aug 27, 2026
Merged

TalBarYakar merged 5 commits into
masterfrom
tal.ba/bug/cms_merge_key_spec

Conversation

@TalBarYakar

@TalBarYakar TalBarYakar commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Note

Low Risk
Changes are command metadata, tests, and CI build flags; merge behavior is unchanged aside from earlier cluster key validation.

Overview
Fixes CMS.MERGE command metadata so Redis discovers the destination and all source keys (via numKeys) before the module runs. A read-only KEYNUM key spec and key_spec_index on source arguments align CMS.MERGE with the same pattern used for TDIGEST.MERGE, addressing incorrect parsing that could surface misleading module errors on cluster.

Adds a cluster-only flow test asserting cross-slot CMS.MERGE returns the standard "Keys in request don't hash to the same slot" error instead of CMS: key does not exist.

CI Redis build step now passes SKIP_BUILD=0 so sanitizer workflows always compile Redis rather than skipping the build.

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

@TalBarYakar TalBarYakar changed the title fix the parsing command issue we have MOD-17975 - fix the parsing command issue we have Aug 27, 2026
@codecov

codecov Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.97%. Comparing base (9f3764d) to head (0c4fbd3).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1062      +/-   ##
==========================================
- Coverage   83.03%   82.97%   -0.06%     
==========================================
  Files          21       21              
  Lines        3360     3360              
==========================================
- Hits         2790     2788       -2     
- Misses        570      572       +2     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4543c14. Configure here.

Comment thread tests/flow/test_acl.py Resolved
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
21.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@TalBarYakar
TalBarYakar merged commit 0b7c6fe into master Aug 27, 2026
61 of 63 checks passed
@TalBarYakar
TalBarYakar deleted the tal.ba/bug/cms_merge_key_spec branch August 27, 2026 13:05
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