Skip to content
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

Behavioral targeting event store queries #5226

Merged
merged 6 commits into from
Nov 7, 2022

Conversation

jeddai
Copy link
Member

@jeddai jeddai commented Nov 3, 2022

This PR adds a method to query into the event store. This will be used to find core active users, as well as users meeting other behavior criteria.

#5206 must be merged first.

EXP-2643

Pull Request checklist

  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGES_UNRELEASED.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due dilligence applied in selecting them.

Branch builds: add [ac: android-components-branch-name] and/or [fenix: fenix-branch-name] to the PR title.

@jeddai jeddai changed the title Behavior targeting event store queries Behavioral targeting event store queries Nov 3, 2022
@jeddai jeddai force-pushed the behavior-targeting-event-store-queries branch from 77aa9d2 to 55b8983 Compare November 4, 2022 13:42
@jeddai jeddai marked this pull request as ready for review November 4, 2022 13:43
@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2022

Codecov Report

Base: 41.89% // Head: 42.69% // Increases project coverage by +0.79% 🎉

Coverage data is based on head (47fe86f) compared to base (a07a3b7).
Patch coverage: 96.87% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5226      +/-   ##
==========================================
+ Coverage   41.89%   42.69%   +0.79%     
==========================================
  Files         173      174       +1     
  Lines       13267    13464     +197     
==========================================
+ Hits         5558     5748     +190     
- Misses       7709     7716       +7     
Impacted Files Coverage Δ
components/nimbus/src/tests/test_behavior.rs 96.76% <96.76%> (ø)
components/nimbus/src/behavior.rs 91.77% <97.67%> (-2.31%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@travis79 travis79 left a comment

Choose a reason for hiding this comment

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

Looking good!

components/nimbus/src/behavior.rs Show resolved Hide resolved
components/nimbus/src/tests/test_behavior.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@jhugman jhugman left a comment

Choose a reason for hiding this comment

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

Drive by review: this is looking good. I have a few questions, but I won't stand in the way with another review cycle.

Great job!

components/nimbus/src/behavior.rs Show resolved Hide resolved
components/nimbus/src/tests/test_behavior.rs Outdated Show resolved Hide resolved
components/nimbus/src/behavior.rs Show resolved Hide resolved
components/nimbus/src/behavior.rs Show resolved Hide resolved
components/nimbus/src/tests/test_behavior.rs Show resolved Hide resolved
components/nimbus/src/tests/test_behavior.rs Show resolved Hide resolved
components/nimbus/src/behavior.rs Outdated Show resolved Hide resolved
components/nimbus/src/tests/test_behavior.rs Show resolved Hide resolved
@jeddai jeddai merged commit 7247ec0 into mozilla:main Nov 7, 2022
mhammond pushed a commit to mhammond/application-services that referenced this pull request Nov 14, 2022
* add behavior event store query method
* update test behavior to correctly use new methods
* adjust query method and tests based on feedback
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