[Task]: Implement new add-on and version statuses

Open
#16,641 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 reading the linked proposal and tracing how the new devhub gets add-on and version statuses from the API. The issue says the API lacks enough information to distinguish superseded versions from scanner rejections or add-on disablement, but gives no files, tests, or complete acceptance criteria. Done means implementing the proposed statuses and displaying “Superseded” for versions awaiting review when a newer listed version is submitted.

Written by the indexing model from the issue text.

Description

needs:info
Description

We should implement new add-on and version statuses as proposed in https://docs.google.com/document/d/1zCE87wKHZBv0O8h9r8mfd9pPGeJex7wSrA0Ss2J7ckw/edit?tab=t.ikz0h4u9xowg in new devhub.

Notably, "Superseded" should be displayed for listed versions that were awaiting review when a new listed version was submitted - currently that is not implemented, the API doesn't return enough info to distinguish a superseded version from a version rejected by scanners, or disabled because the entire add-on got disabled (though we could cheat for that and look at the add-on status), or actually superseded.

Acceptance Criteria
  • item 1

┆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.