auto-sync: 2026-05-18 18:41:56
This commit is contained in:
@@ -761,14 +761,14 @@ class TestE9RealAgentDispatch:
|
|||||||
assert t.status != "pending", f"Agent 未被调度,状态仍为 pending"
|
assert t.status != "pending", f"Agent 未被调度,状态仍为 pending"
|
||||||
|
|
||||||
def test_e92_review_task_dispatch(self, client):
|
def test_e92_review_task_dispatch(self, client):
|
||||||
"""review 任务 → 调度到 simayi-challenger"""
|
"""review 任务 → 调度到 jiangwei-infra"""
|
||||||
tid = _tid()
|
tid = _tid()
|
||||||
resp = client.post(f"/api/projects/{self.pid}/tasks", json={
|
resp = client.post(f"/api/projects/{self.pid}/tasks", json={
|
||||||
"id": tid,
|
"id": tid,
|
||||||
"title": "E2E Review:检查代码",
|
"title": "E2E Review:检查代码",
|
||||||
"description": "请查看任务描述并回复你的评审意见。这是E2E测试,简单回复即可。",
|
"description": "请查看任务描述并回复你的评审意见。这是E2E测试,简单回复即可。",
|
||||||
"status": "pending",
|
"status": "pending",
|
||||||
"assignee": "simayi-challenger",
|
"assignee": "jiangwei-infra",
|
||||||
"task_type": "review",
|
"task_type": "review",
|
||||||
"priority": 5,
|
"priority": 5,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user