GeezerVison is showing github.com — [Redis 8.12] Regenerate command flags registry from Redis 8.12-rc2 by ggivo · Pull Request #4831 · redis/jedis
Conversation
ggivo
commented
Nov 5, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
What
Regenerates StaticCommandFlagsRegistryInitializer with CommandFlagsRegistryGenerator against redislabs/client-libs-test:8.12-rc2, the image the 8.12 test env uses since #4827. There is no official redis:8.12-rc2 image. The server reports redis_version 8.11.241 with all bundled modules loaded. The output was then formatted with mvn formatter:format.
Provides the registry entries for the 8.12 command PRs #4773 (BLESS), #4828 (set member expiration) and #4830 (BITRANGEINTARRAY), so it should merge first.
Why
ConnectionResolver#getIntent treats any command missing from the registry as a write, so new read-only commands such as BITRANGEINTARRAY (#4830) are never sent to replicas.
Changes
- New registrations:
BITRANGEINTARRAY (READONLY).
BLESS with its subcommands CLEAR, GET, SCAN and SET.
SADDEX.
- The set member expiry commands
SEXPIRE, SEXPIREAT, SPEXPIRE, SPEXPIREAT and SPERSIST (FAST, WRITE).
STTL, SPTTL, SEXPIRETIME and SPEXPIRETIME (FAST, READONLY).
- Changes reported by the server:
CMS.MERGE gains MOVABLEKEYS.
SEARCH.CLUSTERSET is no longer exposed, so it is dropped. Jedis uses neither command.
CommandFlagsRegistryGenerator adds BLESS to KNOWN_PARENT_COMMANDS. The generator stops on unknown container commands by design.
- The header metadata now names source server 8.11.241. The order of the loaded modules changes between runs and has no meaning.
StaticCommandFlagsRegistryTest passes.
Note Medium Risk
Updates the static command-flag map used by ConnectionResolver#getIntent for read vs write routing; incorrect entries could misroute cluster/replica traffic, though this syncs with Redis COMMAND metadata.
Overview
Regenerates the auto-generated StaticCommandFlagsRegistryInitializer from Redis 8.11.241 (8.12-rc2 test server) and bumps the file header metadata accordingly.
New command registrations include BITRANGEINTARRAY (readonly), BLESS with subcommands CLEAR, GET, SCAN, and SET, SADDEX, set-member TTL read/write commands (STTL, SPTTL, SEXPIRETIME, SPEXPIRETIME, SEXPIRE, SEXPIREAT, SPEXPIRE, SPEXPIREAT, SPERSIST), and related count comment updates.
Server-reported flag changes: CMS.MERGE is reclassified with MOVABLEKEYS; SEARCH.CLUSTERSET is dropped from the registry. CommandFlagsRegistryGenerator adds BLESS to KNOWN_PARENT_COMMANDS so subcommand generation succeeds.
Reviewed by Cursor Bugbot for commit adb0d7b. Bugbot is set up for automated code reviews on this repo. Configure here.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
Redis 8.12 adds the BLESS container command. The generator fails fast on an unknown parent command, so it must be listed in KNOWN_PARENT_COMMANDS.
Regenerated with CommandFlagsRegistryGenerator against
redislabs/client-libs-test:8.12-rc2 (redis_version 8.11.241), the image
the 8.12 test env uses.
Adds BITRANGEINTARRAY, BLESS and its subcommands, SADDEX and the set
member expiry commands (SEXPIRE, SEXPIREAT, SPEXPIRE, SPEXPIREAT,
SPERSIST, STTL, SPTTL, SEXPIRETIME, SPEXPIRETIME). CMS.MERGE gains
MOVABLEKEYS and SEARCH.CLUSTERSET is dropped, both as reported by the
server.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-05T14:30:57.436378Z |
adb0d7b |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Test Results
208 files ± 0 208 suites ±0 6m 35s ⏱️ - 1m 40s
8 154 tests - 12 5 612 ✅ - 2 486 2 542 💤 +2 474 0 ❌ ±0
8 162 runs - 24 5 612 ✅ - 2 506 2 550 💤 +2 482 0 ❌ ±0
Results for commit adb0d7b. ± Comparison against base commit f9a7620.
This pull request removes 14 and adds 2 tests. Note that renamed tests count towards both.
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[1] ‑ testScorer(Scorer, double, double)[1][1]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[1] ‑ testScorer(Scorer, double, double)[1][2]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[1] ‑ testScorer(Scorer, double, double)[1][3]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[1] ‑ testScorer(Scorer, double, double)[1][4]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[1] ‑ testScorer(Scorer, double, double)[1][5]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[1] ‑ testScorer(Scorer, double, double)[1][6]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[1] ‑ testScorer(Scorer, double, double)[1][7]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[2] ‑ testScorer(Scorer, double, double)[2][1]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[2] ‑ testScorer(Scorer, double, double)[2][2]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest[2] ‑ testScorer(Scorer, double, double)[2][3]
…
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest ‑ testScorer(Scorer, double, double)[1]
redis.clients.jedis.commands.unified.search.FTHybridCommandsTestBase$SupportedScorersTest ‑ testScorer(Scorer, double, double)[2]
This pull request skips 2472 tests.
redis.clients.jedis.UnboundRedisClusterClientTest ‑ testAskResponseWithHimportSet
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArcountMissingKey()[1]
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArcountMissingKeyBinary()[1]
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArdel()[1]
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArdelBinary()[1]
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArdelrange()[1]
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArdelrangeBinary()[1]
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArget()[1]
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArgetBinary()[1]
redis.clients.jedis.commands.commandobjects.CommandObjectsArrayCommandsTest[1] ‑ testArgetrange()[1]
…
♻️ This comment has been updated with latest results.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|