Skip to content

chore: add issue templates for bugs and feature requests - #7

Merged
CN059 merged 1 commit into
devfrom
chore/issue-templates
Sep 11, 2026
Merged

CN059 merged 1 commit into
devfrom
chore/issue-templates

Conversation

@CN059

@CN059 CN059 commented Sep 11, 2026

Copy link
Copy Markdown
Member

改动

  • .github/ISSUE_TEMPLATE/bug_report.yml:结构化表单。字段按本项目真实架构设计——涉及组件(入站/出站/强亲和/new-api 透传/控制台/部署/CI)、版本(tag 或 digest)、部署方式、运行环境、复现步骤、期望与实际、日志与 channel_affinity.key_source、已脱敏的配置片段,最后是脱敏与查重确认。自动打 bug 标签。
  • .github/ISSUE_TEMPLATE/feature_request.yml:以「要解决什么问题」为核心,附影响范围、是否愿意提 PR。自动打 enhancement 标签。
  • .github/ISSUE_TEMPLATE/config.yml:保留自由发问入口(blank_issues_enabled: true),并把部署文档与 CONTRIBUTING 挂为联系链接。

为什么保留 blank issue

现有 issue(如 #3 的设计设想)是长篇自由讨论,硬塞进表单反而不合适,所以两个模板之外仍允许空白 issue。

验证

本地按 issue form schema 校验过:顶层字段、body 元素类型、attributes.label、validations.required 类型、dropdown/checkboxes 的 options 结构、id 唯一性,全部通过。

@CN059
CN059 merged commit 710ecf9 into dev Sep 11, 2026
2 checks passed
@CN059
CN059 deleted the chore/issue-templates branch September 11, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant