Awesome Reviewers

Reviewer · Configurations

Document and scope configuration precisely

When adding or modifying configuration options, make the format, scope, and change history explicit so operators aren't left guessing: 1. **Specify exact format.** State clearly whether a value is a list (set via repeated YAML entries / repeated CLI flags) or a single scalar (e.g. a comma-separated string), especially when similarly-named options behave...

Instruction

When adding or modifying configuration options, make the format, scope, and change history explicit so operators aren’t left guessing:

  1. Specify exact format. State clearly whether a value is a list (set via repeated YAML entries / repeated CLI flags) or a single scalar (e.g. a comma-separated string), especially when similarly-named options behave differently. Example: instance_interface_names is a true list (repeat the flag or use YAML list syntax), while spread_minimizing_zones is one comma-separated string, both in YAML and on the CLI. Don’t leave this ambiguous in docs or comments.

  2. Scope config blocks per consumer. Don’t reuse a single configuration block (e.g. a shared gRPC client config) across multiple destinations/connections that need different settings. If two outbound connections require different tls_server_names or other per-destination values, give each its own named config block (e.g. query_scheduler_grpc_client vs query_frontend_grpc_client) rather than forcing one generic config to serve both.

  3. Record default/behavior changes. When introducing a new default or changing how an existing setting behaves, explicitly document the previous value/behavior it replaces (e.g. “this changes the effective default from max_outstanding_per_tenant: 4096 to 32000”). Track this as an open question or changelog note so future regressions can be traced back to the configuration change.

Following this prevents misconfiguration from ambiguous docs, connection failures from shared configs with conflicting requirements, and hard-to-diagnose regressions from undocumented default changes.</description>