fix(agent): stabilize live e2e tool execution and loop isolation
This commit is contained in:
@@ -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 读取校验,不依赖公共下载链接。
|
||||
Reference in New Issue
Block a user