diff --git a/.github/ISSUE_TEMPLATE/01-bug-report.yml b/.github/ISSUE_TEMPLATE/01-bug-report.yml deleted file mode 100644 index 5664c6cab..000000000 --- a/.github/ISSUE_TEMPLATE/01-bug-report.yml +++ /dev/null @@ -1,136 +0,0 @@ -name: Bug 反馈 -description: 请求监控为空、统计异常、巡检失败、部署报错等问题 -title: "[Bug]: " -labels: ["bug", "needs-triage"] - -body: - - type: markdown - attributes: - value: | - 感谢反馈。请尽量完整填写下面信息,否则很难判断是 CPA、CPA Manager Plus、网络、Docker 还是配置问题。 - - - type: dropdown - id: problem-type - attributes: - label: 问题类型 - description: 请选择最接近的问题类型,便于快速分流。 - options: - - 请求监控为空或数据延迟 - - 用量 / 成本统计不准确 - - AI 提供商不可用或测活异常 - - 认证文件 / 配额 / 巡检异常 - - 自动禁用 / 自动恢复异常 - - 登录 / 权限 / Management Key - - 配置保存或配置读取异常 - - 前端显示或交互异常 - - 部署 / 网络 / 反代异常 - - 其他 - validations: - required: true - - - type: dropdown - id: deploy-mode - attributes: - label: 部署方式 - description: 你现在是如何部署 CPA Manager Plus 的? - options: - - 只配置 CPA 面板仓库地址 - - 完整 Docker 方案 - - CPA 控制面板 + 外部 Manager Server - - Windows / 非 Docker - - 其他 - validations: - required: true - - - type: input - id: cpa-version - attributes: - label: CPA 版本 - placeholder: 例如 v6.10.8 - validations: - required: true - - - type: input - id: manager-version - attributes: - label: CPA Manager Plus 版本 - placeholder: 例如 v1.1.5 / latest / commit hash - validations: - required: true - - - type: textarea - id: problem - attributes: - label: 问题描述 - description: 发生了什么?你期望发生什么? - placeholder: 例如:请求监控为空,但 CPA 正常转发请求。 - validations: - required: true - - - type: textarea - id: reproduce - attributes: - label: 复现步骤 - placeholder: | - 1. 打开 xxx 页面 - 2. 填写 xxx - 3. 点击 xxx - 4. 出现 xxx 报错 - validations: - required: true - - - type: textarea - id: config - attributes: - label: 关键配置 - description: 请脱敏后粘贴相关配置,例如 Manager Server 地址、CPA 地址、Docker Compose 片段等。 - render: yaml - placeholder: | - usage-statistics-enabled: true - Manager Server URL: http://... - CPA URL: http://... - validations: - required: true - - - type: textarea - id: status - attributes: - label: /status 返回内容 - description: 如果是统计、请求监控、巡检相关问题,请粘贴 Manager Server /status 的返回内容。 - render: json - placeholder: | - { - "collector": { - "upstream": "...", - "lastError": "..." - } - } - validations: - required: false - - - type: textarea - id: logs - attributes: - label: 日志 - description: 请粘贴 CPA Manager Plus / Manager Server / Docker 相关日志。 - render: shell - validations: - required: false - - - type: textarea - id: screenshots - attributes: - label: 截图 - description: 可以直接拖拽上传截图。 - validations: - required: false - - - type: checkboxes - id: checklist - attributes: - label: 检查清单 - options: - - label: 我已经搜索过现有 Issues,没有找到重复问题 - required: true - - label: 我已经确认敏感信息已经脱敏,例如 token、key、账号信息 - required: true diff --git a/.github/ISSUE_TEMPLATE/02-feature-request.yml b/.github/ISSUE_TEMPLATE/02-feature-request.yml deleted file mode 100644 index 4b55eeade..000000000 --- a/.github/ISSUE_TEMPLATE/02-feature-request.yml +++ /dev/null @@ -1,109 +0,0 @@ -name: 功能需求 -description: 新功能、优化建议、使用体验改进 -title: "[Feature]: " -labels: ["enhancement", "needs-triage"] - -body: - - type: markdown - attributes: - value: | - 请尽量描述真实使用场景,而不是只写“希望支持 xxx”。 - - - type: dropdown - id: area - attributes: - label: 影响页面 / 模块 - description: 这个需求主要影响哪里? - options: - - 请求监控 - - 用量分析 / 成本分析 - - AI 提供商 - - 认证文件 / 配额 / 巡检 - - API Key / 调用方管理 - - 配置中心 - - 部署 / Manager Server - - 备份 / 维护 - - README / 文档 / 增长展示 - - 不确定 / 其他 - validations: - required: true - - - type: textarea - id: scenario - attributes: - label: 使用场景 - description: 你在什么情况下需要这个功能? - placeholder: 例如:我有多个 CPA 实例,希望在一个 CPA Manager Plus 中统一查看请求统计。 - validations: - required: true - - - type: textarea - id: problem - attributes: - label: 当前痛点 - description: 现在没有这个功能时,你是怎么处理的?哪里不方便? - validations: - required: true - - - type: textarea - id: solution - attributes: - label: 期望方案 - description: 你希望 CPA Manager Plus 怎么实现? - validations: - required: true - - - type: checkboxes - id: dimensions - attributes: - label: 关注的数据维度 - description: 如果这个需求涉及统计、筛选、展示、额度或导出,请勾选相关维度。 - options: - - label: API Key / 调用方 - - label: AI 提供商 / Provider - - label: 模型 - - label: 认证文件 / Auth File - - label: 账号 - - label: 项目 / Project - - label: 时间范围 - - label: 成本 - - label: Token / 用量 - - label: 配额 / Quota - - label: 失败原因 / 错误类型 - - label: 不涉及这些维度 - - - type: textarea - id: acceptance - attributes: - label: 期望验收结果 - description: 什么情况下你会认为这个需求已经完成?请尽量写成可验证结果。 - placeholder: 例如:当供应商能返回模型列表但真实请求失败时,测活结果应显示不可用,并提示失败原因。 - validations: - required: true - - - type: dropdown - id: priority - attributes: - label: 需求优先级 - options: - - 很高:影响主要使用流程 - - 中等:明显提升体验 - - 较低:锦上添花 - validations: - required: true - - - type: textarea - id: extra - attributes: - label: 补充信息 - description: 截图、竞品参考、相关链接等。 - validations: - required: false - - - type: checkboxes - id: checklist - attributes: - label: 检查清单 - options: - - label: 我已经搜索过现有 Issues,没有找到重复需求 - required: true diff --git a/.github/ISSUE_TEMPLATE/03-deployment-help.yml b/.github/ISSUE_TEMPLATE/03-deployment-help.yml deleted file mode 100644 index c61518a4a..000000000 --- a/.github/ISSUE_TEMPLATE/03-deployment-help.yml +++ /dev/null @@ -1,91 +0,0 @@ -name: 部署 / 配置求助 -description: Docker、Manager Server、网络、反代、Windows 部署相关问题 -title: "[Deploy]: " -labels: ["deployment", "needs-triage"] - -body: - - type: dropdown - id: environment - attributes: - label: 运行环境 - options: - - Linux Docker - - Windows Docker - - Windows 原生 - - macOS - - Hugging Face / Render / ClawCloud / 其他托管平台 - - 其他 - validations: - required: true - - - type: dropdown - id: deploy-mode - attributes: - label: 部署方式 - options: - - 只配置 CPA 面板仓库地址 - - 完整 Docker 方案 - - CPA 控制面板 + 外部 Manager Server - - 不确定 - validations: - required: true - - - type: textarea - id: docker-compose - attributes: - label: Docker Compose / 启动命令 - description: 请脱敏后粘贴。 - render: yaml - validations: - required: false - - - type: input - id: cpa-url - attributes: - label: CPA 地址 - placeholder: http://127.0.0.1:xxxx - validations: - required: true - - - type: input - id: manager-url - attributes: - label: Manager Server 地址 - placeholder: http://127.0.0.1:18317 - validations: - required: false - - - type: textarea - id: error - attributes: - label: 报错信息 - render: shell - validations: - required: true - - - type: textarea - id: connectivity - attributes: - label: 连通性检查结果 - description: 请粘贴已执行的连通性检查结果。注意浏览器能访问不等于容器之间能访问。 - render: shell - placeholder: | - curl /status - curl /status - docker network ls - docker compose ps - 反代路径 / base path: - validations: - required: false - - - type: textarea - id: tried - attributes: - label: 已尝试的排查 - placeholder: | - 例如: - - 已确认容器在同一个 network - - 已确认端口映射 - - 已 curl /status - validations: - required: false diff --git a/.github/ISSUE_TEMPLATE/07-observability-ops-request.yml b/.github/ISSUE_TEMPLATE/07-observability-ops-request.yml deleted file mode 100644 index 616853616..000000000 --- a/.github/ISSUE_TEMPLATE/07-observability-ops-request.yml +++ /dev/null @@ -1,111 +0,0 @@ -name: 可观测性 / 运维需求 -description: 请求监控、用量导出、健康检查、备份、成本治理、采集可靠性等需求 -title: "[Ops]: " -labels: ["enhancement", "needs-triage"] - -body: - - type: markdown - attributes: - value: | - 这个模板适合请求监控、用量分析、成本治理、健康检查、备份维护、collector 可靠性、导出和诊断报告等运维类需求。 - - - type: dropdown - id: observability-scenario - attributes: - label: 可观测性场景 - description: 这个需求最接近哪类场景? - options: - - 请求监控 / Request Events - - 用量分析 / 成本分析 - - Provider / 模型健康检查 - - 认证文件 / 配额 / 账号健康 - - Usage Collector / 队列可靠性 - - 导出 / 诊断报告 / 脱敏 - - 备份 / 维护 / 数据保留 - - 系统健康检查 / Doctor - - 其他 - validations: - required: true - - - type: textarea - id: problem - attributes: - label: 当前无法回答的问题 - description: 你希望通过这个能力看清什么?例如失败原因、成本归因、额度状态、队列积压、备份状态。 - placeholder: 例如:我无法判断某段时间内失败请求主要来自哪个 Provider 和模型。 - validations: - required: true - - - type: checkboxes - id: dimensions - attributes: - label: 需要支持的筛选 / 聚合维度 - options: - - label: 时间范围 - - label: API Key / 调用方 - - label: AI 提供商 / Provider - - label: 模型 - - label: 认证文件 / Auth File - - label: 账号 - - label: 项目 / Project - - label: 成本 - - label: Token / 用量 - - label: 配额 / Quota - - label: 失败原因 / 错误类型 - - label: Header / 响应元数据 - - label: 队列 / Collector 状态 - - - type: textarea - id: data-source - attributes: - label: 数据来源 - description: 这些信息来自哪里?可以是请求监控事件、CPA usage queue、Provider API、response headers、SQLite、外部接口等。 - placeholder: 例如:来自 CPA usage queue 中的 usage events,以及 response header 中的 quota 信息。 - validations: - required: true - - - type: textarea - id: expected-output - attributes: - label: 期望展示 / 导出结果 - description: 你希望看到什么页面、字段、图表、导出格式或诊断结论? - placeholder: 例如:按当前筛选条件导出 CSV,包含时间、Provider、模型、API Key、失败原因、成本,且不包含 raw_json。 - validations: - required: true - - - type: textarea - id: scale - attributes: - label: 数据规模 / 性能背景 - description: 如果知道,请提供事件量、时间窗口、刷新频率、数据库大小或导出规模。 - placeholder: 例如:每天约 10 万条 usage events,希望导出最近 7 天失败请求。 - validations: - required: false - - - type: checkboxes - id: privacy - attributes: - label: 安全与隐私 - options: - - label: 结果中不能包含 CPA Management Key、API Key、token 或账号敏感信息 - required: true - - label: 如果涉及导出或诊断报告,需要明确脱敏字段 - required: false - - - type: textarea - id: acceptance - attributes: - label: 期望验收结果 - description: 什么情况下你会认为这个需求已经完成?请尽量写成可验证结果。 - validations: - required: true - - - type: checkboxes - id: checklist - attributes: - label: 检查清单 - options: - - label: 我已经搜索过现有 Issues,没有找到重复需求 - required: true - - label: 我已经确认敏感信息已经脱敏,例如 token、key、账号信息 - required: true