sudden coderabbit review fixes

This commit is contained in:
lda
2026-05-21 17:08:26 +07:00 Verified
parent 7eff7cda2a
commit abf41677a6
8 changed files with 68 additions and 6 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ def execute_workflow(
run = create_run_state(workflow, workflow_input)
try:
run = prepare_new_run(workflow, workflow_input)
prepare_new_run(workflow, workflow_input, run)
return resume_workflow(workflow, run, registry, reducers=reducers)
except Exception as exc:
run.status = RunStatus.FAILED
@@ -46,7 +46,7 @@ async def execute_workflow_async(
run = create_run_state(workflow, workflow_input)
try:
run = prepare_new_run(workflow, workflow_input)
prepare_new_run(workflow, workflow_input, run)
return await resume_workflow_async(workflow, run, registry, reducers=reducers)
except Exception as exc:
run.status = RunStatus.FAILED