Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Make Bugzilla.follow_dup accept both a bug ID or a bug object as its parameter

Open Beginner friendly
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start by locating Bugzilla.follow_dup and reviewing its current parameter handling, then inspect stability/crashes.py around line 178 to understand the existing caller. Done means the method accepts either a bug ID or a bug object and avoids an unnecessary query when the object already has resolution and dupe_of; verify the relevant behavior with the project's available tests.

Written by the indexing model from the issue text.

Description

performance

This way when we already have a bug object with the required properties (resolution, dupe_of, etc.), we can avoid an unneeded query.

This optimization would be useful in the code to get the top crashes and related bugs here: https://github.com/calixteman/clouseau/blob/6a3d58887967093b6cfb06268feebc8822922a77/clouseau/stability/crashes.py#L178.

Dominant language
Python
Stars
12
Forks
19
Avg merge
1d 17h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

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/libmozdata

All issues in mozilla/libmozdata

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.