Simplify and harden Capacity operations and group model - #89
Merged
Conversation
remdui
marked this pull request as ready for review
August 4, 2026 10:02
remdui
marked this pull request as draft
August 4, 2026 10:19
remdui
marked this pull request as ready for review
August 4, 2026 10:51
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
/capacity config ...control plane with a small operational interfacegroups.<name>.serversthe single source of group membershipgroupsetting from defaults, loading and persistenceCommand interface
The command surface no longer creates/deletes groups, moves group members, changes gameplay classification or initial states, mutates unknown-server behavior, or exposes lease/reconciliation/failure/Restart internals. Command arity and permission-aware suggestions are strict.
Group model
A group owns its members:
Individual server entries no longer contain
group. Effective membership is derived from group lists. Startup and reload reject duplicate or malformed membership instead of silently changing policy.Correctness audit improvements
CapacityConfiginstance across service and control planeBehavior
config.ymlbefore becoming active/capacity reload/capacity infoshows exact-server usage, group usage, queueability, gameplay participation, initial/effective state and manual state detailsValidation