Skip to content

api: add autosharding load balancing policy proto - #47653

Merged
paul-r-gall merged 3 commits into
envoyproxy:mainfrom
easwars:autosharding_lb_config
Oct 14, 2026
Merged

paul-r-gall merged 3 commits into
envoyproxy:mainfrom
easwars:autosharding_lb_config

Conversation

@easwars

@easwars easwars commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

This PR adds the xDS LB policy configuration protobuf message for the autosharding LB policy being added to gRPC as part of grpc/proposal#551.

This LB policy is not currently implemented in envoy and this PR adds only the configuration message.

Risk Level: Low (API-only addition, not implemented in Envoy).
Testing: N/A (API proto definition only).
Docs Changes: Inline in proto (hidden via [#not-implemented-hide:]).
Release Notes: N/A.

@markdroth

Signed-off-by: Easwar Swaminathan <easwars@google.com>
@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @htuch
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #47653 was opened by easwars.

see: more, trace.

@markdroth

Copy link
Copy Markdown
Contributor

/lgtm api

Signed-off-by: Easwar Swaminathan <easwars@google.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The request-header field permits invalid header names and the new documentation contains a typo.

1 open finding
What changed in this PR

Adds the xDS API schema for the proposed, not-yet-implemented autosharding load-balancing policy.

Changes:

  • Defines autosharding service, key, fallback, and timeout settings.
  • Registers the proto package in API aggregation targets.
  • Adds “autosharding” to the spelling dictionary.
File Description
tools/​spelling/​spelling_dictionary.txt Adds the policy name.
api/​versioning/​BUILD Includes the package in versioning.
api/​envoy/​extensions/​load_balancing_policies/​autosharding/​v3/​BUILD Defines the generated API package.
api/​envoy/​extensions/​load_balancing_policies/​autosharding/​v3/​autosharding.proto Defines the policy configuration.
api/​BUILD Includes the package in the aggregate API target.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

…e standard header-name validator'

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Easwar Swaminathan <easwars@google.com>
@paul-r-gall

Copy link
Copy Markdown
Contributor

/lgtm api

@paul-r-gall
paul-r-gall dismissed their stale review October 14, 2026 16:24

issues resolved via subsequent commits.

@paul-r-gall
paul-r-gall merged commit 682942b into envoyproxy:main Oct 14, 2026
29 checks passed
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.

6 participants