|
| 1 | +name: Bug report 🐛 |
| 2 | +description: Report errors or unexpected behavior 🤔 |
| 3 | +labels: |
| 4 | + - Issue-Bug |
| 5 | + - Need-Review |
| 6 | +body: |
| 7 | +- type: checkboxes |
| 8 | + attributes: |
| 9 | + label: Prerequisites |
| 10 | + options: |
| 11 | + - label: Write a descriptive title. |
| 12 | + required: true |
| 13 | + - label: Make sure you are able to repro it on the latest version |
| 14 | + required: true |
| 15 | + - label: Search the existing issues. |
| 16 | + required: true |
| 17 | +- type: textarea |
| 18 | + attributes: |
| 19 | + label: Summary |
| 20 | + description: >- |
| 21 | + Write a short description of the issue at a high-level. |
| 22 | + placeholder: >- |
| 23 | + I am experiencing a problem with X. |
| 24 | + I think Y should be happening but Z is actually happening. |
| 25 | + validations: |
| 26 | + required: true |
| 27 | +- type: textarea |
| 28 | + attributes: |
| 29 | + label: Steps to reproduce |
| 30 | + description: > |
| 31 | + List of steps, sample code, failing test or link to a project that reproduces the behavior. |
| 32 | + Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues. |
| 33 | + placeholder: |- |
| 34 | + 1. Create the following configuration document: |
| 35 | +
|
| 36 | + ```yaml |
| 37 | + # repro.dsc.config.yaml |
| 38 | + $schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/config/document.json |
| 39 | + resources: |
| 40 | + - name: repro |
| 41 | + type: Test/Echo |
| 42 | + properties: |
| 43 | + output: expected value |
| 44 | + ``` |
| 45 | +
|
| 46 | + 1. Call the `get` operation on the repro document: |
| 47 | +
|
| 48 | + ```sh |
| 49 | + dsc config get --path ./repro.dsc.config.yaml |
| 50 | + ``` |
| 51 | + validations: |
| 52 | + required: true |
| 53 | +- type: textarea |
| 54 | + attributes: |
| 55 | + label: Expected behavior |
| 56 | + render: console |
| 57 | + placeholder: | |
| 58 | + dsc config get --path ./repro.dsc.config.yaml |
| 59 | + |
| 60 | + results: |
| 61 | + - name: repro |
| 62 | + type: Test/Echo |
| 63 | + result: |
| 64 | + actualState: |
| 65 | + output: expected value |
| 66 | + messages: [] |
| 67 | + hadErrors: false |
| 68 | + validations: |
| 69 | + required: true |
| 70 | +- type: textarea |
| 71 | + attributes: |
| 72 | + label: Actual behavior |
| 73 | + render: console |
| 74 | + placeholder: | |
| 75 | + # Enable debug tracing, which shouldn't contain any private data |
| 76 | + dsc -l debug config get --path ./repro.dsc.config.yaml |
| 77 | + |
| 78 | + results: |
| 79 | + - name: repro |
| 80 | + type: Test/Echo |
| 81 | + result: |
| 82 | + actualState: |
| 83 | + output: other value |
| 84 | + messages: [] |
| 85 | + hadErrors: false |
| 86 | + validations: |
| 87 | + required: true |
| 88 | +- type: textarea |
| 89 | + attributes: |
| 90 | + label: Error details |
| 91 | + description: Paste verbatim output from DSC if it returns an error |
| 92 | + render: console |
| 93 | +- type: textarea |
| 94 | + attributes: |
| 95 | + label: Environment data |
| 96 | + description: Paste verbatim output from `$PSVersionTable` below. |
| 97 | + render: PowerShell |
| 98 | + placeholder: PS> $PSVersionTable |
| 99 | + validations: |
| 100 | + required: true |
| 101 | +- type: input |
| 102 | + validations: |
| 103 | + required: true |
| 104 | + attributes: |
| 105 | + label: Version |
| 106 | + description: >- |
| 107 | + Specify the version you're using. Run the `dsc --version` command to get |
| 108 | + the current version. |
| 109 | + placeholder: 3.0.0-alpha.5 |
| 110 | + |
| 111 | +- type: textarea |
| 112 | + attributes: |
| 113 | + label: Visuals |
| 114 | + description: > |
| 115 | + Please upload images or animations that can be used to reproduce issues in the area below. |
| 116 | + Try the [Steps Recorder](https://support.microsoft.com/en-us/windows/record-steps-to-reproduce-a-problem-46582a9b-620f-2e36-00c9-04e25d784e47) |
| 117 | + on Windows or [Screenshot](https://support.apple.com/en-us/HT208721) on macOS. |
0 commit comments