mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 13:39:44 +02:00
Two costs that scaled with the number of sub-executions rather than with anything visible, both of which a parent loop over a few hundred items would have multiplied. The progress arc no longer trickles between steps. The trickle needed a 1s interval, and because the composable was called unconditionally, every default node on the canvas ran one whether a sub-workflow was executing or not. The arc's own reason for existing was weak once the point was granted that the rotating running border already shows the node is alive, so this drops the behaviour rather than gating the timer. The reachable-node count is now computed on first emit instead of at hook registration, and node events return early when no parent pushRef resolves. Executions with no editor session — the overwhelming majority — no longer walk the child workflow's graph at all. Nodes are still tallied before that bail-out, so an editor attaching mid-run sees a truthful count. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| shared | ||
| execute-error-workflow.ts | ||
| execution-lifecycle-hooks.ts | ||
| restore-binary-data-id.ts | ||
| save-execution-progress.ts | ||
| to-save-settings.ts | ||