mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
feat(core): Offload manual executions to workers (#11284)
This commit is contained in:
@@ -88,3 +88,10 @@ export const LANGCHAIN_CUSTOM_TOOLS = [
|
||||
export const SEND_AND_WAIT_OPERATION = 'sendAndWait';
|
||||
export const AI_TRANSFORM_CODE_GENERATED_FOR_PROMPT = 'codeGeneratedForPrompt';
|
||||
export const AI_TRANSFORM_JS_CODE = 'jsCode';
|
||||
|
||||
/**
|
||||
* Key for an item standing in for a manual execution data item too large to be
|
||||
* sent live via pubsub. See {@link TRIMMED_TASK_DATA_CONNECTIONS} in constants
|
||||
* in `cli` package.
|
||||
*/
|
||||
export const TRIMMED_TASK_DATA_CONNECTIONS_KEY = '__isTrimmedManualExecutionDataItem';
|
||||
|
||||
@@ -2118,6 +2118,7 @@ export interface IRun {
|
||||
// The RunData, ExecuteData and WaitForExecution contain often the same data.
|
||||
export interface IRunExecutionData {
|
||||
startData?: {
|
||||
startNodes?: StartNodeData[];
|
||||
destinationNode?: string;
|
||||
runNodeFilter?: string[];
|
||||
};
|
||||
@@ -2141,6 +2142,15 @@ export interface IRunExecutionData {
|
||||
parentExecution?: RelatedExecution;
|
||||
waitTill?: Date;
|
||||
pushRef?: string;
|
||||
|
||||
/** Whether this execution was started by a test webhook call. */
|
||||
isTestWebhook?: boolean;
|
||||
|
||||
/** Data needed for a worker to run a manual execution. */
|
||||
manualData?: Pick<
|
||||
IWorkflowExecutionDataProcess,
|
||||
'partialExecutionVersion' | 'dirtyNodeNames' | 'triggerToStartFrom' | 'userId'
|
||||
>;
|
||||
}
|
||||
|
||||
export interface IRunData {
|
||||
|
||||
Reference in New Issue
Block a user