Repository navigation
Add database-level feature gate via application.yaml (INSERT_MERGE) - #430
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]>
em3s
force-pushed
the
feat/issue-429-database-level-features
branch
from
July 19, 2026 12:50
6e94e8e to
1ef81fb
Compare
Co-Authored-By: Claude Fable 5 <[email protected]>
actionbase.database-level-features maps databases to TableFeature sets. Unknown feature names and duplicate database entries fail at boot; effective entries are logged at startup. Co-Authored-By: Claude Fable 5 <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
A typo'd database entry would otherwise silently never match, unlike enum typos which already fail binding. Co-Authored-By: Claude Fable 5 <[email protected]>
em3s
marked this pull request as ready for review
July 19, 2026 13:20
Co-Authored-By: Claude Fable 5 <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Contributor
Author
|
Optimistic |
This was referenced Jul 19, 2026
em3s
added a commit
that referenced
this pull request
Jul 20, 2026
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]>
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
Adds a database-level feature gate configured via application.yaml. Infrastructure only —
INSERT_MERGEis reserved but not consumed yet (that lands with the #415 rework).Closes #429
Changes
TableFeatureenum withINSERT_MERGEServerProperties: bindactionbase.database-level-features, exposefeaturesOf(database)How to Test
./gradlew :server:test --tests "com.kakao.actionbase.server.configuration.ServerPropertiesTest"AI Assistance