Repository navigation
Conversation
Ignore removal callbacks for superseded UFC targets so a replacement stays active. Environment: Datadog workspace Co-Authored-By: Codex GPT-6 <noreply@localhost>
Contributor
Contributor
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
This branch has not been deployed
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.
What Does This Do
Keep the latest feature flag configuration active when Remote Config replaces target A with target B. The poller applies B before removing A; previously, A's removal cleared B and made the OpenFeature provider return
PROVIDER_NOT_READY, even though B was acknowledged as applied.Track the current target key so removal of a superseded target is ignored. Removing the current target still clears the configuration, and late subscribers receive the replacement.
Motivation
Capability and SemVer routing can change the selected UFC target ID without restarting the SDK. This fix addresses the Java agent's existing RC lifecycle code on
masterand can merge independently of the evaluator changes in #13166 and capability preparation in #13167.Additional Notes
The live check combined #13166 and #13167 with test-only capability reporting enabled. This PR contains only the RC lifecycle fix and regression tests; it preserves the existing capability defaults.
Test Coverage
feature-flagging-libtest suite on Java 11: 100 passed, no skips. Module Spotless checks pass.Contributor Checklist
Jira ticket: N/A