Commit d34eb3e
committed
[fix] CI: 修复 WebSocket 空闲超时测试竞态 + GitHub Actions io_uring 封禁
1. test_websocket: server.stop() 前轮询等待 onDisconnect 完成,
消除 sanitizer 构建下 ioContext_.stop() 抢占回调的竞态
2. CMake: 新增 HICAL_DISABLE_IO_URING 选项(默认 OFF)
3. ci.yml: Linux 构建传入 -DHICAL_DISABLE_IO_URING=ON,
因 GitHub Actions 自 2025-04 起 seccomp 封禁 io_uring syscall,
Boost 1.83 的 random_access_file 无线程池 fallback 导致 ENOMEM1 parent 5049762 commit d34eb3e
2 files changed
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | | - | |
| 114 | + | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
| |||
0 commit comments