Skip to content

[Feature] review-bot supports issue priority labeling (critical / high / medium / low) #92

Description

@yenuo26

Summary

希望机器人在处理 / 分诊 issue 时,能自动判断严重级别,并打上对应 label:

  • critical
  • high priority
  • medium priority
  • low priority

分级口径可对齐知识库中的 Bug 分级 / DI 约定(见 knowledge/general/bug/guides/di-calculation.md)。

Motivation

  • 人工逐条定级成本高,且口径容易不一致
  • 后续 DI / SLO 统计依赖统一优先级 label
  • 与现有 review-bot / issue 自动化能力衔接后,可减少漏标、错标

Proposed behavior

  1. 读取 issue 标题、正文、相关上下文(如复现信息、CI 失败、影响面)
  2. 按分级标准给出优先级判断与简短理由
  3. 自动打上上述四个 label 之一(必要时可支持 invalid
  4. 若置信度不足,可评论建议优先级,由人工确认后再打标

Acceptance criteria

  • 机器人能对新建 / 更新的 issue 输出优先级判断
  • 成功打上 critical / high priority / medium priority / low priority 之一
  • 评论中可见简要判定依据
  • 分级规则与 general/bug 知识页一致,或明确声明差异

Out of scope

  • 不在本 issue 内实现完整 DI 累计计算与 SLO 催办

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions