Repository navigation
Conversation
c240b14 to
92c8e3c
Compare
628923b to
e540a42
Compare
30beb3b to
973734e
Compare
973734e to
cf3b27c
Compare
cf3b27c to
62396a7
Compare
|
6895328 to
72774ba
Compare
29968e8 to
ea41ce2
Compare
ea41ce2 to
ee828cc
Compare
ee828cc to
efc48da
Compare
efc48da to
f827f32
Compare
f827f32 to
f0fa67c
Compare
f0fa67c to
a3ce590
Compare
a3ce590 to
9238414
Compare
9238414 to
f39d27c
Compare
Code Review ✅ Approved 🟡 Medium risk 1 closed / 1 findingsAdding project-scoped LaunchDarkly evaluation makes feature selection remotely configurable, so callers may choose different analysis behavior when flag values change. Adds a LaunchDarkly client that reads one boolean feature flag per project through a single HTTPS call to the client-side evaluation endpoint, returning the default on any failure. The previously flagged unclosed HttpClient after the one-shot fetch has been addressed. No open issues remain. ✅ 1 closed✅ Quality: HttpClient is never closed after the one-shot flag fetch
Verification Rules 3/3 met Repos 1 inspected · PRs 2 inspectedFunctional validation No results Rules 3 passed 2 not applicable
Broader impact Repos 1 inspected PRs 2 inspectedCross-repo 1 repository inspected 0 open impactsCross-PR 2 PRs inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|




Part 15 of 17 of JAVA-7392. Ticket: JAVA-7405.
Intent
A small LaunchDarkly client to read one boolean flag per project, with no SDK dependency: one HTTPS call to the client-side evaluation endpoint.
sequenceDiagram participant A as Analysis participant L as LaunchDarklyFeatureFlags participant LD as clientsdk.launchdarkly.com A->>L: connect(clientSideId, projectKey) A->>L: isEnabled(flag, default) L->>LD: GET /sdk/evalx/{id}/contexts/{base64 context} LD-->>L: {"flag": {"value": true}} L-->>A: true, or default on any failureState on master
Nothing reads a flag yet.
Test plan
LaunchDarklyFeatureFlagsTestagainst a local HTTP server: on, off, unknown or non-boolean flag, failing or unreachable service, interruption, malformed answer