chore: auto release commit (2026-09-15 03:29:00)
All checks were successful
技能自动化发布 / release (push) Successful in 11s

This commit is contained in:
2026-09-15 03:29:00 +08:00
parent 689810eaeb
commit 22b42f8d30
9 changed files with 2063 additions and 1738 deletions

View File

@@ -2,6 +2,20 @@
本文件对应技能市场 **「更新日志」** Tab。
## 1.1.31
- **拆分 `scripts/service/platform_collector.py`(1972 行 / 84KB → 1 facade + 4 sub-modules,最大子模块 28KB),绕过 PyArmor trial mode 单文件大小限制**:
- **根因**:v1.1.22 ~ v1.1.30 期间 CI 全部红色 X(4s 即失败);`platform_collector.py` 从 v1.1.21 的 55 KB / 1319 行膨胀到 84 KB / 1972 行,超过 PyArmor 8.5.3 trial mode 单文件大小阈值
- **新结构**(5 个文件都在 `scripts/service/`,沿用平铺风格):
- `platform_collector.py`(facade,~180 行 / ~7 KB):保留模块常量 / 4 个异常类 / `_get_env` / `_load_env_file` / `_ENV_CACHE*` / re-export 21 个公开符号
- `platform_collector_login.py`(~700 行 / ~28 KB):12 个登录流程函数
- `platform_collector_collect.py`(~570 行 / ~23 KB):`collect_all` + 内嵌 `_try_reload_after_table_timeout` + `_error_result`
- `platform_collector_persist.py`(~200 行 / ~9 KB):`_persist_contracts` + `_enqueue_download_tasks_safe`
- `platform_collector_queue.py`(~290 行 / ~13 KB):`process_queue` + 5 个 queue/parse helper
- **零业务行为变化**:所有 CLI / Action / 测试保持不变;`tests/run_tests.py` 已有的 28 个 test case **零修改**通过(facade re-export + sub-module 内 `from service import platform_collector as _pc` lazy import 保留 `pc.HUMAN_POLL_INTERVAL = X` 测试 monkey-patch 能力)
- **新增 1 个 smoke test `facade_reexports_all_symbols_v1_31`**:验证 25 个公开符号从 facade 可见
- **修复 CI 红色 X**:v1.1.21 是最后一个 CI 绿色的版本;v1.1.31 拆分后所有子模块 < 35 KB,远低于 trial 阈值(v1.1.21 green 阈值 55 KB 的 50%),加密步骤应能通过
## 1.1.30
- **修复 jiangchang 客户端 arguments 丢失导致 argparse SystemExit 问题**: