Skip to content

feat(client): add XNACK command with options and tests#3238

Open
nkaradzhov wants to merge 2 commits intoredis:masterfrom
nkaradzhov:xnack
Open

feat(client): add XNACK command with options and tests#3238
nkaradzhov wants to merge 2 commits intoredis:masterfrom
nkaradzhov:xnack

Conversation

@nkaradzhov
Copy link
Copy Markdown
Collaborator

@nkaradzhov nkaradzhov commented Apr 17, 2026

Description

Describe your pull request here


Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Note

Low Risk
Low risk: additive new command wiring plus tests; only touches the exported command registry and should not affect existing command behavior.

Overview
Adds client support for Redis 8.8 XNACK, exposing it as xNack/XNACK with support for SILENT/FAIL/FATAL modes, variadic IDs encoded via IDS <len>, and optional RETRYCOUNT/FORCE flags.

Includes unit tests for argument serialization and an integration test that exercises xNack against a real server (gated on Docker Redis >= 8.8), and wires the command into the central commands/index.ts export map.

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

@nkaradzhov nkaradzhov requested a review from PavelPashov April 17, 2026 11:40
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