From 4cd1e574c76142a035f98f96ee00dec75a3bed02 Mon Sep 17 00:00:00 2001 From: drbh Date: Wed, 29 Apr 2026 10:45:32 -0400 Subject: [PATCH 1/3] feat: add issue templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 55 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 46 ++++++++++++++++++ .github/pull_request_template.md | 38 +++++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..6cb3ba50 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,55 @@ +name: Bug Report +description: Report a bug or unexpected behavior +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for reporting a bug! Please fill in the details below. + - type: textarea + id: description + attributes: + label: Description + description: A clear description of the bug. + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Steps to reproduce + description: Minimal code or steps to reproduce the issue. + placeholder: | + ```python + import kernels + ... + ``` + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected behavior + description: What you expected to happen. + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment + description: Please provide version info. + placeholder: | + - kernels version: + - Python version: + - PyTorch version: + - CUDA version: + - GPU model: + - OS: + validations: + required: true + - type: textarea + id: additional + attributes: + label: Additional context + description: Any other context, logs, or screenshots. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..522ab134 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,46 @@ +name: Feature Request +description: Propose a new feature or improvement +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Thanks for your interest in contributing! Please describe what you'd like to + see and why. If you're planning to submit a PR, **please open this issue first** + and wait for feedback before starting work - this helps us align on approach and + avoids duplicate or unnecessary effort. + - type: textarea + id: description + attributes: + label: Description + description: A clear description of the feature you'd like. + validations: + required: true + - type: textarea + id: motivation + attributes: + label: Motivation + description: Why is this feature needed? What problem does it solve? What is your use case? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed approach + description: If you have an idea of how this could be implemented, describe it here. This is especially helpful if you plan to submit a PR. + validations: + required: false + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + description: Any alternative solutions or workarounds you've considered. + validations: + required: false + - type: textarea + id: additional + attributes: + label: Additional context + description: Any other context, references, or screenshots. + validations: + required: false diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..86411c2c --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,38 @@ +## Important: Read before submitting + +> **New contributors:** Please open or comment on an issue **before** submitting a +> PR to discuss the change you'd like to make. This helps us align on approach and +> avoids wasted effort. PRs from contributors who have not been vouched for will be +> automatically closed - open an issue first so we can get to know your contribution. + +## Related issue + + + +Closes # + +## What does this PR do? + + + +## Motivation + + + +## Changes + + + +- + +## Testing + + + +- + +## Checklist + +- [ ] This PR is linked to an issue that was discussed and approved +- [ ] I have tested these changes locally +- [ ] New/changed functionality has test coverage From 596c5a44192556297eb3db474fcd536958cb7709 Mon Sep 17 00:00:00 2001 From: drbh Date: Wed, 29 Apr 2026 10:47:10 -0400 Subject: [PATCH 2/3] fix: adjust wording --- .github/pull_request_template.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 86411c2c..46d3e96d 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,8 +2,7 @@ > **New contributors:** Please open or comment on an issue **before** submitting a > PR to discuss the change you'd like to make. This helps us align on approach and -> avoids wasted effort. PRs from contributors who have not been vouched for will be -> automatically closed - open an issue first so we can get to know your contribution. +> avoids wasted effort on changes we may not be able to merge. ## Related issue From e5e2644da042f5f43a5fd5091297a4838cc3d59f Mon Sep 17 00:00:00 2001 From: drbh Date: Wed, 29 Apr 2026 17:30:45 -0400 Subject: [PATCH 3/3] fix: add nix note --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 6cb3ba50..c8c4a479 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -44,6 +44,7 @@ body: - CUDA version: - GPU model: - OS: + - If using the Nix builder, output of `nix-shell -p nix-info --run "nix-info -m"`: validations: required: true - type: textarea