Repository navigation
Conversation
bpalermo
force-pushed
the
feat/configurable-xds-values
branch
3 times, most recently
from
March 22, 2026 14:13
674c64e to
a5d241e
Compare
Introduce ClusterConfig struct in the proxy package to make previously hardcoded cluster generation values tunable via CLI flags: - Local cluster bind address (--local-cluster-bind-address) - Health check healthy/unhealthy thresholds (--health-check-healthy-threshold, --health-check-unhealthy-threshold) - Health check interval and timeout (--health-check-interval, --health-check-timeout) - Upstream HTTP protocol version (--upstream-protocol: h2 or http1) All defaults match the previous hardcoded values for full backward compatibility. The config is threaded from CLI flags through AgentConfig, AgentXdsServer, SnapshotCache, and into the cluster builder functions. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
bpalermo
force-pushed
the
feat/configurable-xds-values
branch
from
March 22, 2026 15:05
a5d241e to
9974145
Compare
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.
Summary
ClusterConfigstruct with sensible defaults--local-cluster-bind-address,--health-check-healthy-threshold,--health-check-unhealthy-threshold,--health-check-interval,--health-check-timeout,--upstream-protocolFiles Changed
agent/internal/xds/proxy/cluster_config.go— NewClusterConfigstructagent/internal/xds/proxy/cluster.go— Accept*ClusterConfigparameteragent/internal/xds/cache/cluster.go— Thread config throughagent/internal/xds/server/server.go— Store and pass configagent/pkg/cmd/config.go— AddClusterConfigtoAgentConfigagent/pkg/cmd/root.go— Register new CLI flagsTest plan
bazel test --config=llm //agent/internal/xds/proxy:proxy_testpasses🤖 Generated with Claude Code