Repository navigation
Pin SDR integration tests to redis:8.6.2 on PR runs - #4676
Merged
Merged
Conversation
Redis 8.10 changed the internal radix tree structure for streams, so XINFO STREAM / XINFO GROUPS return different node counts and Spring Data Redis assertions fail. Match the version SDR itself tests against (8.6.2); workflow_dispatch can still pick any version.
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.
What
Pin the Spring Data Redis integration workflow to
redis:8.6.2for PR-triggered runs.Why
Redis 8.10 changed the internal radix tree structure for streams, so
XINFO STREAM/XINFO GROUPSreport different node counts and SDR assertions likeinfo.radixTreeNodesSize() == 2fail (example run). Pinning to 8.6.2 matches the version Spring Data Redis itself currently tests against.Changes
.github/workflows/spring-data-redis-integration.yml: default Redis image for non-dispatch runs changed fromredis:8toredis:8.6.2;workflow_dispatchkeeps its'8'default and can still override to any version.Note
Low Risk
Single workflow default for the test Redis image; no application or library code changes.
Overview
CI only: the Spring Data Redis integration workflow now defaults the Redis Docker image to
redis:8.6.2instead ofredis:8when noredis_versioninput is provided (typical pull_request runs).This avoids flaky failures from Redis 8.10 stream radix-tree changes that break SDR assertions on
XINFO STREAM/XINFO GROUPSnode counts.workflow_dispatchstill defaults its input to'8'and can override the image tag as before.Reviewed by Cursor Bugbot for commit f747fe5. Bugbot is set up for automated code reviews on this repo. Configure here.