2493 reauth flow toolbar #2780
2493 reauth flow toolbar #2780
Conversation
Request for data collection review form
|
@liuche please data review #2780 (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.
I'm concerned that we have the potential to block the main thread: let's discuss.
app/src/main/java/org/mozilla/tv/firefox/telemetry/TelemetrySettingsProvider.kt
Outdated
Show resolved
Hide resolved
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.
lgtm w/ nits.
app/src/main/java/org/mozilla/tv/firefox/navigationoverlay/NavigationOverlayFragment.kt
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #2780 +/- ##
=========================================
Coverage ? 52.71%
Complexity ? 467
=========================================
Files ? 117
Lines ? 3428
Branches ? 446
=========================================
Hits ? 1807
Misses ? 1473
Partials ? 148
Continue to review full report at Codecov.
|
It was noticed that we had no good guarantee about when our settings ping would be sent (especially after we eventually migrate to Glean), meaning we could miss important information. For example, if sent on startup, 0% of users would be authenticated because the call would not yet be completed. Instead we chose to send all FxA state changes, but to narrow them down to 'Needs Reauth == true/false', to be as lean as possible. We are also debouncing this ping, to cut down on redundant information. See FxaRepo#setupTelemetry for details
This had not yet been merged to master.
b9e5ddf
to
2e97cbb
Compare
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.
Data Review Form (to be filled by Data Stewards)
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes, in telemetry.md
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, FFTV data settings
- If the request is for permanent data collection, is there someone who will monitor the data over time?
@athomasmoz will monitor, and we will check in every 6mo
- Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Type 2, Type 1: interaction with the Accounts button, as well as the account state
- Is the data collection request for default-on or default-off?
Default on
- Does the instrumentation include the addition of any new identifiers (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?
No, click event and boolean of account state
- Is the data collection covered by the existing Firefox privacy notice?
Yes
- Does there need to be a check-in in the future to determine whether to renew the data? (Yes/No) (If yes, set a todo reminder or file a bug if appropriate)**
6mo
- Does the data collection use a third-party collection tool?
No
@@ -104,6 +106,8 @@ This value existed from v3.2+, but is intended for removal. For versions after v | |||
|
|||
(***)The tile_id is only collected for bundled tiles. | |||
|
|||
(****)This probe is sent any time the user's FxA sign in state changes (debounced to avoid sending redundant pings). `boolean` will be `true` if the user requires reauthentication, or `false` otherwise |
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.
Might be more clear if we list what states could lead to false
- though that could also change. Maybe explain it's FxA states, which include X, Y, Z?
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.
Oh whoops, I merged before I noticed this. I'll open a small PR to make that change and tag you.
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.
Opened #2795
Checklist
qa-ready
orqa-notneeded
)