You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Motivation
First of a three-PR stack splitting #36959 (scoped feature flags) for
review:
**1/3 (this) → 2/3 #37080 → 3/3 #36959**. Design:
doc/developer/design/20260609_scoped_feature_flags.md (#36947).
This PR is the additive foundation: it introduces the vocabulary the
later PRs
build on, with no behavior change on its own.
### Description
* `ParameterScope` (`Environment` / `Cluster` / `Replica`), declared on
system
vars and dyncfg `Config`s and carried through to the synced system vars.
The
declaration is the single source of truth for which contexts get
evaluated.
* The size-family taxonomy: `ReplicaAllocation::family` plus a size-map
`family`
field, with a `cc` / `legacy` fallback for sizes that don't set one.
* The compute controller's per-replica dyncfg override layer
(`update_replica_dyncfg_overrides` + per-replica command
specialization),
inert until the adapter wires it in 3/3.
Nothing consumes the scope or the override layer yet, so this is a
no-op.
### Verification
`test_replica_allocation_family` covers the size→family fallback; the
rest is
exercised by the later PRs in the stack.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments