Skip to content

Conversation

@petyaslavova
Copy link
Collaborator

Pull Request check-list

Please make sure to review and check all of these items:

  • Do tests and lints pass with this change?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

Please provide a description of the change here.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds maintenance notification configuration support to the Redis cluster client, enabling applications to receive and handle maintenance events from Redis clusters. It also introduces a proxy-based testing infrastructure to simulate and validate maintenance notification handling.

  • Adds maint_notifications_config parameter to RedisCluster and propagates it through the cluster node initialization
  • Introduces comprehensive unit tests for maintenance notification classes and handlers
  • Adds integration test helpers using a proxy server for testing notification behavior
  • Updates Docker infrastructure to include proxy services for testing

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
redis/cluster.py Adds maint_notifications_config parameter to RedisCluster and NodesManager, propagates config to all cluster nodes
redis/client.py Fixes grammar in documentation comment ("configuration" -> "configures")
tests/maint_notifications/test_maint_notifications.py Comprehensive unit tests for notification classes, config, and handlers (897 lines)
tests/maint_notifications/test_cluster_maint_notifications_handling.py Integration tests for cluster maintenance notification handling with proxy
tests/maint_notifications/proxy_server_helpers.py Helper classes for proxy-based testing infrastructure
tests/maint_notifications/test_maint_notifications_handling.py Documentation correction in docstring
docker-compose.yml Adds proxy services and updates image tags for testing infrastructure
.gitignore Adds /experimenting/ directory to ignore list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@petyaslavova petyaslavova force-pushed the ps_add_maint_notifications_config_to_cluster_client_add_srv_proxy branch from ce738e3 to 4c06962 Compare November 13, 2025 15:12
@petyaslavova petyaslavova merged commit f57ea65 into feat/hitless_upgrade_sync_cluster_client Nov 17, 2025
4 checks passed
@petyaslavova petyaslavova deleted the ps_add_maint_notifications_config_to_cluster_client_add_srv_proxy branch November 17, 2025 14:14
petyaslavova added a commit that referenced this pull request Nov 17, 2025
…gration with testing helper proxy server. (#3844)

* Adding maint_notifications_config to RedisCluster's NodesManager

* Adding Redis Proxy integration

* Migrating test proxy helper to use custom https client
petyaslavova added a commit that referenced this pull request Nov 20, 2025
…gration with testing helper proxy server. (#3844)

* Adding maint_notifications_config to RedisCluster's NodesManager

* Adding Redis Proxy integration

* Migrating test proxy helper to use custom https client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants