Commit 29efc06
Add agentless Feature Flagging configuration source (#11892)
Define Feature Flagging configuration source contract
Add Datadog-managed agentless UFC polling
Support custom agentless UFC endpoints
Select the Feature Flagging configuration source
Warn on agentless authentication failures
Merge remote-tracking branch 'origin/master' into rewrite/java-agentless-narrative
# Conflicts:
# dd-trace-api/src/main/java/datadog/trace/api/config/FeatureFlaggingConfig.java
# products/feature-flagging/feature-flagging-agent/src/main/java/com/datadog/featureflag/FeatureFlaggingSystem.java
fix(ffe): handle nullable agentless response bodies
Merge branch 'master' into leo.romanovsky/ffl-2693-java-agentless-configuration-source
Address agentless poller review feedback
Fix feature flag config test imports
Address additional agentless source review feedback
Support the UFC CDN response contract
Harden agentless configuration responses
Rely on OkHttp gzip negotiation and cover truncated response cache preservation. Require JSON:API envelopes for custom endpoints.
Separate UFC transport parsers
Keep Remote Configuration on raw UFC parsing and give agentless JSON:API its own streaming envelope parser. Share UFC adapters without materializing an intermediate response map.
Fix feature flagging test formatting
Fix feature flagging parser coverage
Address final feature flagging review feedback
Merge branch 'master' into leo.romanovsky/ffl-2693-java-agentless-configuration-source
Merge branch 'master' into leo.romanovsky/ffl-2693-java-agentless-configuration-source
fix(feature-flags): align configuration source semantics
feat(feature-flags): delay agentless polling until provider use
feat(communication): support mapped retried HTTP calls
fix(feature-flags): align agentless HTTP behavior
fix(feature-flags): complete initial poll during activation
chore(feature-flags): remove unused agent feature
Merge branch 'master' into leo.romanovsky/ffl-2693-java-agentless-configuration-source
Fix race in agentless config source listener test
scheduledPollContinuesAfterListenerRuntimeException waited on
FakeClient.calls, which is incremented when a request starts rather than
when it completes. The barrier therefore released as soon as the second
poll began, letting the assertion race the poll thread that applies the
configuration and notifies the listener.
Wait on a CountDownLatch counted down by the listener itself, so the
second notification is guaranteed to have happened before the
assertions run.
Environment: Datadog workspace
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: vickie.fridge <vickie.fridge@datadoghq.com>
test(feature-flags): cover agentless lifecycle branches
chore(agent): raise jar size budget to 34 MiB
fix(feature-flags): document retry policy confinement
Revert "chore(agent): raise jar size budget to 34 MiB"
This reverts commit 29c1fd4.
Merge remote-tracking branch 'origin/master' into agent/pr11892-cross-sdk-contract
Co-authored-by: vjfridge <vickie.fridge@datadoghq.com>
Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>1 parent c8ba6ce commit 29efc06
32 files changed
Lines changed: 3153 additions & 172 deletions
File tree
- communication/src
- main/java/datadog/communication/http
- test/java/datadog/communication/http
- dd-java-agent/agent-bootstrap/src
- main/java/datadog/trace/bootstrap
- test/java/datadog/trace/bootstrap
- dd-smoke-tests/openfeature/src/test/groovy/datadog/smoketest/springboot
- dd-trace-api/src/main/java/datadog/trace/api
- internal-api
- src
- main/java/datadog/trace
- api
- util
- test/groovy/datadog/trace/api
- metadata
- products/feature-flagging
- feature-flagging-agent
- src
- main/java/com/datadog/featureflag
- test/java/com/datadog/featureflag
- feature-flagging-api
- src
- main/java/datadog/trace/api/openfeature
- test/java/datadog/trace/api/openfeature
- feature-flagging-bootstrap/src
- main/java/datadog/trace/api/featureflag
- test/java/datadog/trace/api/featureflag
- feature-flagging-config
- src
- main/java/datadog/trace/api/featureflag/config
- test/java/datadog/trace/api/featureflag/config
- feature-flagging-lib
- src
- main/java/com/datadog/featureflag
- test/java/com/datadog/featureflag
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
| |||
Lines changed: 29 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
405 | 406 | | |
406 | 407 | | |
407 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
408 | 424 | | |
409 | 425 | | |
| 426 | + | |
410 | 427 | | |
411 | | - | |
| 428 | + | |
412 | 429 | | |
413 | | - | |
| 430 | + | |
414 | 431 | | |
415 | 432 | | |
416 | | - | |
| 433 | + | |
417 | 434 | | |
418 | 435 | | |
| 436 | + | |
419 | 437 | | |
420 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
421 | 442 | | |
422 | 443 | | |
423 | 444 | | |
| |||
428 | 449 | | |
429 | 450 | | |
430 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
431 | 457 | | |
432 | 458 | | |
433 | 459 | | |
| |||
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
Lines changed: 58 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
| 138 | + | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
| |||
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
288 | | - | |
| 287 | + | |
289 | 288 | | |
290 | 289 | | |
291 | 290 | | |
| |||
531 | 530 | | |
532 | 531 | | |
533 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
534 | 536 | | |
535 | 537 | | |
536 | 538 | | |
| |||
1287 | 1289 | | |
1288 | 1290 | | |
1289 | 1291 | | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
1290 | 1306 | | |
1291 | 1307 | | |
1292 | 1308 | | |
| |||
1739 | 1755 | | |
1740 | 1756 | | |
1741 | 1757 | | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
1742 | 1797 | | |
1743 | 1798 | | |
1744 | 1799 | | |
| |||
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
| |||
0 commit comments