8000 feat : Add support for HOTKEYS command (#4421) by a-TODO-rov · Pull Request #4417 · redis/jedis · GitHub
[go: up one dir, main page]

Skip to content

feat : Add support for HOTKEYS command (#4421)#4417

Merged
ggivo merged 14 commits intomasterfrom
implement-hotkeys-commands
Feb 9, 2026
Merged

feat : Add support for HOTKEYS command (#4421)#4417
ggivo merged 14 commits intomasterfrom
implement-hotkeys-commands

Conversation

@a-TODO-rov
Copy link
Contributor
@a-TODO-rov a-TODO-rov commented Feb 1, 2026

Closes : #4421

@github-actions
Copy link
github-actions bot commented Feb 1, 2026

Test Results

   291 files  + 5     291 suites  +5   12 8000 m 8s ⏱️ -7s
10 685 tests +91  10 476 ✅ +42  209 💤 +49  0 ❌ ±0 
 2 805 runs  + 8   2 797 ✅ + 4    8 💤 + 4  0 ❌ ±0 

Results for commit e169b48. ± Comparison against base commit 3edd1f6.

♻️ This comment has been updated with latest results.

@a-TODO-rov a-TODO-rov requested a review from ggivo February 1, 2026 14:36
@a-TODO-rov a-TODO-rov force-pushed the implement-hotkeys-commands branch from d506e0a to 9c006e6 Compare February 5, 2026 12:59
Copy link
Contributor
Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds client support for Redis HOTKEYS command family (START/STOP/RESET/GET), including parameter modeling, response parsing, and integration tests (standalone + “unsupported in cluster client” coverage), along with test environment adjustments to run against a Redis build that includes HOTKEYS.

Changes:

  • Introduce HotkeysParams, HotkeysMetric, and HotkeysInfo to model request/response for HOTKEYS.
  • Wire HOTKEYS into command construction/execution paths (CommandObjects, Jedis, UnifiedJedis, pipeline), and explicitly block it for cluster command objects.
  • Add integration tests for standalone clients and cluster “unsupported” behavior; update test env + formatter includes.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/test/resources/env/.env.v8.6 Updates Redis image tag used for v8.6 integration env.
src/test/java/redis/clients/jedis/commands/unified/cluster/ClusterHotkeysCommandsTest.java New unified cluster test asserting HOTKEYS is unsupported.
src/test/java/redis/clients/jedis/commands/unified/client/RedisClientHotkeysCommandsTest.java New unified client integration tests for HOTKEYS lifecycle/options/fields.
src/test/java/redis/clients/jedis/commands/unified/HotkeysCommandsTestBase.java New unified HOTKEYS test base with cleanup hooks.
src/test/java/redis/clients/jedis/commands/jedis/HotkeysCommandsTest.java New Jedis integration tests for HOTKEYS lifecycle/options/fields.
src/test/java/redis/clients/jedis/commands/jedis/ClusterHotkeysCommandsTest.java New Jedis cluster test asserting HOTKEYS is unsupported.
src/main/java/redis/clients/jedis/resps/HotkeysInfo.java New response parser/model for HOTKEYS GET.
src/main/java/redis/clients/jedis/params/HotkeysParams.java New params builder for HOTKEYS START.
src/main/java/redis/clients/jedis/commands/ServerCommands.java Adds HOTKEYS methods to the server commands API.
src/main/java/redis/clients/jedis/args/HotkeysMetric.java Adds metric enum (CPU/NET) for HOTKEYS.
src/main/java/redis/clients/jedis/UnifiedJedis.java Adds HOTKEYS methods to UnifiedJedis.
src/main/java/redis/clients/jedis/Protocol.java Registers HOTKEYS command and related keywords.
src/main/java/redis/clients/jedis/PipeliningBase.java Adds pipeline variants of HOTKEYS commands.
src/main/java/redis/clients/jedis/Jedis.java Implements HOTKEYS methods on Jedis.
src/main/java/redis/clients/jedis/CommandObjects.java Adds command object builders for HOTKEYS subcommands.
src/main/java/redis/clients/jedis/ClusterCommandObjects.java Explicitly throws unsupported for HOTKEYS in cluster command objects.
pom.xml Adds new files to formatter-maven-plugin include list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator
@ggivo ggivo left a comment

Choose a reason for hiding this comment

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

LGTM

@ggivo ggivo merged commit 582e232 into master Feb 9, 2026
13 of 14 checks passed
@ggivo ggivo changed the title Implement hotkeys commands feat : Add support for HOTKEYS command (#4421) Feb 17, 2026
@ggivo ggivo added the feature label Feb 17, 2026
@ggivo ggivo added this to the 7.3.0 milestone Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for HOTKEYS command

3 participants

0