|
| 1 | +# SPDX-License-Identifier: MPL-2.0 |
| 2 | +# Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> |
| 3 | +name: 🐛 Bug report |
| 4 | +description: Something is broken or behaves incorrectly. |
| 5 | +title: "[Bug]: " |
| 6 | +labels: ["bug", "triage"] |
| 7 | +body: |
| 8 | + - type: markdown |
| 9 | + attributes: |
| 10 | + value: | |
| 11 | + Thanks for taking the time to file a bug. A good report is reproducible: |
| 12 | + the smaller and more deterministic the repro, the faster it gets fixed. |
| 13 | +
|
| 14 | + - type: textarea |
| 15 | + id: summary |
| 16 | + attributes: |
| 17 | + label: Summary |
| 18 | + description: A clear, concise description of what the bug is. |
| 19 | + placeholder: When I do X, Y happens instead of Z. |
| 20 | + validations: |
| 21 | + required: true |
| 22 | + |
| 23 | + - type: textarea |
| 24 | + id: reproduction |
| 25 | + attributes: |
| 26 | + label: Steps to reproduce |
| 27 | + description: Minimal, deterministic steps. Include exact commands and inputs. |
| 28 | + placeholder: | |
| 29 | + 1. Go to '...' |
| 30 | + 2. Run command '...' |
| 31 | + 3. See error |
| 32 | + value: | |
| 33 | + 1. |
| 34 | + 2. |
| 35 | + 3. |
| 36 | + validations: |
| 37 | + required: true |
| 38 | + |
| 39 | + - type: textarea |
| 40 | + id: expected |
| 41 | + attributes: |
| 42 | + label: Expected behaviour |
| 43 | + placeholder: I expected X to happen. |
| 44 | + validations: |
| 45 | + required: true |
| 46 | + |
| 47 | + - type: textarea |
| 48 | + id: actual |
| 49 | + attributes: |
| 50 | + label: Actual behaviour |
| 51 | + description: What actually happened. Paste full error output where possible. |
| 52 | + placeholder: Instead, Y happened. |
| 53 | + validations: |
| 54 | + required: true |
| 55 | + |
| 56 | + - type: textarea |
| 57 | + id: logs |
| 58 | + attributes: |
| 59 | + label: Logs / backtrace |
| 60 | + description: Relevant logs or stack traces. This is rendered as code, so no backticks needed. |
| 61 | + render: shell |
| 62 | + validations: |
| 63 | + required: false |
| 64 | + |
| 65 | + - type: dropdown |
| 66 | + id: severity |
| 67 | + attributes: |
| 68 | + label: Severity |
| 69 | + options: |
| 70 | + - Low (cosmetic / minor inconvenience) |
| 71 | + - Medium (impaired, workaround exists) |
| 72 | + - High (major functionality broken) |
| 73 | + - Critical (data loss, security, total failure) |
| 74 | + validations: |
| 75 | + required: true |
| 76 | + |
| 77 | + - type: input |
| 78 | + id: version |
| 79 | + attributes: |
| 80 | + label: Version / commit |
| 81 | + placeholder: "e.g. v1.2.3, commit abc1234, main@HEAD" |
| 82 | + validations: |
| 83 | + required: true |
| 84 | + |
| 85 | + - type: input |
| 86 | + id: env |
| 87 | + attributes: |
| 88 | + label: Environment |
| 89 | + description: OS, runtime, and toolchain versions relevant to the bug. |
| 90 | + placeholder: "e.g. Fedora 43 / WSL2, Idris2 0.7, Rust 1.87, Guix on Foreign Distro" |
| 91 | + validations: |
| 92 | + required: false |
| 93 | + |
| 94 | + - type: textarea |
| 95 | + id: additional |
| 96 | + attributes: |
| 97 | + label: Additional context |
| 98 | + validations: |
| 99 | + required: false |
| 100 | + |
| 101 | + - type: checkboxes |
| 102 | + id: checklist |
| 103 | + attributes: |
| 104 | + label: Before submitting |
| 105 | + options: |
| 106 | + - label: I searched existing issues and this is not a duplicate. |
| 107 | + required: true |
| 108 | + - label: I am on a supported version (latest main or a tagged release). |
| 109 | + required: false |
| 110 | + - label: I would be willing to open a PR to fix this. |
| 111 | + required: false |
0 commit comments