fix(agent): stabilize live e2e tool execution and loop isolation

This commit is contained in:
zl-q
2026-03-08 22:41:59 +08:00
parent 14508c52f6
commit 2980213a5b
32 changed files with 3076 additions and 560 deletions
+22
View File
@@ -0,0 +1,22 @@
# Live E2E Test Suite
`backend/tests/e2e/test_agent_live_flow.py` 是真实依赖端到端测试,依赖真实 LLM、Supabase DB、Supabase Storage。
## Command Split
- CI 默认测试(不跑 live):
```bash
uv run pytest -m "not live"
```
- 手动运行 live 真实端到端:
```bash
uv run pytest backend/tests/e2e/test_agent_live_flow.py -m live -v
```
## Notes
- live 用例默认通过 marker 与常规回归隔离,避免 CI 因外部环境波动失败。
- tool result 存储使用私有 bucket 读取校验,不依赖公共下载链接。