feat(investigations): refine report authoring and replay flushing
This commit is contained in:
@@ -70,7 +70,7 @@ async def test_pollution_work_order_can_be_approved_and_dispatched_while_simulat
|
||||
await service.publish_artifacts(task["task_id"], AgentArtifactsCommand(
|
||||
request_id=uuid4(), source_session_id="session-1", report={**report,
|
||||
"current_conclusion": "传播模拟完成,现场核查继续", "evidence_refs": [evidence.evidence_id],
|
||||
"pending_items": [f"等待现场工单反馈,action_id={action.action_id}"]}))
|
||||
"pending_items": ["等待现场核查和采样处置工单反馈"]}))
|
||||
assert len(repository.reports) == 2 and repository.action["version"] == dispatched.version
|
||||
assert repository.action["approval_status"] == "approved" and repository.run["status"] == "running"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user