Firefox/SHIELD: Difference between revisions
No edit summary |
(→Status) |
||
Line 5: | Line 5: | ||
* '''Product Manager''': Matt Grimes [:Matt_G] | * '''Product Manager''': Matt Grimes [:Matt_G] | ||
* '''Development''': Michael Cooper [:mythmon], Michael Kelly [:Osmose], Support Engineering | * '''Development''': Michael Cooper [:mythmon], Michael Kelly [:Osmose], Support Engineering | ||
* '''Status''': Planning | * '''Status''': Planning / Implementation | ||
* '''Scheduled for''': 2016 q1 and q2 | * '''Scheduled for''': 2016 q1 and q2 | ||
* ''' | |||
=== Technical Links === | |||
* [[Firefox/SHIELD/DevelopmentPlan|Development Plan]] | |||
* '''User Stories''' | |||
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1233804 Fixing Known Addressable Issues] | |||
* '''Recipe Server''' | |||
** [https://github.com/mozilla/normandy Github Repository] | |||
** [http://normandy.readthedocs.org/en/latest/ Service Documentation] | |||
== Rationale == | == Rationale == |
Revision as of 19:31, 14 January 2016
SHIELD is a system that addresses user attrition and satisfaction in Firefox by providing a fast and powerful way for Firefox to respond to issues that users are experiencing.
Status
- Project Owner: Gregg Lind [:gregglind]
- Product Manager: Matt Grimes [:Matt_G]
- Development: Michael Cooper [:mythmon], Michael Kelly [:Osmose], Support Engineering
- Status: Planning / Implementation
- Scheduled for: 2016 q1 and q2
Technical Links
- Development Plan
- User Stories
- Recipe Server
Rationale
User configuration problems cause attrition. Common issues we've seen include:
- Search engine hijacking
- Homepage hijacking
- Misconfigured preferences
Currently, the tools that we have to respond to these issues are inadequate:
- One-off solutions aren't easily repeatable and require a lot of coordination.
- Hotfixes require a lot of people and time to build, review, and ship, and are shipped to everyone.
- Firefox Reset can fix many issues, but it's blunt (resets many things at once), hidden (so users don't accidentally trigger it), and user-driven.
Attackers causing these issues can move faster than us. To keep up, we need something new that can:
- Ship fixes outside of the trains, with a small amount of effort and time to ship
- Measure the effectiveness of fixes
- Target only affected users, control rollout, and make reverting easy
- Provide the power to fix things, but in a constrained, secure way
Solution
SHIELD addresses this problem with a client-side component that pulls potential fixes ("recipes") from a server ("recipe server") on a regular basis. The recipe server allows us to quickly control the delivery of recipes outside of the trains. The client-side component lets us constrain what actions are available to recipes for security purposes, and also provides a good point for testing the functionality of our fixes without removing our ability to ship fixes fast.
In the future, we can use the recipe server to serve up recipes that do more than just fix known issues, such as suggesting actions that improve user experience or collecting feedback from users.
Outcome
To be successful, SHIELD must:
- Decrease user attrition
- Increase usage
- Improve user experience
SHIELD will leverage the existing Telemetry system to measure our progress on these goals.
History
- June 2014 - mconner files a tracker bug for enhancing FHR to proactively detect and solve problems for users.
- December 2014 - bsmedberg files bug 1111016 for implementing the smallest-possible set of changes necessary to support Heartbeat (a prompt shown to users asking them to rate Firefox) and Self-Repair (a minimal version of the problem-solving functionality, described in detail in dependent bugs).
- Early 2015
- UITour is enhanced to support Heartbeat prompts, sending user responses to input.mozilla.org.
- Self-Repair is implemented as a set of static files hosted on AWS that Firefox retrieves.
- Late 2015 - Self Repair is renamed to Shield since the project covers more than just repairing Firefox. The name covers the server that deploys configuration files (recipes) and the in-product component that executes the recipe.
- Example 1: The Shield server deploys a recipe to a client indicating that the user should be included in the daily Heartbeat sample. The in-product component responds by offering the Heartbeat prompt.
- Example 2: The Shield server matches a “preference repair recipe” to the user configuration, and returns it. Firefox runs the recipe steps to fix the broken preference.