Skip to content

Commit 1d180af

Browse files
committed
chore: require bug reporters to verify against latest main
Add a required checkbox to the bug report template asking reporters to confirm the issue still occurs when built from the latest main branch. This reduces duplicate reports for bugs that have already been fixed but not yet released. Also update the version field label to clarify that the commit hash from `phpantom_lsp --version` is expected when built from source.
1 parent 0eda82f commit 1d180af

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,26 @@ body:
77
value: |
88
Thanks for taking the time to report a bug! Please fill out the sections below so we can reproduce and fix the issue quickly.
99
10+
**Before submitting**, please verify that the bug still occurs on the latest `main` branch. PHPantom is under active development and the issue may already be fixed. You can install the latest `main` with:
11+
12+
```
13+
cargo install --git https://github.com/PHPantom-dev/phpantom_lsp --branch main phpantom_lsp
14+
```
15+
16+
- type: checkboxes
17+
id: latest-version
18+
attributes:
19+
label: Verified on latest main
20+
options:
21+
- label: I have confirmed this bug still occurs when built from the latest `main` branch.
22+
required: true
23+
1024
- type: input
1125
id: version
1226
attributes:
13-
label: PHPantom version
27+
label: PHPantom version / commit
1428
description: |
15-
Paste the output of `phpantom_lsp --version`. This prints the exact release tag or commit hash.
29+
Paste the output of `phpantom_lsp --version`. When built from source this includes the commit hash (e.g. `0.9.0-14-g3fdd93b`).
1630
validations:
1731
required: true
1832

0 commit comments

Comments
 (0)