fix(core): Update subworkflow execution status correctly (#10764)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-09-11 10:39:18 +02:00
committed by GitHub
parent b9d157db40
commit 4f94319cd9
16 changed files with 51 additions and 78 deletions

View File

@@ -1,9 +1,12 @@
import { ActiveExecutions } from '@/active-executions';
import PCancelable from 'p-cancelable';
import { v4 as uuid } from 'uuid';
import type { IExecuteResponsePromiseData, IRun } from 'n8n-workflow';
import type {
IExecuteResponsePromiseData,
IRun,
IWorkflowExecutionDataProcess,
} from 'n8n-workflow';
import { createDeferredPromise } from 'n8n-workflow';
import type { IWorkflowExecutionDataProcess } from '@/interfaces';
import type { ExecutionRepository } from '@/databases/repositories/execution.repository';
import { mock } from 'jest-mock-extended';
import { ConcurrencyControlService } from '@/concurrency/concurrency-control.service';

View File

@@ -1,6 +1,5 @@
import { type Workflow } from 'n8n-workflow';
import type { Workflow, IWorkflowExecutionDataProcess } from 'n8n-workflow';
import { getExecutionStartNode } from '@/workflow-helpers';
import type { IWorkflowExecutionDataProcess } from '@/interfaces';
describe('WorkflowHelpers', () => {
describe('getExecutionStartNode', () => {