File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818---
1919
20- ### BUG-030 🟡 P2 — 场景 C SC10:多消息+多 peer 场景下 relay HTTP server 偶发崩溃(RemoteDisconnected)
20+ ### BUG-030 🟢 P2 (已修复) — 场景 C SC10:多消息+多 peer 场景下 relay HTTP server 偶发崩溃(RemoteDisconnected)
2121
2222** 发现日期** : 2026-03-31
2323** 场景** : scenario_c_pipeline.py::TestScenarioC::test_SC10
@@ -32,11 +32,15 @@ SC10 的发送本身成功(ok=True),但 A 进程在多消息并发下不
3232
3333** 影响** : SC10 xfail(测试标记为预期失败),其余 10/11 通过
3434
35- ** 根因初步分析 ** : relay 的 ThreadingHTTPServer 在高连接+高消息频率下线程资源耗尽或 socket 异常
35+ ** 根因 ** : relay 的 ThreadingHTTPServer 在高连接+高消息频率下线程资源耗尽或 socket 异常
3636
37- ** 优先级** : P2(功能缺陷,有 workaround:降低消息频率 / 减少并发 peer)
37+ ** 修复** : 创建 ` _ACPHTTPServer(ThreadingHTTPServer) ` 子类(2026-04-05),新增:
38+ - ` allow_reuse_address = True ` — 防止 TIME_WAIT 端口冲突
39+ - ` request_queue_size = 64 ` — 默认 5 导致 ECONNREFUSED / RemoteDisconnected(并发场景)
40+ - ` daemon_threads = True ` — worker 线程不阻塞进程退出
3841
39- ** 状态** : 🟡 已记录,待修复(低优先级,不影响主路径)
42+ ** 验证** : v3.17 全量回归 32/32 ✅,场景 H(并发压力)1/1 ✅,场景 D(压力测试)10/10 ✅
43+ ** 状态** : ✅ 已修复(2026-04-05 代码修复,2026-06-14 回归验证确认)
4044
4145---
4246
Original file line number Diff line number Diff line change 55 "calendar" : null ,
66 "weather" : null
77 },
8- "notes" : " 2026-06-08 05:34 — 开发轮 v3.17 完成。POST /messages:stream WebSocket 流式入口,可靠消息传递三件套收官。测试待下轮全量回归 。" ,
9- "next_round" : " test " ,
10- "today_rounds_completed" : 38 ,
8+ "notes" : " 2026-06-14 05:34 — 修复轮 Round 40。BUG-030(P2)标记为已修复:_ACPHTTPServer 子类(allow_reuse_address+queue_size=64+daemon_threads)已验证有效。研究轮 scan45 待下轮 。" ,
9+ "next_round" : " research " ,
10+ "today_rounds_completed" : 41 ,
1111 "last_research" : " scan44" ,
1212 "pending_push" : null
1313}
You can’t perform that action at this time.
0 commit comments