chore: bump local dev redis image to redis:8#439
Merged
Conversation
tuj
approved these changes
May 7, 2026
Redis 8 GA'd 2025-05 (back to OSI-approved AGPLv3 licensing) and ships
RedisJSON / RediSearch / RedisTimeSeries / RedisBloom in-tree.
No Symfony / phpredis changes needed:
- symfony/cache 6.4 RedisTrait only checks `redis_version >= 2.8` (SCAN)
and `>= 4.0` (UNLINK); Redis 8 satisfies both.
- itkdev/php8.4-fpm ships phpredis 6.3, which fully supports Redis 8.
- DSN format and `--maxmemory{,-policy}` flags are unchanged.
Verified locally: stack boots on `redis:8.6.3`, all six redis-backed
cache pools clear cleanly via `cache:pool:clear`, full PHPUnit suite
(143 tests, 607 assertions) passes.
Production deployments are unaffected — operators bring their own Redis;
this only touches `docker-compose.override.yml`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
89b9544 to
9faf14e
Compare
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.
Summary
Bumps the local dev
redisservice fromredis:6toredis:8. Only touchesdocker-compose.override.yml— production deployments bring their own Redis and aren't affected by this PR.Symfony 6.4 LTS ↔ Redis 8 compatibility (research summary)
Fully compatible, no code or config changes needed:
symfony/cache 6.4.36RedisTraitversion checksredis_version >= 2.8(SCAN) and>= 4.0(UNLINK). Redis 8 trivially satisfies both. No "≤7 only" code paths.itkdev/php8.4-fpmshipsphpredis 6.3.0— full Redis 8 support (RESP3, Sentinel, SSL). No predis/relay used.GETRANGEreturning empty bulk on out-of-range negative end index — Symfony cache doesn't useGETRANGE.--maxmemory 128mb --maxmemory-policy allkeys-lrustill valid in Redis 8.redis://host:port/dbunchanged.Files Changed
docker-compose.override.yml—image: "redis:6"→image: "redis:8", with a comment explaining why this is safe under Symfony 6.4.CHANGELOG.md—[Unreleased]entry.Local verification (already run)
redis:8.6.3(current Redis 8 minor on Docker Hub).feeds.cache,feed.without.expire.cache,calendar.api.cache,auth.screen.cache,screen.status.cache,interactive_slide.cache) clear cleanly viabin/console cache:pool:clear.Test Plan
docker compose down -v && docker compose up -d.docker compose exec redis redis-cli INFO server | grep redis_version→ expectredis_version:8.x.x.docker compose run --rm phpfpm bin/console cache:pool:clear feeds.cache→ expect[OK] Cache was successfully cleared.docker compose run --rm phpfpm composer run test→ expect 143/143 green.🤖 Generated with Claude Code