Skip to content

Commit 2546612

Browse files
author
J.A.R.V.I.S.
committed
fix(round40): BUG-030 mark resolved — _ACPHTTPServer subclass verified effective through v3.17 regression
1 parent 46d11ef commit 2546612

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

BUGS.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
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

heartbeat-state.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
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
}

0 commit comments

Comments
 (0)