-
Notifications
You must be signed in to change notification settings - Fork 14
add additional exposure tests for ffe product to cover deduplication #5868
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
Open
leoromanovsky
wants to merge
6
commits into
main
Choose a base branch
from
lr/ffe-test-exposure-cache
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+512
−4
Conversation
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
Contributor
|
|
7 tasks
dd-oleksii
added a commit
to DataDog/dd-trace-py
that referenced
this pull request
Dec 18, 2025
## Description <!-- Provide an overview of the change and motivation for the change --> This fixes feature flags exposure logging according to [requirements](https://datadoghq.atlassian.net/wiki/spaces/PANA/pages/5906009399/FFE+SDK+requirements) and [new system tests](DataDog/system-tests#5868). ## Testing <!-- Describe your testing strategy or note what tests are included --> Updated python tests but haven't tested with system tests. ## Risks <!-- Note any risks associated with this change, or "None" if no risks --> I guess none ## Additional Notes <!-- Any other information that would be helpful for reviewers --> --------- Co-authored-by: Leo Romanovsky <[email protected]>
leoromanovsky
added a commit
to DataDog/dd-trace-py
that referenced
this pull request
Dec 18, 2025
<!-- Provide an overview of the change and motivation for the change --> This fixes feature flags exposure logging according to [requirements](https://datadoghq.atlassian.net/wiki/spaces/PANA/pages/5906009399/FFE+SDK+requirements) and [new system tests](DataDog/system-tests#5868). <!-- Describe your testing strategy or note what tests are included --> Updated python tests but haven't tested with system tests. <!-- Note any risks associated with this change, or "None" if no risks --> I guess none <!-- Any other information that would be helpful for reviewers --> --------- Co-authored-by: Leo Romanovsky <[email protected]> (cherry picked from commit 1dcf5d1)
leoromanovsky
added a commit
to DataDog/dd-trace-py
that referenced
this pull request
Dec 18, 2025
…5714) <!-- Provide an overview of the change and motivation for the change --> This fixes feature flags exposure logging according to [requirements](https://datadoghq.atlassian.net/wiki/spaces/PANA/pages/5906009399/FFE+SDK+requirements) and [new system tests](DataDog/system-tests#5868). <!-- Describe your testing strategy or note what tests are included --> Updated python tests but haven't tested with system tests. <!-- Note any risks associated with this change, or "None" if no risks --> I guess none <!-- Any other information that would be helpful for reviewers --> --------- (cherry picked from commit 1dcf5d1) ## Description <!-- Provide an overview of the change and motivation for the change --> ## Testing <!-- Describe your testing strategy or note what tests are included --> ## Risks <!-- Note any risks associated with this change, or "None" if no risks --> ## Additional Notes <!-- Any other information that would be helpful for reviewers --> Co-authored-by: Oleksii Shmalko <[email protected]>
1a6d23e to
39dd02c
Compare
39dd02c to
92b8da1
Compare
Base automatically changed from
ffl-1320-add-feature-flags-to-weblog
to
main
December 19, 2025 03:21
dd-oleksii
reviewed
Dec 19, 2025
utils/build/docker/ruby/rails72/app/controllers/open_feature_controller.rb
Outdated
Show resolved
Hide resolved
2849bc8 to
e427aba
Compare
cbeauchesne
reviewed
Dec 19, 2025
a8c948f to
c1592cf
Compare
- Add test_exposures.py with tests for FFE exposure event caching and deduplication - Add /ffe/start endpoint to Ruby rails72 weblog to initialize OpenFeature provider - Update routes from /ffe to /ffe/start and /ffe/evaluate - Fix typos in comments (FFL -> FFE, "is have" -> "has") - Update python manifest version for exposure tests
leoromanovsky
added a commit
to DataDog/dd-trace-py
that referenced
this pull request
Dec 19, 2025
<!-- Provide an overview of the change and motivation for the change --> This fixes feature flags exposure logging according to [requirements](https://datadoghq.atlassian.net/wiki/spaces/PANA/pages/5906009399/FFE+SDK+requirements) and [new system tests](DataDog/system-tests#5868). <!-- Describe your testing strategy or note what tests are included --> Updated python tests but haven't tested with system tests. <!-- Note any risks associated with this change, or "None" if no risks --> I guess none <!-- Any other information that would be helpful for reviewers --> --------- Co-authored-by: Leo Romanovsky <[email protected]> (cherry picked from commit 1dcf5d1)
c1592cf to
b98f871
Compare
leoromanovsky
commented
Dec 19, 2025
utils/build/docker/ruby/rails72/app/controllers/open_feature_controller.rb
Show resolved
Hide resolved
dd-oleksii
reviewed
Dec 23, 2025
utils/build/docker/ruby/rails72/app/controllers/open_feature_controller.rb
Outdated
Show resolved
Hide resolved
# Conflicts: # manifests/python.yml
- Revert Python exposures test to bug (FFL-1623) since issue is still open - Use fetch_float_value instead of fetch_number_value in Ruby for consistency - Move UFC_EXPOSURE_DOLOG_FALSE_FIXTURE closer to Test_FFE_Exposure_DoLog_False
brettlangdon
pushed a commit
to DataDog/dd-trace-py
that referenced
this pull request
Jan 6, 2026
## Description <!-- Provide an overview of the change and motivation for the change --> This fixes feature flags exposure logging according to [requirements](https://datadoghq.atlassian.net/wiki/spaces/PANA/pages/5906009399/FFE+SDK+requirements) and [new system tests](DataDog/system-tests#5868). ## Testing <!-- Describe your testing strategy or note what tests are included --> Updated python tests but haven't tested with system tests. ## Risks <!-- Note any risks associated with this change, or "None" if no risks --> I guess none ## Additional Notes <!-- Any other information that would be helpful for reviewers --> --------- Co-authored-by: Leo Romanovsky <[email protected]>
Strech
approved these changes
Jan 6, 2026
Member
Strech
left a comment
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.
👏🏼
cbeauchesne
approved these changes
Jan 6, 2026
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.
Motivation
Through manual inspection we noticed some undesired behavior in a few SDKs around exposure deduplication and logging; following up on this investigation we found that the system tests were missing this core behavior validation and the individual trace sdks had inconsistent validation. Centralizing here is the best way to enforce the desired behavior.
Changes
Adds additional tests to cover the various conditions:
These SDKs need to be corrected before merging this system test:
4.0.2)2.5.0)Workflow
🚀 Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
[<language>], double-check that only<language>is impacted by the changebuild-XXX-imagelabel is present