fix(core): Always save evaluation executions (#16285)

This commit is contained in:
Eugene
2025-06-12 15:50:37 +02:00
committed by GitHub
parent b685084957
commit 739ad853cd
2 changed files with 30 additions and 3 deletions

View File

@@ -618,7 +618,16 @@ describe('TestRunnerService', () => {
pinData: {
[triggerNodeName]: [testCase],
},
workflowData: workflow,
workflowData: {
...workflow,
settings: {
...workflow.settings,
saveManualExecutions: true,
saveDataErrorExecution: 'all',
saveDataSuccessExecution: 'all',
saveExecutionProgress: false,
},
},
userId: metadata.userId,
partialExecutionVersion: 2,
triggerToStartFrom: {
@@ -742,7 +751,16 @@ describe('TestRunnerService', () => {
pinData: {
[triggerNodeName]: [testCase],
},
workflowData: workflow,
workflowData: {
...workflow,
settings: {
...workflow.settings,
saveManualExecutions: true,
saveDataErrorExecution: 'all',
saveDataSuccessExecution: 'all',
saveExecutionProgress: false,
},
},
userId: metadata.userId,
partialExecutionVersion: 2,
triggerToStartFrom: {

View File

@@ -189,7 +189,16 @@ export class TestRunnerService {
const data: IWorkflowExecutionDataProcess = {
executionMode: 'evaluation',
pinData,
workflowData: workflow,
workflowData: {
...workflow,
settings: {
...workflow.settings,
saveManualExecutions: true,
saveDataErrorExecution: 'all',
saveDataSuccessExecution: 'all',
saveExecutionProgress: false,
},
},
userId: metadata.userId,
partialExecutionVersion: 2,
triggerToStartFrom: {