Merged
Conversation
- nodeAddresses: add nil guard for instance parameter to prevent panic - updateFirewallRule: track deletion errors separately so a successful creation no longer returns a stale deletion error; return changed=false when nothing actually changed - symmetricDifference: add nil guard for instance elements - newCSCloud: improve error message to specify which config fields are required - EnsureLoadBalancer: add warning logs when rules are skipped during IP switch cleanup due to invalid protocol or unparseable port Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a pre-flight validatePublicIPAvailable() check in EnsureLoadBalancer when switching to a user-specified IP. This prevents leaving the service in a broken state if the target IP is invalid or unavailable — the old config is preserved and the error is returned immediately. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
f4b29ef to
897122b
Compare
suhasagasthya
approved these changes
Feb 23, 2026
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.
Issue #, if available:
Description of changes:
This PR contains some changes made after a code review done with Claude.Mainly some guards for nil ptr derefs, some improvements in error handling and a check to validate the availability of an IP before an IP change of the loadbalancer, before the existing lb is torn down.
Testing performed:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.