Repository navigation
DOC-7335 Add redis-py, redis-rb and node-redis API mappings for ZMOVE, BZMOVE, ZMOVEMEMBER and BACKUP - #4643
Merged
Conversation
Contributor
🧠 Redis MemoryFound 7 related items from repository history (2 new this commit):
Memory updated at f047220 |
Contributor
10 tasks
…, BZMOVE, ZMOVEMEMBER and BACKUP Adds nine per-command files under `data/command-api-mapping/` and regenerates `data/command-api-mapping.json` (additions only: `git diff --patience` shows +480/-0). ZMOVE, BZMOVE and ZMOVEMEMBER have rows for `redis_py`, `redis_rb` and `node_redis`. The six BACKUP subcommands (START, STATUS, LIST, SEAL, ABORT, CLEANUP) have rows for `redis_py` and `node_redis`. The bare `BACKUP` container row is not added. The PR was parked while Redis 8.12 and the client releases were pending. When it was thawed on 2026-11-23, Redis 8.12.0 was GA and three clients had shipped a stable release containing the commands: redis-py v8.2.0, redis-rb v6.1.0 and node-redis `[email protected]`. Jedis, Lettuce, go-redis, Predis and StackExchange.Redis/NRedisStack had no stable release with them (Jedis, Predis and SE.Redis in no tag at all), so their rows were removed and kept on a local branch at `da52f49e7` rather than waiting weeks for the slowest client. The park-time snapshot held for the three kept clients: redis-rb `sorted_sets.rb` at v6.1.0 and every node-redis command file at `[email protected]` were byte-identical to the snapshot. Only go-redis moved, and it was dropped anyway. All 21 remaining signatures were checked by script against the release tags, with a checker that was mutation-tested. The redis-py calls were run against `redis:8.12-rc3`, and the node-redis calls (`zMove`, `zMoveMember`, `bzMove`, five `backup*`) against the same image with `[email protected]` installed from npm. The `redis:8.12.0` image was not on Docker Hub yet, and `8.12-rc2` has no ZMOVE. redis-rb was not run. Learned: a parked PR whose trigger is met for some clients can land those rows now, because the per-client rows in `data/command-api-mapping/*.json` are independent Constraint: only add a client's row once a non-prerelease tag of that client contains the command, and re-read its signature at that tag Directive: the dropped rows (Jedis, Lettuce, go-redis, Predis, NRedisStack) live on local branch `DOC-7335-dropped-rows-parked` at `da52f49e7`; re-read them at each client's release tag before reusing them, because go-redis has moved since Gaps: the redis-rb rows were not run against a server, and the BACKUP rows for go-redis are in the dropped set Ticket: DOC-7335 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
andy-stark-redis
force-pushed
the
DOC-7335-zmove-backup-api-mapping
branch
from
November 23, 2026 14:55
da52f49 to
f047220
Compare
Contributor
Author
|
Thanks @dwdougherty ! |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds API mappings for ZMOVE, BZMOVE and ZMOVEMEMBER (Redis 8.12) and the six BACKUP subcommands (Redis 8.10) to
data/command-api-mapping/, and regeneratesdata/command-api-mapping.json(additions only, +480/-0 withgit diff --patience).Only clients with a stable release that contains the commands are included: redis-py v8.2.0, redis-rb v6.1.0 and node-redis
[email protected]. Rows for Jedis, Lettuce, go-redis, Predis and NRedisStack are left out until those clients ship, and will come in a follow-up.Verified. All 21 signatures were checked by script against the release tags. The redis-py and node-redis calls were run against
redis:8.12-rc3(theredis:8.12.0image is not on Docker Hub yet). redis-rb was not run.Related: #4525 (DOC-7292) also regenerates
data/command-api-mapping.json, so whichever PR lands second must re-run./build/merge-command-api-mapping.shinstead of resolving the conflict by hand.🤖 Generated with Claude Code
Note
Low Risk
Additions-only JSON documentation mappings with no application code or data-plane behavior changes.
Overview
Adds nine new Redis command API mapping files under
data/command-api-mapping/and regenerates the mergeddata/command-api-mapping.jsonso docs can show client method signatures.BACKUP (Redis 8.10):
BACKUP ABORT,CLEANUP,LIST,SEAL,START, andSTATUS— each maps to redis-py (backup_*) and node-redis (backup*).Sorted-set moves (Redis 8.12):
ZMOVE,BZMOVE, andZMOVEMEMBER— each maps redis_py, node_redis, and redis_rb with typed params/return shapes (e.g. min/max/byscore, timeout, membernx/xx).No runtime or tooling logic changes; documentation data only. PR is parked until Redis 8.12 GA and stable client releases.
Reviewed by Cursor Bugbot for commit f047220. Bugbot is set up for automated code reviews on this repo. Configure here.