Skip to content

[Flags] feat: Add Openfeature Flags to test app.#3130

Merged
dd-mergequeue[bot] merged 12 commits into
feature/flags-ofeatfrom
typo/test-app-of-flags
Jan 20, 2026
Merged

[Flags] feat: Add Openfeature Flags to test app.#3130
dd-mergequeue[bot] merged 12 commits into
feature/flags-ofeatfrom
typo/test-app-of-flags

Conversation

@typotter

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR adds a screen for the OpenFeature Flagging Feature

Motivation

Allows testing and verification of the module.

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jan 16, 2026

Copy link
Copy Markdown

🎯 Code Coverage
Patch Coverage: 100.00%
Overall Coverage: 65.95% (-3.00%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 8f5ccaf | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@codecov-commenter

codecov-commenter commented Jan 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.86%. Comparing base (6291697) to head (8f5ccaf).

Additional details and impacted files
@@                   Coverage Diff                   @@
##           feature/flags-ofeat    #3130      +/-   ##
=======================================================
- Coverage                70.87%   70.86%   -0.01%     
=======================================================
  Files                      899      899              
  Lines                    33138    33138              
  Branches                  5592     5592              
=======================================================
- Hits                     23485    23483       -2     
+ Misses                    8091     8089       -2     
- Partials                  1562     1566       +4     

see 30 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@typotter typotter changed the title feat: Add Openfeature Flags to test app. [Flags] feat: Add Openfeature Flags to test app. Jan 16, 2026
@typotter
typotter marked this pull request as ready for review January 16, 2026 22:48
@typotter
typotter requested a review from a team as a code owner January 16, 2026 22:48
@typotter
typotter changed the base branch from feature/flags-ofeat to typo/add-static-resolution-reason-ofeat January 17, 2026 00:00
@typotter
typotter force-pushed the typo/test-app-of-flags branch from 91c7644 to 2b93324 Compare January 17, 2026 00:00

// Set evaluation context on OpenFeatureAPI (provider forwards to FlagsClient)
val preferences = Preferences.defaultPreferences(this)
val userId = preferences.getUserId() ?: "anonymous-${System.currentTimeMillis()}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a scale anonymous-${System.currentTimeMillis()} would lead to the two different users having a same ID in case this was called the same timestamp.

So maybe it is better just to use UUID.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Changed to uuid and added some more explanatory comments for developers

if (BuildConfig.DD_OVERRIDE_RUM_URL.isNotBlank()) {
useCustomEndpoint(BuildConfig.DD_OVERRIDE_RUM_URL)
}
private fun createRumConfiguration(): RumConfiguration = RumConfiguration.Builder(BuildConfig.DD_RUM_APPLICATION_ID)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: seems like it is unnecessary change

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed.

@typotter

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jan 19, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-01-19 18:13:57 UTC ℹ️ Start processing command /merge


2026-01-19 18:14:01 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in typo/add-static-resolution-reason-ofeat is approximately 0s (p90).


2026-01-19 18:25:38 UTCMergeQueue: This merge request was updated

This PR is rejected because it was updated

@typotter

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jan 19, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-01-19 18:26:11 UTC ℹ️ Start processing command /merge


2026-01-19 18:26:14 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in typo/add-static-resolution-reason-ofeat is approximately 0s (p90).


2026-01-19 18:26:56 UTC ⚠️ MergeQueue: This merge request build was cancelled

[email protected] cancelled this merge request build

@typotter

Copy link
Copy Markdown
Contributor Author

/merge --cancel

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jan 19, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-01-19 18:26:49 UTC ℹ️ Start processing command /merge --cancel

0xnm
0xnm previously approved these changes Jan 19, 2026
Base automatically changed from typo/add-static-resolution-reason-ofeat to feature/flags-ofeat January 19, 2026 18:49
@dd-mergequeue
dd-mergequeue Bot dismissed 0xnm’s stale review January 19, 2026 18:49

The base branch was changed.

@typotter

Copy link
Copy Markdown
Contributor Author

thanks, and sorry @0xnm
I'll need another stamp after merging the stacked base branch, please and thank you

@typotter
typotter requested a review from 0xnm January 19, 2026 18:50
@typotter

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jan 19, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-01-19 18:51:14 UTC ℹ️ Start processing command /merge


2026-01-19 18:51:19 UTC ℹ️ MergeQueue: waiting for PR to be ready

This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
It will be added to the queue as soon as checks pass and/or get approvals. View in MergeQueue UI.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2026-01-19 22:52:05 UTC ⚠️ MergeQueue: This merge request was unqueued

devflow unqueued this merge request: It did not become mergeable within the expected time

@typotter

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Jan 20, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-01-20 03:31:21 UTC ℹ️ Start processing command /merge


2026-01-20 03:31:25 UTC ℹ️ MergeQueue: waiting for PR to be ready

This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
It will be added to the queue as soon as checks pass and/or get approvals. View in MergeQueue UI.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2026-01-20 06:55:07 UTC ℹ️ MergeQueue: merge request added to the queue

The expected merge time in feature/flags-ofeat is approximately 1h (p90).


2026-01-20 07:47:50 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue
dd-mergequeue Bot merged commit 2c44cf4 into feature/flags-ofeat Jan 20, 2026
27 checks passed
@dd-mergequeue
dd-mergequeue Bot deleted the typo/test-app-of-flags branch January 20, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants