已开启
fix(docs+lint): Index runtime error codes, add dynamic-loop advisory rules and playbook #582
fix(docs+lint): Index runtime error codes, add dynamic-loop advisory rules and playbook #582
已开启
lizixuan创建于 15 天前
lizixuan
lizixuan
15 天前

Closes #119

问题

动态循环运行时崩溃/数值漂移缺文档缺索引:0x2a/507018/507015/ERR99999 运行时错误码无处查,无上下文崩溃和非确定性漂移没有固定排查步骤。执行器缺陷在 CANN 上游,仓内只补“能查、会排查”。

修复(只加知识,不加规则)

  1. error-code-index.md 新增“运行时错误码(非 F 前缀)”章节,按错误关键词定位。
  2. 新增 dynamic-loop-playbook.md:失败模式速查 + 干净进程复现 → 变体二分 → 最小触发 + 漂移先做“无 loop 单发对照”。
  3. DEBUG_GUIDEBOOK.md 登记 §9.22 和症状路由,让 debugger 直接翻到 playbook。

不新增 lint 规则(OL63/OL64 已撤):规则已较多,容易冲突且压缩 agent 可行解;风险写进 playbook 让 agent 自查,不放进门禁。

验证

  • rules.json 已移除 OL63/OL64,JSON 校验通过;d1_framework.py 与对应测试已删,py_compile 通过。
  • 文档与路由交叉引用不再指向 OL63/OL64。
  • 不新增正反向用例。

仓外另登记

  • CANN 执行器缺陷 / B2 workspace 竞态上报。
  • 上游 pypto.loop/loop_unroll 文档补约束。
likedislike
合并受阻
lizixuanlizixuan
15 天前 创建了 pull request,commit 0bb73263
lizixuanlizixuan
15 天前 关联了issue:[Bug-Report|缺陷反馈]: [断裂点]动态循环相关的运行时崩溃/数值漂移缺文档缺索引(0x2a/507018/ERR99999 无上下文)
CANN-robotCANN-robot成员
15 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
15 天前 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)

Module Approval Details

module lgtm status approve status
repo-cann/pypto-gym ❌ (0/2)(You can also ask: jason_yuan_ye, 尹杰, 冯思远, li-shengxian3, gaoxingwang) ❌ (0/1)(You can also ask: xinweiliu, DCGDDD, 尹杰, wangbing110, 林嘉树)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

lizixuan1020, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
lizixuanlizixuan
8 天前 update merge request[project id: 9743536, iid: 582, commit_id: 858427f48bb9a18b4b52079dbbd87f06172e873d] virtual merging success
lizixuanlizixuan
8 天前 推送  1 个提交:57ccc5b7-fix(docs): drop OL63/OL64 advisory rules, keep index and playbook
lizixuanlizixuan
8 天前 update merge request[project id: 9743536, iid: 582, commit_id: 4efcdb174e74d77782d907ad7b92263392d21e83] virtual merging success
CANN-robotCANN-robot成员
8 天前 删除了label:cann-cla/yes
CANN-robotCANN-robot成员
8 天前 添加了label:stat/needs-squash
CANN-robotCANN-robot成员
8 天前 添加了label:cann-cla/yes
lizixuanlizixuan
8 天前 修改了pull request 的描述