Repository navigation
feat: Add the override layer, the store overlay, and the override source configuration #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: rlamb/overrides-java-model-marker
Are you sure you want to change the base?
Changes from all commits
72607d4
8a87b30
cfabc55
ee0d2be
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -209,7 +209,8 @@ public LDClient(String sdkKey, LDConfig config) { | |
| this.dataSystem = FDv1DataSystem.create(baseLogger, config, context, context.getLogging()); | ||
| } | ||
|
|
||
| EvaluatorInterface evaluator = new InputValidatingEvaluator(this.dataSystem.getStore(), bigSegmentStoreWrapper, eventProcessor, evaluationLogger); | ||
| EvaluatorInterface evaluator = new InputValidatingEvaluator(this.dataSystem.getStore(), | ||
| this.dataSystem.getOverrideLayer(), bigSegmentStoreWrapper, eventProcessor, evaluationLogger); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. isFlagKnown ignores uninitialized overridesMedium Severity
Additional Locations (1)Reviewed by Cursor Bugbot for commit 2d12762. Configure here. |
||
|
|
||
| // build environment metadata for plugins | ||
| SdkMetadata sdkMetadata; | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LD updates miss override dependents
Medium Severity
OverrideSinkImplfans out change notifications over the merged view, but LaunchDarkly store updates still use only base-store dependencies. An override that references a LaunchDarkly segment or prerequisite will not notify that flag when the underlying item changes, so listeners can miss a real evaluation change.Additional Locations (1)
lib/sdk/server/src/main/java/com/launchdarkly/sdk/server/OverrideSinkImpl.java#L84-L117Reviewed by Cursor Bugbot for commit 2d12762. Configure here.