Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/ISSUE_TEMPLATE/0-code_analyzer_bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Report an issue with a code-analyzer command.
title: "[BUG][code-analyzer] <YOUR_TITLE_HERE>"
labels: []
body:
- type: dropdown
- type: checkboxes
attributes:
label: Have you tried to resolve this issue yourself first?
description: |
Expand All @@ -13,15 +13,10 @@ body:
3. Double-check the command that you ran. Ensure that items like file names, method names, and category names are correctly spelled and cased.
4. Verify that your code is syntactically valid.
5. Verify that the error is reproducible on another machine.
6. Check open and closed [issues](https://github.com/forcedotcom/sfdx-scanner/issues) to see if your issue is already logged.

**I confirm that I have gone through these steps and still have an issue to report.**
<sup>(You must select "Yes" to create an issue.)</sup>
6. Check open and closed [issues](https://github.com/forcedotcom/code-analyzer/issues) to see if your issue is already logged.
options:
- ''
- "Yes"
validations:
required: true
- label: I confirm I have gone through the above steps and still have an issue to report
required: true
- type: textarea
attributes:
label: Bug Description
Expand Down
114 changes: 114 additions & 0 deletions .github/ISSUE_TEMPLATE/1-scanner_bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: Report a Bug with a scanner command (v4)
description: Report an issue with a scanner command.
title: "[BUG][scanner] <YOUR_TITLE_HERE>"
labels: []
body:
- type: checkboxes
attributes:
label: Have you tried to resolve this issue yourself first?
description: |
Oftentimes, you can resolve `scanner` issues on your own. Follow these steps:
1. Read the error message.
2. Read [Salesforce Code Analyzer](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview) documentation.
3. Double-check the command that you ran. Ensure that items like file names, method names, and category names are correctly spelled and cased.
4. Verify that your code is syntactically valid.
5. Verify that the error is reproducible on another machine.
6. Check open and closed [issues](https://github.com/forcedotcom/code-analyzer/issues) to see if your issue is already logged.
options:
- label: I confirm I have gone through the above steps and still have an issue to report
required: true
- type: textarea
attributes:
label: Bug Description
description: Provide a clear and concise description of what the bug is and include the exact command that you ran.
validations:
required: true
- type: textarea
attributes:
label: Output / Logs
description: Attach any output or logs here
placeholder: |
Add log output here or drag files here.
- type: textarea
attributes:
label: Steps To Reproduce
description: List out the steps that you used to reproduce the bug behavior. Be as specific and clear as possible.
placeholder: |
1. I first do ...
2. Then I do ...
3. Lastly, I do ...
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: Provide a clear and concise description of what you expected to happen.
validations:
required: true
- type: input
attributes:
label: Operating System
description: |
What is your machine's operating system?
placeholder: |
Example: MacOS Sonoma 14.4.1
validations:
required: true
- type: input
attributes:
label: Salesforce CLI Version
description: |
What do you get from the command "sf --version"?
placeholder: |
Example: @salesforce/cli/2.40.7 darwin-arm64 node-v20.12.2
validations:
required: true
- type: input
attributes:
label: Scanner Plugin Version
description: |
What do you get from the command "sf plugins"?
placeholder: |
Example: @salesforce/sfdx-scanner/4.10.0
validations:
required: true
- type: input
attributes:
label: Node Version
description: |
What do you get from the command "node --version"?
placeholder: |
Example: v23.4.0
validations:
required: false
- type: input
attributes:
label: Java Version
description: |
What do you get from the command "java -version"?
placeholder: |
Example: openjdk version "11.0.17.0.1" 2022-10-18 LTS
validations:
required: false
- type: textarea
attributes:
label: Additional Context (Screenshots, Files, etc)
description: Add any other context about the problem.
placeholder: |
Drag any files or screenshots you have here.
- type: textarea
attributes:
label: Workaround
description: What ways have you found to sidestep the problem? If you haven't found a workaround, what have you tried so far?
- type: dropdown
attributes:
label: Urgency
description: What is the severity of the problem?
options:
- Low
- Moderate
- High
- Critical
default: 0
validations:
required: true
104 changes: 0 additions & 104 deletions .github/ISSUE_TEMPLATE/1-scanner_run_bug.yml

This file was deleted.

117 changes: 0 additions & 117 deletions .github/ISSUE_TEMPLATE/2-scanner_run_dfa_bug.yml

This file was deleted.

Loading
Loading