Skip to content

Marc/resp3#478

Merged
mgravell merged 6 commits into
redis:marc/resp3from
mgravell:marc/resp3
May 2, 2026
Merged

Marc/resp3#478
mgravell merged 6 commits into
redis:marc/resp3from
mgravell:marc/resp3

Conversation

@mgravell
Copy link
Copy Markdown
Collaborator

@mgravell mgravell commented May 2, 2026

Note

Medium Risk
Touches core response parsing for config and search profiling; incorrect assumptions about response shape could change returned data or throw at runtime if regressions slip in. Changes are small and targeted but affect common code paths.

Overview
Fixes a RESP2 parsing bug in ResponseParser.ToConfigDictionary where jagged [ [key,value] ] responses were iterated with the wrong step, which could skip entries or index incorrectly.

Corrects ResponseParser.ToProfileSearchResult for RESP3 so the parsed SearchResult from the "Results" section is actually assigned/returned. Includes a tiny whitespace-only cleanup in the test SkipIfRedis*Attribute definitions.

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

@mgravell mgravell merged commit 54ea2cd into redis:marc/resp3 May 2, 2026
5 of 28 checks passed
@jit-ci
Copy link
Copy Markdown

jit-ci Bot commented May 2, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

mgravell added a commit that referenced this pull request May 11, 2026
* fix RESP3 mismatches

* dotnet format

* Spoof RESP2 MRANGE results from RESP3

* fix double-incr

* nits

* fix rule parsing

* fix info (flag) parsing

* fix JSON APIs

* fix spellcheck parsing

* fix content from info result

* Marc/resp3 (#477)

* ft.config get

* fix brittle TS.INFO tests (server version logic)

* more runtime server version checks; profiled RESP3 layout

* Marc/resp3 (#478)

* ft.config get

* fix brittle TS.INFO tests (server version logic)

* more runtime server version checks; profiled RESP3 layout

* dotnet format

* the bot is right

* - fix more search RESP3 behaviours
- normalize time series test namespaces

* deps

* note GHATL pin

* help me understand CI fail

* add some key randomness to TestJsonSetNotExistAsync

* add GetKeys helper to tell me what is missing in older servers

* handle v7 RESP3 profile layout

* dotnet format

* more v7 fixings

* and another

* make the bugbot happy
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.

1 participant