fix: ensure workflow_run_id is always set and improve handling in Wor… (#12264)

Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
-LAN-
2024-12-31 17:02:44 +08:00
committed by GitHub
parent 6a85960605
commit 62f792ea14
3 changed files with 4 additions and 2 deletions

View File

@@ -221,6 +221,7 @@ class WorkflowAppGenerator(BaseAppGenerator):
single_iteration_run=WorkflowAppGenerateEntity.SingleIterationRunEntity(
node_id=node_id, inputs=args["inputs"]
),
workflow_run_id=str(uuid.uuid4()),
)
contexts.tenant_id.set(application_generate_entity.app_config.tenant_id)