[Task]: Switch to indexing by Add-on ID in Pinguino

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Domain
backend

Research direction

Start with the Pinguino query code and the discussion linked from the issue to identify where add-on slugs are used as query indexes. Trace how add-on IDs are available at those points, then update the indexing to use IDs. Done when the relevant queries no longer depend on slugs; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Description

component:pinguino_devhub
Description

From https://github.com/mozilla/addons-server/pull/25820#discussion_r4642433823

Currently, Pinguino is using add-on slugs for its queries, which introduces alot of edge cases irt the ability to change slugs.

Acceptance Criteria
  • Switch away from using slugs and use IDs to index queries.

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