Skip to content

Conversation

@Fusl
Copy link
Contributor

@Fusl Fusl commented May 1, 2025

Fixes #2035, a bug introduced in #1342

@codecov
Copy link

codecov bot commented May 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.94%. Comparing base (8df0a6b) to head (8ebd101).
Report is 2 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #2036      +/-   ##
============================================
- Coverage     70.96%   70.94%   -0.03%     
============================================
  Files           123      123              
  Lines         66135    66133       -2     
============================================
- Hits          46934    46917      -17     
- Misses        19201    19216      +15     
Files with missing lines Coverage Δ
src/sds.c 87.85% <100.00%> (+1.18%) ⬆️

... and 13 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@madolson FYI. Apparently you reviewed the PR where the bug was introduced.

@zuiderkwast zuiderkwast added the to-be-merged Almost ready to merge label May 1, 2025
@zuiderkwast zuiderkwast moved this to In Progress in Valkey 8.1 May 1, 2025
@madolson
Copy link
Member

madolson commented May 2, 2025

We did have some unit tests for sdscatrepr, but apparently not enough. Thanks for catching this.

@zuiderkwast zuiderkwast changed the title properly escape double quotes and backslash in sdscatrepr Properly escape double quotes and backslash in sdscatrepr May 2, 2025
@zuiderkwast zuiderkwast merged commit 4eeffda into valkey-io:unstable May 2, 2025
51 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to To be backported in Valkey 8.1 May 2, 2025
mkmkme pushed a commit to valkey-io/valkey-py that referenced this pull request May 5, 2025
Some of MONITOR tests got broken due to a bug in the server:
valkey-io/valkey#2036

This commit disables those tests for these versions of Valkey server
thus letting the CI proceed.

Signed-off-by: Mikhail Koviazin <[email protected]>
mkmkme pushed a commit to valkey-io/valkey-py that referenced this pull request May 5, 2025
Some of MONITOR tests got broken due to a bug in the server:
valkey-io/valkey#2036

This commit disables those tests for these versions of Valkey server
thus letting the CI proceed.

Signed-off-by: Mikhail Koviazin <[email protected]>
rainsupreme pushed a commit to rainsupreme/valkey that referenced this pull request May 14, 2025
…2036)

Fixes valkey-io#2035, a bug introduced
in valkey-io#1342

---------

Signed-off-by: Fusl <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
@zuiderkwast zuiderkwast removed the to-be-merged Almost ready to merge label May 27, 2025
@ranshid ranshid removed the status in Valkey 8.1 Jun 4, 2025
@ranshid ranshid moved this to To be backported in Valkey 8.1 Jun 4, 2025
hpatro pushed a commit to hpatro/valkey that referenced this pull request Jun 4, 2025
…2036)

Fixes valkey-io#2035, a bug introduced
in valkey-io#1342

---------

Signed-off-by: Fusl <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
hpatro pushed a commit to hpatro/valkey that referenced this pull request Jun 4, 2025
…2036)

Fixes valkey-io#2035, a bug introduced
in valkey-io#1342

---------

Signed-off-by: Fusl <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
Signed-off-by: Harkrishn Patro <[email protected]>
hpatro pushed a commit that referenced this pull request Jun 9, 2025
Fixes #2035, a bug introduced
in #1342

---------

Signed-off-by: Fusl <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
Signed-off-by: Harkrishn Patro <[email protected]>
hpatro pushed a commit that referenced this pull request Jun 11, 2025
Fixes #2035, a bug introduced
in #1342

---------

Signed-off-by: Fusl <[email protected]>
Signed-off-by: Madelyn Olson <[email protected]>
Co-authored-by: Madelyn Olson <[email protected]>
Signed-off-by: Harkrishn Patro <[email protected]>
@hpatro hpatro moved this from To be backported to Done in Valkey 8.1 Jun 11, 2025
@hpatro hpatro moved this from Done to 8.1.2 in Valkey 8.1 Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 8.1.2

Development

Successfully merging this pull request may close these issues.

[BUG] sdscatrepr not escaping " and \ characters anymore

3 participants