mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 23:08:36 +00:00
Titles start with their area: Area dropdown and title prefix in the issue forms, a benchmark form, a PR template line, a title-area workflow
This commit is contained in:
1 parent
1c4970b9ac
commit
046bdc83d9
6 files changed
+107
-3
No files matched your search
@@ -0,0 +1,26 @@
|
||||
name: Benchmark
|
||||
description: Share measurements from your machine, or report a problem with the benchmark tools
|
||||
title: "[Benchmark] "
|
||||
labels: ["benchmark"]
|
||||
body:
|
||||
- type: markdown
|
||||
value: |
|
||||
The title must start with **[Benchmark]**. Keep it, and add the GPU and model after it.
|
||||
|
||||
To share a full report, follow the [community benchmark guide](https://github.com/Niko1221/Strata/blob/main/docs/COMMUNITY_BENCHMARKS.md) and open a results-only pull request. The standard protocol is a [draft](https://github.com/Niko1221/Strata/blob/main/docs/BENCHMARK_PROTOCOL.md); existing tools do not implement it yet. Include poor results and failed requests.
|
||||
- type: textarea
|
||||
id: what
|
||||
attributes:
|
||||
label: What did you measure, or what went wrong
|
||||
description: Hardware (GPU and VRAM, CPU, RAM, OS), Strata version, model and quantization, the exact command, and the numbers. Paste the report or link the pull request.
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: reproduction-status
|
||||
attributes:
|
||||
label: Reproduction status
|
||||
options:
|
||||
- Measured locally
|
||||
- Unconfirmed (I did not run it)
|
||||
validations:
|
||||
required: true
|
||||
@@ -1,6 +1,6 @@
|
||||
name: Bug report
|
||||
description: Something in Strata doesn't work as documented
|
||||
title: "[Bug]: "
|
||||
title: "[Area] "
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: markdown
|
||||
@@ -10,6 +10,22 @@ body:
|
||||
Search the [open and closed issues](https://github.com/Niko1221/Strata/issues?q=is%3Aissue) first: this may already be tracked, and new evidence belongs in that thread.
|
||||
|
||||
Write only what you saw. Do not guess at steps, errors, hardware or severity.
|
||||
|
||||
**The title must start with its area:** [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. Choose the same one below.
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Area
|
||||
description: Start the issue title with the same area in square brackets, for example "[Engine] decode stops after 2 minutes". Pick Other if none fits.
|
||||
options:
|
||||
- "[Engine] (speed, kernels, models, the server and API)"
|
||||
- "[GUI] (the desktop app)"
|
||||
- "[TUI] (the Terminal: strata launch, connect, monitor)"
|
||||
- "[Benchmark] (measurements and reports)"
|
||||
- "[Docs] (documentation)"
|
||||
- "[Other] (anything else, including setup and installation)"
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: how
|
||||
attributes:
|
||||
|
||||
@@ -1,11 +1,27 @@
|
||||
name: Feature request
|
||||
description: Suggest something new or an improvement
|
||||
title: "[Feature]: "
|
||||
title: "[Area] "
|
||||
labels: ["enhancement"]
|
||||
body:
|
||||
- type: markdown
|
||||
value: |
|
||||
Explain what you want in plain language. For a large feature, a change to a default or a refactor, please agree the scope here first. Read [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
|
||||
|
||||
**The title must start with its area:** [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. Choose the same one below.
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Area
|
||||
description: Start the issue title with the same area in square brackets, for example "[Engine] decode stops after 2 minutes". Pick Other if none fits.
|
||||
options:
|
||||
- "[Engine] (speed, kernels, models, the server and API)"
|
||||
- "[GUI] (the desktop app)"
|
||||
- "[TUI] (the Terminal: strata launch, connect, monitor)"
|
||||
- "[Benchmark] (measurements and reports)"
|
||||
- "[Docs] (documentation)"
|
||||
- "[Other] (anything else, including setup and installation)"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: idea
|
||||
attributes:
|
||||
|
||||
@@ -1,11 +1,27 @@
|
||||
name: Question
|
||||
description: Ask how to use Strata, or share a result
|
||||
title: "Question: "
|
||||
title: "[Area] "
|
||||
labels: ["question"]
|
||||
body:
|
||||
- type: markdown
|
||||
value: |
|
||||
Not sure how to do something, or want to share numbers from your machine? Ask here. To share a full benchmark, see [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md#share-a-benchmark).
|
||||
|
||||
**The title must start with its area:** [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. Choose the same one below.
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Area
|
||||
description: Start the issue title with the same area in square brackets, for example "[Engine] decode stops after 2 minutes". Pick Other if none fits.
|
||||
options:
|
||||
- "[Engine] (speed, kernels, models, the server and API)"
|
||||
- "[GUI] (the desktop app)"
|
||||
- "[TUI] (the Terminal: strata launch, connect, monitor)"
|
||||
- "[Benchmark] (measurements and reports)"
|
||||
- "[Docs] (documentation)"
|
||||
- "[Other] (anything else, including setup and installation)"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: question
|
||||
attributes:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
**The title must start with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], for example "[Engine] fix decode stop on long prompts" or "[GUI] keep the model list after a tab switch".**
|
||||
|
||||
<!--
|
||||
Read CONTRIBUTING.md first. Lead with the problem and the result, not a file-by-file list.
|
||||
Placeholders below are not test results: replace them with what you observed, or write "none".
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
name: Title area
|
||||
|
||||
# Checks that a pull request or issue title starts with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
|
||||
# It reads the title only: no checkout, no labels, no comments, no write access.
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited, reopened, synchronize]
|
||||
issues:
|
||||
types: [opened, edited, reopened]
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
title:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check the title
|
||||
env:
|
||||
TITLE: ${{ github.event.pull_request.title || github.event.issue.title }}
|
||||
run: |
|
||||
case "$TITLE" in
|
||||
"[Engine] "?*|"[GUI] "?*|"[TUI] "?*|"[Benchmark] "?*|"[Docs] "?*|"[Other] "?*)
|
||||
echo "Title OK: $TITLE" ;;
|
||||
*)
|
||||
echo "::error::The title must start with its area and then a short description. Allowed areas: [Engine], [GUI], [TUI], [Benchmark], [Docs], [Other]. Example: \"[Engine] fix decode stop on long prompts\". Your title: $TITLE"
|
||||
exit 1 ;;
|
||||
esac
|
||||
Reference in new issue
Block a user