Make Bugzilla.follow_dup accept both a bug ID or a bug object as its parameter
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/libmozdata
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mozilla/libmozdata#306 ·
-
mozilla/libmozdata#267 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mozilla/libmozdata#266 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
mozilla/libmozdata#260 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
mozilla/libmozdata#254 ·
All issues in mozilla/libmozdata
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
huggingface/Repo2RLEnv#163 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
NousResearch/hermes-agent#121143 ·