DDSRem
|
2de976f6b3
|
Merge pull request #7050 from DDSRem-Dev/codex-comment-migration
docs: 统一全项目中文注释和结构化契约说明
|
2026-10-17 19:26:29 +08:00 |
|
jxxghp
|
91b70ee2ce
|
fix(wechatclawbot): 识别 item_list 媒体入站消息并修正 CDN 探测判定 (#7000)
* fix(wechatclawbot): 识别 item_list 媒体入站消息并修正 CDN 探测判定 (#6992)
iLink 下行媒体报文把附件放在 item_list 子项中,原解析存在三处缺口,
图片/语音/文件入站消息会被判为空消息丢弃:
- item_list 仅按数字 type 处理 1 文本/2 图片/5、6 文件,缺少 3 语音/
4 文件/5 视频分派;改为按实际出现的子项键名分派,同时兼容历史
type=5/6 文件报文。
- 附件引用只读取顶层 url/aeskey,识别不了 image_item.media.full_url /
media.aes_key 等嵌套字段;统一按“顶层优先、media 子对象兜底”提取。
- 消息被解析为空时直接返回 None,日志只剩“未识别到有效消息”;补充
渠道级诊断日志,输出 message_id 与截断后的原始报文。
另外把“微信 ClawBot 媒体 CDN”网络探测的 400 纳入成功状态码:该 CDN
对无参数裸请求固定返回 400,此前探测项恒定误报失败。
tests/test_wechatclawbot.py 整文件迁移为 pytest 原生,并新增 item_list
媒体解析、仅图片消息可入链、空消息诊断日志回归;nettest 契约测试补充
CDN 400 探测用例。复杂度与 mypy 低水位随债务下降同步固化。
* fix(wechatclawbot): 同步架构清单中的 mypy 债务数字 (#6992)
|
2026-10-15 09:02:59 +08:00 |
|
InfinityPacer
|
437baec620
|
test: 测试套件自隔离与全量离线化(collection 清零 + 杜绝真实网络) (#5873)
|
2026-06-02 12:23:08 +08:00 |
|
jxxghp
|
41477601c7
|
feat: add test for ILinkClient connection and handle ilink_user_id error gracefully
|
2026-05-11 22:30:13 +08:00 |
|
jxxghp
|
888ccfcfc2
|
feat: add detailed docstrings for methods in WechatClawBot and related modules
|
2026-05-11 08:25:25 +08:00 |
|
jxxghp
|
3c9228c2f8
|
feat: enhance iLink polling logic to support multiple payload formats and improve success determination
|
2026-05-11 08:02:17 +08:00 |
|
jxxghp
|
3776422634
|
fix: tighten wechatclawbot poll protocol handling
|
2026-05-11 07:15:04 +08:00 |
|
jxxghp
|
5021b2c86f
|
feat: implement message deduplication and enhance error handling in WechatClawBot
|
2026-05-10 23:40:22 +08:00 |
|