refactor(core): Persist node execution order, and forward it to the frontend (#14455)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-04-09 10:19:58 +02:00
committed by GitHub
parent 707ecb63ae
commit 9ba58ca80b
41 changed files with 235 additions and 113 deletions

View File

@@ -359,8 +359,9 @@ describe('RunData', () => {
const { getByTestId, queryByTestId } = render({
runs: [
{
startTime: new Date().getTime(),
executionTime: new Date().getTime(),
startTime: Date.now(),
executionIndex: 0,
executionTime: 1,
data: {
main: [[{ json: {} }]],
},
@@ -368,8 +369,9 @@ describe('RunData', () => {
metadata,
},
{
startTime: new Date().getTime(),
executionTime: new Date().getTime(),
startTime: Date.now(),
executionIndex: 1,
executionTime: 1,
data: {
main: [[{ json: {} }]],
},
@@ -413,6 +415,7 @@ describe('RunData', () => {
{
hints: [],
startTime: 1737643696893,
executionIndex: 0,
executionTime: 2,
source: [
{
@@ -598,8 +601,9 @@ describe('RunData', () => {
runs?: ITaskData[];
}) => {
const defaultRun: ITaskData = {
startTime: new Date().getTime(),
executionTime: new Date().getTime(),
startTime: Date.now(),
executionIndex: 0,
executionTime: 1,
data: {
main: [defaultRunItems ?? [{ json: {} }]],
},