docs(compose): host-code-quality delivered——R1–R16 整改与验证口径
This commit is contained in:
@@ -3,7 +3,7 @@ feature: host-code-quality
|
|||||||
status: delivered
|
status: delivered
|
||||||
updated: 2026-09-23
|
updated: 2026-09-23
|
||||||
branch: main
|
branch: main
|
||||||
commits: 2c6235d..beeae8a(实施段 67dd170 / b70f5ed / 261caf5 / beeae8a)
|
commits: 2c6235d..0660506(实施段 67dd170 / b70f5ed / 261caf5 / beeae8a / d2b7877 / 2304ed6 / 0660506)
|
||||||
---
|
---
|
||||||
|
|
||||||
# 上位机代码质量评估(冗余 / 复杂度 / 屎山风险)
|
# 上位机代码质量评估(冗余 / 复杂度 / 屎山风险)
|
||||||
@@ -36,7 +36,7 @@ commits: 2c6235d..beeae8a(实施段 67dd170 / b70f5ed / 261caf5 / beeae8a)
|
|||||||
**Verification** —
|
**Verification** —
|
||||||
- `py_compile esp32_server.py ecat_client.py ecat_proc.py` PASS
|
- `py_compile esp32_server.py ecat_client.py ecat_proc.py` PASS
|
||||||
- `test_esf_pack.py` PASS;`test_app_lease.py` ALL PASS(7);`test_motor_refresh.mjs` 62/62 PASS
|
- `test_esf_pack.py` PASS;`test_app_lease.py` ALL PASS(7);`test_motor_refresh.mjs` 62/62 PASS
|
||||||
- `test_ecat_autostart.mjs` 24 通过 / **2 失败 PRE-EXISTING**(拆分前已存在,与 250µs 硬约束相关)
|
- `test_ecat_autostart.mjs` **26/26 PASS**(修复 `repairEcatDc`:health 缺 DC 字段时不再 `motor/start`;period 预期改为产品硬约束 0.25ms)
|
||||||
- 全部新/改 JS `node --check` PASS
|
- 全部新/改 JS `node --check` PASS
|
||||||
- 真机 `e2e_web_send_latency.py` / APP 点发**未跑**(需设备;按仓库规则后续应补)
|
- 真机 `e2e_web_send_latency.py` / APP 点发**未跑**(需设备;按仓库规则后续应补)
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ commits: 2c6235d..beeae8a(实施段 67dd170 / b70f5ed / 261caf5 / beeae8a)
|
|||||||
- worktree add 被沙箱拦 → 用户授权 main
|
- worktree add 被沙箱拦 → 用户授权 main
|
||||||
- P1/P2 子代理中断后主会话接手,验证后补提交
|
- P1/P2 子代理中断后主会话接手,验证后补提交
|
||||||
- `Measure-Object -Line` 丢空行 → 用 `ReadAllLines().Length`
|
- `Measure-Object -Line` 丢空行 → 用 `ReadAllLines().Length`
|
||||||
- autostart 2 失败标 PRE-EXISTING 而非回归
|
- `repairEcatDc` 在 health 无 dc 字段时误调 motor/start,违反 healthCheck「只读」契约 → 已修
|
||||||
- 顺序:先止血(R1–R3)再拆文件,避免在坏边界上大搬家
|
- 顺序:先止血(R1–R3)再拆文件,避免在坏边界上大搬家
|
||||||
|
|
||||||
## [S1] Problem
|
## [S1] Problem
|
||||||
|
|||||||
Reference in New Issue
Block a user