Skip to content

chore(redis): finish low-severity mock, upsert_hash and config hardening - #562

Merged
HosseinNejatiJavaremi merged 1 commit into
masterfrom
chore/redis-low-severity
Nov 2, 2026
Merged

HosseinNejatiJavaremi merged 1 commit into
masterfrom
chore/redis-low-severity

Conversation

@HosseinNejatiJavaremi

Copy link
Copy Markdown
Member

Cluster mixins call cluster methods by capability, so cluster-mode RedisMock/AsyncRedisMock answer cluster_info, cluster_nodes, cluster_slots and the CRC16 cluster_key_slot; cluster_nodes returns a topology dict.
Tests: new mock cluster Behave scenarios pass; sync/async mock slot = 12182; ruff clean.

Closes #449

Cluster mixins call cluster methods by capability instead of an isinstance check, so RedisMock and AsyncRedisMock answer cluster info, nodes, slots and the CRC16 key slot. Mock cluster_nodes returns a real topology dict. Adds mock cluster Behave scenarios and a docs note.
@HosseinNejatiJavaremi HosseinNejatiJavaremi added bug Something isn't working area:redis redis adapter package priority:low Nice to have labels Nov 2, 2026
@HosseinNejatiJavaremi HosseinNejatiJavaremi self-assigned this Nov 2, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation area:testing BDD tests and test containers labels Nov 2, 2026
@HosseinNejatiJavaremi
HosseinNejatiJavaremi merged commit 29f5cf5 into master Nov 2, 2026
30 checks passed
@HosseinNejatiJavaremi
HosseinNejatiJavaremi deleted the chore/redis-low-severity branch November 2, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:redis redis adapter package area:testing BDD tests and test containers bug Something isn't working documentation Improvements or additions to documentation priority:low Nice to have

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(redis): low-severity fixes (mocks, upsert_hash, config hardening)

1 participant