From cae2ef4fe42b5736b518d7d905fb65372364e013 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Fri, 23 Jan 2026 02:23:31 +0100 Subject: [PATCH] github: Consolidate triage into single Issue Triage category --- .../DISCUSSION_TEMPLATE/feature-request.yml | 74 ------------------- .../{bug-report.yml => issue-triage.yml} | 41 ++++++---- .github/ISSUE_TEMPLATE/config.yml | 9 +-- 3 files changed, 29 insertions(+), 95 deletions(-) delete mode 100644 .github/DISCUSSION_TEMPLATE/feature-request.yml rename .github/DISCUSSION_TEMPLATE/{bug-report.yml => issue-triage.yml} (76%) diff --git a/.github/DISCUSSION_TEMPLATE/feature-request.yml b/.github/DISCUSSION_TEMPLATE/feature-request.yml deleted file mode 100644 index 56f711ab..00000000 --- a/.github/DISCUSSION_TEMPLATE/feature-request.yml +++ /dev/null @@ -1,74 +0,0 @@ -title: "[Feature] " -labels: - - enhancement -body: - - type: markdown - attributes: - value: | - Thanks for suggesting a feature! - - Before submitting, please: - - Search [existing discussions](https://github.com/benoitc/gunicorn/discussions) and [issues](https://github.com/benoitc/gunicorn/issues) for similar requests - - Check if this is already possible with existing configuration - - - type: textarea - id: problem - attributes: - label: Problem Statement - description: What problem does this feature solve? What's the use case? - placeholder: I'm trying to... but currently... - validations: - required: true - - - type: textarea - id: solution - attributes: - label: Proposed Solution - description: How would you like this to work? - placeholder: | - I'd like a new setting `--my-option` that... - - Example usage: - gunicorn --my-option value myapp:app - validations: - required: true - - - type: textarea - id: alternatives - attributes: - label: Alternatives Considered - description: What other solutions have you considered or tried? - validations: - required: false - - - type: dropdown - id: scope - attributes: - label: Feature Scope - description: What area does this feature affect? - options: - - Configuration / Settings - - Worker behavior - - HTTP handling - - Logging / Instrumentation - - Signals / Process management - - Documentation - - Other - validations: - required: true - - - type: checkboxes - id: contribution - attributes: - label: Contribution - options: - - label: I would be willing to contribute a PR for this feature - required: false - - - type: checkboxes - id: checklist - attributes: - label: Checklist - options: - - label: I have searched existing discussions and issues for similar requests - required: true diff --git a/.github/DISCUSSION_TEMPLATE/bug-report.yml b/.github/DISCUSSION_TEMPLATE/issue-triage.yml similarity index 76% rename from .github/DISCUSSION_TEMPLATE/bug-report.yml rename to .github/DISCUSSION_TEMPLATE/issue-triage.yml index 4a178f12..aad41527 100644 --- a/.github/DISCUSSION_TEMPLATE/bug-report.yml +++ b/.github/DISCUSSION_TEMPLATE/issue-triage.yml @@ -1,30 +1,44 @@ -title: "[Bug] " +title: "[Triage] " labels: - - bug - triage body: - type: markdown attributes: value: | - Thanks for taking the time to report a bug! + Thanks for taking the time to report an issue or suggest a feature! - Before submitting, please: + **Before submitting, please:** - Search [existing discussions](https://github.com/benoitc/gunicorn/discussions) and [issues](https://github.com/benoitc/gunicorn/issues) for duplicates - Check the [FAQ](https://docs.gunicorn.org/en/latest/faq.html) and [documentation](https://docs.gunicorn.org/) + - type: dropdown + id: type + attributes: + label: Type + description: What type of issue is this? + options: + - Bug Report + - Feature Request + - Performance Issue + - Documentation Issue + validations: + required: true + - type: textarea id: description attributes: - label: Bug Description - description: A clear description of what the bug is - placeholder: What happened? What did you expect to happen? + label: Description + description: A clear description of the issue or feature request + placeholder: | + For bugs: What happened? What did you expect? + For features: What problem does this solve? validations: required: true - type: textarea id: reproduce attributes: - label: Steps to Reproduce + label: Steps to Reproduce (for bugs) description: Minimal steps to reproduce the behavior placeholder: | 1. Create a simple app with... @@ -32,7 +46,7 @@ body: 3. Send request... 4. See error... validations: - required: true + required: false - type: textarea id: config @@ -42,10 +56,8 @@ body: render: bash placeholder: | gunicorn --workers 4 --bind 0.0.0.0:8000 myapp:app - - # Or config file contents validations: - required: true + required: false - type: textarea id: logs @@ -87,6 +99,7 @@ body: - tornado - asgi (beta) - custom + - N/A (feature request) validations: required: true @@ -103,7 +116,7 @@ body: id: additional attributes: label: Additional Context - description: Any other context about the problem (proxy setup, Docker, etc.) + description: Any other context (proxy setup, Docker, proposed solution, etc.) validations: required: false @@ -116,5 +129,3 @@ body: required: true - label: I have checked the documentation and FAQ required: true - - label: I have included the minimal configuration to reproduce this issue - required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 2401ed30..496851e0 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,8 @@ blank_issues_enabled: false contact_links: - - name: Bug Report - url: https://github.com/benoitc/gunicorn/discussions/new?category=q-a - about: Report a bug or unexpected behavior (starts as a discussion for triage) - - name: Feature Request - url: https://github.com/benoitc/gunicorn/discussions/new?category=ideas - about: Suggest a new feature or improvement + - name: Bug Report / Feature Request + url: https://github.com/benoitc/gunicorn/discussions/new?category=issue-triage + about: Report a bug or request a feature (triaged before becoming an issue) - name: Question url: https://github.com/benoitc/gunicorn/discussions/new?category=q-a about: Ask a question about configuration, deployment, or usage