mozilla / mozilla/bugbug

Silent failures when receiving unexpected data schemas in bug sanitization process

Open
#5,859 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

mcp
Dominant language
Python
Stars
570
Forks
351
Avg merge
2d 13h
Merged PRs (30d)
65

Description

Unfortunately, the Bugzilla API may return a 200 response when a request is blocked by Fastly, which can lead to silent errors.

Examples where silent error could happen:

https://github.com/mozilla/bugbug/blob/f2323b67b1239b92cfda524eea321724d13138b4/bugbug/tools/core/platforms/bugzilla.py#L86

https://github.com/mozilla/bugbug/blob/f2323b67b1239b92cfda524eea321724d13138b4/bugbug/tools/core/platforms/bugzilla.py#L95

Contributor guide

Open the 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.

Research direction

Start by reading bugbug/tools/core/platforms/bugzilla.py around lines 86 and 95, then trace how Bugzilla responses are consumed by the sanitization process. Determine how unexpected schemas or blocked 200 responses should be detected, and verify that these cases no longer fail silently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.