Iterators design updates (#15146)

A few fixes :
- add a counter of iteration for nodes that have been run
<img width="601" height="538" alt="Capture d’écran 2025-10-16 à 17 50
07"
src="https://github.com/user-attachments/assets/de9d56ed-3057-4a67-b1d7-b421f644d11d"
/>

- if a node has fail, we should end the workflow even if a step is still
running
- fix position for add node button in iterator loop :
Before


https://github.com/user-attachments/assets/eafeda64-977f-415d-bab4-b7d0c44406b0

After


https://github.com/user-attachments/assets/6ff221a3-b287-45f6-977f-b127f9998692
This commit is contained in:
Thomas Trompette
2025-10-16 18:32:47 +02:00
committed by GitHub
parent 3dd70aad03
commit 0d0cce7bb1
6 changed files with 99 additions and 33 deletions
@@ -224,10 +224,6 @@ export class WorkflowExecutorWorkspaceService {
const steps = workflowRun.state.flow.steps;
if (workflowShouldKeepRunning({ stepInfos, steps })) {
return;
}
if (workflowShouldFail({ stepInfos, steps })) {
await this.workflowRunWorkspaceService.endWorkflowRun({
workflowRunId,
@@ -239,6 +235,10 @@ export class WorkflowExecutorWorkspaceService {
return;
}
if (workflowShouldKeepRunning({ stepInfos, steps })) {
return;
}
await this.workflowRunWorkspaceService.endWorkflowRun({
workflowRunId,
workspaceId,