name: Regression
about: Something that worked before and is now broken
title: "[Regression]: "
labels:
  - kind/bug
  - state/regression
  - severity/high
body:
  - type: markdown
    attributes:
      value: |
        Use this when behaviour changed between versions or after a patch.

  - type: input
    id: last-good
    attributes:
      label: Last known good version
      placeholder: e.g. v0.1
    validations:
      required: true

  - type: input
    id: first-bad
    attributes:
      label: First known bad version
      placeholder: e.g. v0.2
    validations:
      required: true

  - type: dropdown
    id: area
    attributes:
      label: Area
      options:
        - transport
        - gui-basic
        - arb
        - presets
        - config
        - screenshot
        - scpi-cli
        - burst
        - sweep
    validations:
      required: true

  - type: textarea
    id: repro
    attributes:
      label: Reproduction
      placeholder: Describe the exact steps that still worked before and now fail.
    validations:
      required: true

  - type: textarea
    id: impact
    attributes:
      label: Impact
      placeholder: What does this break in normal use?
    validations:
      required: true

  - type: textarea
    id: logs
    attributes:
      label: Error text / SCPI response / traceback
      placeholder: Paste relevant evidence here
    validations:
      required: false
