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

Bug 1442326 - Do not filter Android sync event pings anymore #388

Merged
merged 1 commit into from Mar 1, 2018

Conversation

@eoger
Copy link
Contributor

@eoger eoger commented Mar 1, 2018

Firefox Android sends pings with appName: "Fennec".
Let's remove that filter on the SyncEventView and bring it in line with the other views.

@codecov-io
Copy link

@codecov-io codecov-io commented Mar 1, 2018

Codecov Report

Merging #388 into master will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #388      +/-   ##
==========================================
+ Coverage   69.34%   69.37%   +0.03%     
==========================================
  Files          46       46              
  Lines        3875     3873       -2     
  Branches      140      140              
==========================================
  Hits         2687     2687              
+ Misses       1188     1186       -2
Impacted Files Coverage Δ
...la/com/mozilla/telemetry/views/SyncEventView.scala 39.41% <ø> (+0.56%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b0a6c77...85d5de1. Read the comment docs.

Copy link
Contributor

@acmiyaguchi acmiyaguchi left a comment

This should be a bit more conservative to prevent reading through excess data.

@@ -72,8 +72,6 @@ object SyncEventView {
case "4" | "5" => true
}.where("docType") {
case "sync" => true
}.where("appName") {
case "Firefox" => true

This comment has been minimized.

@acmiyaguchi

acmiyaguchi Mar 1, 2018
Contributor

We may not want to include pings that get put into the OTHER bucket. I suggest using something like case "Firefox" | "Fennec".

@acmiyaguchi
Copy link
Contributor

@acmiyaguchi acmiyaguchi commented Mar 1, 2018

It seems like this is consistent with the rest of the sync code, so it looks good to me.

@acmiyaguchi acmiyaguchi merged commit f660af3 into mozilla:master Mar 1, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants