|
| 1 | +name: Bug Report |
| 2 | +description: Raise an issue for something that is stopping CodeCompanion from working as expected |
| 3 | +title: "[Bug]: " |
| 4 | +labels: ["bug"] |
| 5 | + |
| 6 | +body: |
| 7 | + - type: markdown |
| 8 | + attributes: |
| 9 | + value: | |
| 10 | + **Before** reporting an issue, make sure to read the [documentation](https://codecompanion.olimorris.dev) and search [existing issues](https://github.com/olimorris/codecompanion.nvim/issues) |
| 11 | +
|
| 12 | + **What is a bug?** |
| 13 | + - A bug is a reproducible error that causes CodeCompanion to behave incorrectly, crash, or not work as documented |
| 14 | + - Minor cosmetic issues (such as extra line breaks or formatting quirks) are not considered bugs unless they impact usability or readability. Please PR any of these changes yourself |
| 15 | + - Feature requests, usage questions, or configuration help should go to [Discussions](https://github.com/olimorris/codecompanion.nvim/discussions) |
| 16 | +
|
| 17 | + > [!IMPORTANT] |
| 18 | + > If you don't supply a valid `minimal.lua` your issue will be closed |
| 19 | +
|
| 20 | + - type: checkboxes |
| 21 | + attributes: |
| 22 | + label: Pre-submission checklist |
| 23 | + description: Please confirm all of the following before submitting |
| 24 | + options: |
| 25 | + - label: I have read the [documentation](https://codecompanion.olimorris.dev) |
| 26 | + required: true |
| 27 | + - label: I have updated the plugin and all dependencies to the latest versions |
| 28 | + required: true |
| 29 | + - label: I have searched for existing [issues](https://github.com/olimorris/codecompanion.nvim/issues) and [discussions](https://github.com/olimorris/codecompanion.nvim/discussions) |
| 30 | + required: true |
| 31 | + - label: My issue is not a minor or cosmetic quirk (e.g., formatting, spacing, or other non-functional details) |
| 32 | + required: true |
| 33 | + |
| 34 | + - type: input |
| 35 | + attributes: |
| 36 | + label: "Neovim version (nvim -v)" |
| 37 | + placeholder: "0.8.0 commit db1b0ee3b30f" |
| 38 | + validations: |
| 39 | + required: true |
| 40 | + |
| 41 | + - type: input |
| 42 | + attributes: |
| 43 | + label: "Operating system/version" |
| 44 | + placeholder: "macOS 14.4, Ubuntu 22.04, Windows 11" |
| 45 | + validations: |
| 46 | + required: true |
| 47 | + |
| 48 | + - type: input |
| 49 | + attributes: |
| 50 | + label: "Adapter and model" |
| 51 | + placeholder: "Copilot and GPT-4.1" |
| 52 | + validations: |
| 53 | + required: true |
| 54 | + |
| 55 | + - type: textarea |
| 56 | + attributes: |
| 57 | + label: Describe the bug |
| 58 | + description: | |
| 59 | + A clear and concise description of the problem |
| 60 | + Include any error messages or unexpected behavior you observe |
| 61 | + placeholder: | |
| 62 | + When I do X ... |
| 63 | + I observe Y ... |
| 64 | + But I expect Z ... |
| 65 | + validations: |
| 66 | + required: true |
| 67 | + |
| 68 | + - type: textarea |
| 69 | + attributes: |
| 70 | + label: Steps to reproduce |
| 71 | + description: | |
| 72 | + List the steps to reproduce the issue |
| 73 | + Be as minimal and precise as possible |
| 74 | + placeholder: | |
| 75 | + 1. Open Neovim with the provided minimal.lua |
| 76 | + 2. ... |
| 77 | + 3. ... |
| 78 | + validations: |
| 79 | + required: true |
| 80 | + |
| 81 | + - type: textarea |
| 82 | + attributes: |
| 83 | + label: Expected behavior |
| 84 | + description: What do you expect to happen? |
| 85 | + placeholder: | |
| 86 | + I expected ... |
| 87 | + validations: |
| 88 | + required: true |
| 89 | + |
| 90 | + - type: textarea |
| 91 | + attributes: |
| 92 | + label: Screenshots or recordings (optional) |
| 93 | + description: If applicable, add screenshots or a screen recording to help explain your problem |
| 94 | + validations: |
| 95 | + required: false |
| 96 | + |
| 97 | + - type: markdown |
| 98 | + attributes: |
| 99 | + value: | |
| 100 | + ## Reproduce the issue |
| 101 | +
|
| 102 | + - Please provide a `minimal.lua` file that reproduces the issue |
| 103 | + - I'm a solo maintainer, so making my life easy means a lot |
| 104 | + - Preferably use the one [here](https://github.com/olimorris/codecompanion.nvim/blob/main/minimal.lua) |
| 105 | + - Save it as `minimal.lua` and run with `nvim -u minimal.lua` |
| 106 | + - All files will be downloaded to a `.repro` folder in your current working directory |
| 107 | +
|
| 108 | + - type: textarea |
| 109 | + attributes: |
| 110 | + label: minimal.lua file |
| 111 | + render: lua |
| 112 | + validations: |
| 113 | + required: true |
| 114 | + |
| 115 | + - type: textarea |
| 116 | + attributes: |
| 117 | + label: Log output (optional) |
| 118 | + description: | |
| 119 | + Share the output from `.repro/state/nvim/codecompanion.log` if available |
| 120 | + Please redact any sensitive information |
| 121 | + validations: |
| 122 | + required: false |
| 123 | + |
| 124 | + - type: checkboxes |
| 125 | + attributes: |
| 126 | + label: Minimal reproduction confirmation |
| 127 | + description: I have provided and tested with a `minimal.lua` file as described above |
| 128 | + options: |
| 129 | + - label: Yes, I have tested and provided a `minimal.lua` file that reproduces the issue |
| 130 | + required: true |
0 commit comments