8000 [Cache][RedisTagAwareAdapter] Add Predis2 Replication Interface check by BrianMwit · Pull Request #61990 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@BrianMwit
8000 Copy link
Contributor
@BrianMwit BrianMwit commented Oct 7, 2025
Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #60050
License MIT

Predis 2 moved ReplicationInterface to a different path.
Check was already added in RedisTrait: https://github.com/symfony/symfony/pull/59751/files#diff-38029e8e3e92a47fb8091876d3e8bc7fc61c2fc793cabf842ed933bf6985134c but missing from RedisTagAwareAdapter. This causes issue when when using TagAware adapter with Replicated Predis2 while it worked with Predis1
This PR add a similar check to RedisTagAwareAdapter

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 7.4 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@nicolas-grekas
Copy link
Member

Thank you @BrianMwit.

@nicolas-grekas nicolas-grekas merged commit dd2aaad into symfony:6.4 Oct 7, 2025
10 of 11 checks passed
@BrianMwit BrianMwit deleted the fix_60050 branch October 14, 2025 21:34
This was referenced Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0