cfdaily 1362cc5d64
CI / lint (pull_request) Successful in 19s
CI / test (pull_request) Successful in 43s
CI / frontend (pull_request) Successful in 16s
CI / notify-on-failure (pull_request) Successful in 0s
[moz] fix(test): 修复 integration/e2e 测试 sys.path 污染导致 CI 失败
根因:4 个测试文件在模块级别执行 sys.path.insert(0, DEPLOY_DIR),
即使测试被 deselect/conftest 跳过,模块仍被 import 触发 sys.path 污染。
后续测试 import src 时从安装目录加载(缺少新增模块如 algorithms/)。

修复:在 sys.path 操作前加 allow_module_level skip guard,
未设置 RUN_INTEGRATION 时跳过整个模块,不执行任何模块级代码。

影响文件:
- tests/integration/test_e2e_api_s1_s8.py
- tests/e2e/test_e2e_stress.py
- tests/e2e/test_e2e_scenarios.py
- tests/e2e/test_e2e_v27.py
2026-06-21 07:23:41 +08:00
2026-05-17 00:30:27 +08:00
2026-05-27 00:06:34 +08:00
2026-05-18 00:04:28 +08:00
S
Description
AI Native multi-agent orchestration platform v2.0
Readme 19 MiB
Languages
Python 97.4%
TypeScript 1.9%
CSS 0.3%
Shell 0.2%
HTML 0.2%