Repository navigation
Reshape the feature gate into a feature-centric FeatureFlags abstraction - #432
Merged
Merged
Conversation
Rework #430's database-keyed config into a feature-centric, scope-targeted shape backed by a general FeatureFlags. Infrastructure only — INSERT_MERGE is reserved but not consumed yet. - Feature (sealed) + MutationFeature (renamed from TableFeature): a feature is named by its nature, not its target - FeatureFlags (core): folds the baseline once into an immutable database -> features map; has(scope, feature) is allocation-free - ServerProperties: bind actionbase.feature-flags with the scope.databases shape; boot fails on unknown or duplicate feature - GraphConfig / Graph: thread the baseline; Graph exposes featureFlags Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
em3s
force-pushed
the
refactor/feature-flags
branch
from
July 20, 2026 01:03
599e94a to
6a8b454
Compare
Contributor
Author
|
Optimistic |
1 task done
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
Reworks #430's database-keyed feature gate into a feature-centric, scope-targeted config backed by a general
FeatureFlags. Infrastructure only —INSERT_MERGEis reserved but not consumed yet.Changes
Feature(sealed) +MutationFeature(renamed fromTableFeature): a feature is named by its nature, not its targetFeatureFlags(core): folds the baseline once into an immutabledatabase -> featuresmap;has(scope, feature)is allocation-free on the hot pathServerProperties: bindactionbase.feature-flagswith thescope.databasesshape; boot fails on unknown or duplicate featureGraphConfig/Graph: thread the baseline;GraphexposesfeatureFlagsHow to Test
./gradlew :core:test --tests "*FeatureFlagsTest" :server:test --tests "*ServerPropertiesTest"AI Assistance