Skip to content

Conversation

@ddelpiano
Copy link
Member

No description provided.

@ddelpiano ddelpiano requested review from Copilot and zsinnema January 21, 2026 11:46
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 fixes the localIp retrieval in values.yaml for local development by adding LoadBalancer IP detection and ensuring the local=True parameter is passed to get_cluster_ip().

Changes:

  • Added LoadBalancer IP detection from ingress-nginx service as the preferred method for local development
  • Fixed function call to pass local=True parameter to get_cluster_ip()

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tools/deployment-cli-tools/ch_cli_tools/utils.py Added LoadBalancer IP detection logic before minikube IP fallback
tools/deployment-cli-tools/ch_cli_tools/helm.py Corrected function call to pass local=True parameter

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

], timeout=5).decode("utf-8").strip()
if out and out != '<no value>':
return out
except:
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

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

Bare except clause catches all exceptions including system exits and keyboard interrupts. Specify except Exception: to catch only expected exceptions while allowing system exits to propagate.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@zsinnema zsinnema left a comment

Choose a reason for hiding this comment

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

@ddelpiano I think this should go into the development branch of CH, wdyt?

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