Skip to content

Conversation

@chlins
Copy link
Member

@chlins chlins commented Jan 28, 2026

This pull request primarily updates the SchedulerCluster API and related protobuf definitions to add support for a new seed_client_config field, as well as improves the formatting and clarity of validation rules throughout the proto files. There is also a minor version bump for the Rust crate.

API and Protobuf Enhancements:

  • Added a new seed_client_config field (bytes) to the SchedulerCluster message in the protobuf definitions (manager.proto, proto/manager.proto) and the corresponding Rust struct (src/manager.v2.rs). This enables clusters to have a dedicated configuration for seed clients. [1] [2] [3]

Validation Rule Formatting and Clarity:

  • Reformatted and expanded inline validation rules in multiple proto message fields for better readability and maintainability, including breaking out rules for ip, version, commit, idc, location, type, port, and name fields into multi-line blocks. This affects messages such as GetSeedPeerRequest, ListSeedPeersRequest, UpdateSeedPeerRequest, DeleteSeedPeerRequest, GetSchedulerRequest, UpdateSchedulerRequest, ListSchedulersRequest, Application, and KeepAliveRequest. [1] [2] [3] [4] [5] [6] [7] [8] [9]

  • Adjusted import order in manager.proto for consistency and clarity.

Validation Implementation:

  • Updated the generated Go validation code to recognize the new SeedClientConfig field in the SchedulerCluster message, ensuring it is included in validation logic (currently with no additional rules).

Versioning:

  • Bumped the crate version in Cargo.toml from 2.2.13 to 2.2.14 to reflect these changes.

Description

Related Issue

Motivation and Context

@chlins chlins added the enhancement New feature or request label Jan 28, 2026
@chlins chlins enabled auto-merge (squash) January 28, 2026 07:24
@chlins chlins force-pushed the feat/seed-client-config branch from e87dd57 to eac95fe Compare January 28, 2026 07:40
@chlins chlins force-pushed the feat/seed-client-config branch from eac95fe to ef30b66 Compare January 28, 2026 07:41
Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

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

LGTM

@chlins chlins merged commit a7ba7d7 into main Jan 28, 2026
6 checks passed
@chlins chlins deleted the feat/seed-client-config branch January 28, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants