已关闭
[Requirement|需求建议]: TroubleShooting覆盖 #679
meiqing2创建于 3月14日关闭于 5月13日
3月14日 添加了label:requirement
3月14日 关联了pull request:feat(machine): Add trouble shooting md and machine errcode
3月14日 关联了pull request:fix(machine): log refine
3月15日 将 meiqing2 设为负责人
Jie Yin
3月15日 评论:
3月15日 评论:
涉及多个领域,需要各个领域配合


此处折叠了55条消息 查看更多
5月8日 关联了pull request:fix(simulation): Add error code and security rectification
5月8日 关联了pull request:fix(DFX): Rename Errcode to ErrCode
5月9日 关联了pull request:fix(simulation): Add error code and security rectification
5月13日 issue状态由 开发中 改变为 已完成
5月13日 关闭了 issue
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
PYPTO 各组件 ASSERT/ERROR 仅靠日志文案带来的问题:难定位、语义不统一、维护分散。
Origin(信息来源)
算子开发人员、测试人员等
Benefit / Necessity (价值/作用)
通过错误码快速定位到组件与场景。
统一使用各组件 error 头文件中的枚举,规范报错与日志。
便于与 trouble_shooting 文档和 Skill 关联,支持“原因–排查–解决”和技能化排查。
一码一场景,便于统计、监控和后续优化。
Design(设计方案)
1. 总体范围
所有 ASSERT ERROR 报错均需由错误码承载。各组件错误码范围如下:
2. 各组件错误码文档
3 原则
pypto-environment-setup),便于排查时加载该技能进行环境诊断、算子开发或性能调优等。