Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove immutable annotation from nodeType to support vertical scaling for redis cluster. #13190

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

singh-shreya321
Copy link

@singh-shreya321 singh-shreya321 commented Feb 26, 2025

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

redis: Remove immutable annotation from nodeType to support vertical scaling for redis cluster.

Copy link

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@github-actions github-actions bot requested a review from slevenick February 26, 2025 09:19
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Feb 26, 2025
@singh-shreya321 singh-shreya321 changed the title Remove immutable annotation from nodeType to support vertical scaling. Remove immutable annotation from nodeType to support vertical scaling for redis cluster. Feb 26, 2025
Copy link
Contributor

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

Can you add a test that updates this field so we are sure that the update functionality works?

@singh-shreya321
Copy link
Author

@slevenick the update is still behind an experiment flag, which will be ramped up soon (in ~1-2 weeks). I will add a test post that if that works. I have tested the functionality locally for allowlisted projects.

@github-actions github-actions bot requested a review from slevenick February 27, 2025 05:32
Copy link
Contributor

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

We should only add support for this once it works for everyone. So lets add the test here and wait for rollout before merging

@singh-shreya321
Copy link
Author

/gcbrun

@github-actions github-actions bot requested a review from slevenick March 10, 2025 09:13
@slevenick
Copy link
Contributor

/gcbrun looks like it hit a 500 error on GitHub

@modular-magician modular-magician added service/redis-cluster and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Mar 11, 2025
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 10 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 2 files changed, 22 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 30
Passed tests: 22
Skipped tests: 0
Affected tests: 8

Click here to see the affected service packages
  • redis

Action taken

Found 8 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccRedisCluster_createUpdateClusterWithNodeType
  • TestAccRedisCluster_createUpdateDeletionProtection
  • TestAccRedisCluster_persistenceUpdate
  • TestAccRedisCluster_switchoverAndDetachSecondary
  • TestAccRedisCluster_updateClusterEndpoints
  • TestAccRedisCluster_updateRedisConfigs
  • TestAccRedisCluster_updateReplicaCount
  • TestAccRedisCluster_updateShardCount

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccRedisCluster_createUpdateDeletionProtection [Debug log]
TestAccRedisCluster_persistenceUpdate [Debug log]
TestAccRedisCluster_switchoverAndDetachSecondary [Debug log]
TestAccRedisCluster_updateRedisConfigs [Debug log]
TestAccRedisCluster_updateReplicaCount [Debug log]
TestAccRedisCluster_updateShardCount [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccRedisCluster_createUpdateClusterWithNodeType [Error message] [Debug log]
TestAccRedisCluster_updateClusterEndpoints [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

Copy link
Contributor

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

Looks like update mask is causing issues in the tests

@github-actions github-actions bot requested a review from slevenick March 12, 2025 07:50
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Mar 12, 2025
@singh-shreya321
Copy link
Author

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-approval Pull requests that need reviewer's approval to run presubmit tests service/redis-cluster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants