|
|
@@ -2300,3 +2300,23 @@ solver.run_single_point(thermal_mode)(coupled 分支调 do_magnetic_thermal_ca
|
|
|
### 使用方式
|
|
|
|
|
|
今后启动执行器推荐:`python scripts/executor_supervisor.py --config executor_config.json`
|
|
|
+
|
|
|
+---
|
|
|
+
|
|
|
+## TEST-061:看门狗保护下真实任务全链路验证
|
|
|
+
|
|
|
+| 项目 | 内容 |
|
|
|
+|---|---|
|
|
|
+| 测试日期 | 2026-09-04 |
|
|
|
+| 测试目的 | 验证 TEST-060 双层防护改动后的执行器在真实任务下正常工作(新代码:线程监控 + GC 面包屑) |
|
|
|
+
|
|
|
+### 过程与结果
|
|
|
+
|
|
|
+1. 创建 1 点冒烟任务 1d415d55(Airgap=1.2, thermal_mode=off)。
|
|
|
+2. 看门狗监管的 executor 26664 正常领取并执行,~2.5min 完成:**status=completed, 1/1**。✅
|
|
|
+3. **GC 面包屑生效**:executor 日志出现 post-task-gc:begin/end(12ms 完成,未挂起)——确定性 GC 在真实 Motor-CAD COM 环境下工作正常。✅
|
|
|
+4. 任务完成后执行器保持 ONLINE(心跳线程存活)。✅
|
|
|
+
|
|
|
+### 结论
|
|
|
+
|
|
|
+监管进程 → 新执行器代码 → Motor-CAD 求解 → 结果回传 → 确定性 GC,整链实测通畅。若未来再发生 COM 挂起,GC 面包屑将精确定位挂起点,外部看门狗会在 180s 内自动杀启恢复。
|