feat: Implement new partial execution logic for acyclic workflows (no-changelog) (#10256)

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
Danny Martini
2024-09-18 15:06:36 +02:00
committed by GitHub
parent 73f89ef101
commit 2a084f96f8
31 changed files with 2367 additions and 20 deletions

View File

@@ -2150,6 +2150,10 @@ export interface IWorkflowExecutionDataProcess {
destinationNode?: string;
restartExecutionId?: string;
executionMode: WorkflowExecuteMode;
/**
* The data that is sent in the body of the webhook that started this
* execution.
*/
executionData?: IRunExecutionData;
runData?: IRunData;
pinData?: IPinData;
@@ -2159,6 +2163,15 @@ export interface IWorkflowExecutionDataProcess {
workflowData: IWorkflowBase;
userId?: string;
projectId?: string;
/**
* Defines which version of the partial execution flow is used.
* Possible values are:
* 0 - use the old flow
* 1 - use the new flow
* -1 - the backend chooses which flow based on the environment variable
* PARTIAL_EXECUTION_VERSION_DEFAULT
*/
partialExecutionVersion?: string;
}
export interface ExecuteWorkflowOptions {