pass workflow pid when execute workflow (#3306)

This commit is contained in:
LawyZheng
2025-08-27 14:07:45 +08:00
committed by GitHub
parent 9bac606386
commit 32dfa8da68
4 changed files with 6 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ class AsyncExecutor(abc.ABC):
organization: Organization,
workflow_id: str,
workflow_run_id: str,
workflow_permanent_id: str,
max_steps_override: int | None,
api_key: str | None,
browser_session_id: str | None,
@@ -145,6 +146,7 @@ class BackgroundTaskExecutor(AsyncExecutor):
organization: Organization,
workflow_id: str,
workflow_run_id: str,
workflow_permanent_id: str,
max_steps_override: int | None,
api_key: str | None,
browser_session_id: str | None,

View File

@@ -878,6 +878,7 @@ async def run_block(
block_labels=block_run_request.block_labels,
workflow_id=block_run_request.workflow_id,
workflow_run_id=workflow_run.workflow_run_id,
workflow_permanent_id=workflow_run.workflow_permanent_id,
organization=organization,
browser_session_id=browser_session_id,
)