[Task]: downscope which accounts AMO considers "active"

Open
#16,526 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Domain
backend

Research direction

Start by reviewing the linked AMOENG-2811 work and the current logic that determines which FxA accounts AMO reports as active; the issue does not name files or tests. Decide which account activity should qualify and for how long, then implement the agreed criteria and check whether the terms or developer agreement need updating.

Written by the indexing model from the issue text.

Description

Description

Part of https://mozilla-hub.atlassian.net/browse/AMOENG-2811 - where we sync a list of FxA accounts that AMO considers still active, even if they've not logged into FxA in 2 years, to prevent auto-deletion.

Our current definition of activeness is very broad, and aims to not delete any content. We should re-consider that - or at least make explicit decisions. Some ideas (in somewhat of a non-controversial-ness order):

  • don't consider ratings/reviews (i.e. if the account only rated add-ons, they can be deleted by FxA after 2 years of inactivity)
  • don't consider collections (i.e. if the account only created a collection, they can be deleted by FxA after 2 years of inactivity)
  • only consider add-ons with listed versions (i.e. if the account only uploaded unlisted versions, they can be deleted by FxA after 2 years of inactivity)
  • only consider add-ons that have a public listing (i.e. if the account doesn't have an approved listed version, and isn't disabled, they can be deleted by FxA after 2 years of inactivity)

We're also free to apply longer periods (e.g. still consider a user who created a collection active for 5 years after they last logged in)

Acceptance Criteria
  • Decide on what criteria we consider an AMO account active
  • Changes applied
  • (possibly t&c / developer agreement updated?)

┆Issue is synchronized with this Jira Task

Dominant language
Makefile
Stars
135
Forks
52
Avg merge
6d 18h
Merged PRs (30d)
7

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/addons

All issues in mozilla/addons

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.