[llvm-dev] [RFC] LLVM bug lifecycle BoF (original) (raw)

Kristof Beyls via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 4 02:55:25 PDT 2018


Hi all,

I’d like to share a few thoughts and analysis results on the LLVM bug life cycle, especially the reporting/triaging part.

As one of the few people creating llvm bugzilla accounts when people request an account, I started to have a feel that many reported bugs, especially by first-time reporters, never get any reply or feedback, let alone be acted on. If people go through the effort of requesting an account, and then reporting the bug, they show motivation to contribute to the project. However, if then they see zero return on their effort spent, even if it’s just a confirmation of the bug indeed being real or an explanation of what they thought to be a bug isn’t actually a bug, I fear as a community we disincentify a large number of potential long-term contributors.

The above was all based on gut feel, so I tried to gather a bit more data to see if my feel was correct or not. I scraped the bugs in bugzilla and post-processed them a bit. Below is a chart showing, year by year, how long it takes for a reported bug to get any comment from anyone besides to original reporter. If the bug is still open and didn’t have any reaction after half a year the chart categorizes is as an “infinite” response time.

[cid:DC7C978D-FC04-470F-BAAE-CC5C623999F0] It shows that in recent years the chance of never getting a response to a bug report has been increasing. For some bugs - e.g. an experienced LLVM developer records a not-that-important bug in bugzilla - that may be just fine. However, I assume that for people reporting a bug for the first time, the majority may look at least for confirmation that what they reported is actually a bug. The chart shows (blue bars) that about 50% of first-time bug reporters never get any reply.

I also plotted which components get the most reported bugs that don’t get any reaction and remain open: [cid:130482D2-6DEF-4796-84EC-2968F16B635C] The percentage at the top of the bars is the percentage of bugs against that component that never get any reaction. The bar height shows the absolute numbers.

I hope that at the “Lifecycle of LLVM bug reports” BoF at the upcoming dev meeting in San Jose (https://llvmdev18.sched.com/event/H2T3, 17th of October, 10.30am), we can discuss what could be done to improve the experience for first-time reporters and also to reduce the number of bug reports that seemingly get ignored completely. By sending this email, I hope to trigger discussion before the BoF, both by attendees and non-attendees, so that we have a more fruitful outcome.

At first sight, to me, it seems that the following actions would help:

Thanks,

Kristof

-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181004/14445640/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: llvmbugs_triage_response_time.png Type: image/png Size: 30609 bytes Desc: llvmbugs_triage_response_time.png URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181004/14445640/attachment-0002.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: llvmbugs_component_response_rate.png Type: image/png Size: 46056 bytes Desc: llvmbugs_component_response_rate.png URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181004/14445640/attachment-0003.png>



More information about the llvm-dev mailing list