Skip to content

[flags] FFL-1185 generate ExposureEvent from schema#2957

Merged
jonathanmos merged 1 commit into
feature/feature-flaggingfrom
jmoskovich/ffl-1185/code-health
Oct 23, 2025
Merged

[flags] FFL-1185 generate ExposureEvent from schema#2957
jonathanmos merged 1 commit into
feature/feature-flaggingfrom
jmoskovich/ffl-1185/code-health

Conversation

@jonathanmos

@jonathanmos jonathanmos commented Oct 21, 2025

Copy link
Copy Markdown
Member

What does this PR do?

Replace the hardcoded ExposureEvent with one generated from a json schema. This follows more closely our pattern for events.

To generate the ExposureEvent:

./gradlew :features:dd-sdk-android-flags:generateFlagsModelsFromJson

Motivation

What inspired you to submit this pull request?

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)

@codecov-commenter

codecov-commenter commented Oct 21, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.81%. Comparing base (fda13c9) to head (68674d9).
⚠️ Report is 165 commits behind head on feature/feature-flagging.

Additional details and impacted files
@@                     Coverage Diff                      @@
##           feature/feature-flagging    #2957      +/-   ##
============================================================
- Coverage                     70.87%   70.81%   -0.06%     
============================================================
  Files                           841      840       -1     
  Lines                         30577    30550      -27     
  Branches                       5168     5168              
============================================================
- Hits                          21670    21632      -38     
- Misses                         7447     7450       +3     
- Partials                       1460     1468       +8     
Files with missing lines Coverage Δ
.../android/flags/internal/ExposureEventsProcessor.kt 100.00% <100.00%> (ø)
...lags/internal/storage/ExposureEventRecordWriter.kt 100.00% <100.00%> (ø)
...android/flags/internal/storage/NoOpRecordWriter.kt 100.00% <ø> (ø)

... and 39 files with indirect coverage changes

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

@jonathanmos
jonathanmos marked this pull request as ready for review October 21, 2025 14:52
@jonathanmos
jonathanmos requested review from a team as code owners October 21, 2025 14:52
@jonathanmos
jonathanmos force-pushed the jmoskovich/ffl-1185/code-health branch from f1f1116 to 68674d9 Compare October 22, 2025 08:07
0xnm
0xnm previously approved these changes Oct 22, 2025
Base automatically changed from typo/FFL-1184-resolve-value-method to feature/feature-flagging October 22, 2025 17:15
@typotter
typotter dismissed stale reviews from 0xnm and aleksandr-gringauz October 22, 2025 17:15

The base branch was changed.

@jonathanmos
jonathanmos merged commit 40665ce into feature/feature-flagging Oct 23, 2025
24 checks passed
@jonathanmos
jonathanmos deleted the jmoskovich/ffl-1185/code-health branch October 23, 2025 07:39
This was referenced Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants