n8n/packages/cli
Guillaume Jacquart aa7edc2b03
perf(editor): Keep sub-workflow progress off the execution hot path
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>
2026-10-06 10:50:08 +02:00
..
bin feat(core): Set OS process titles for n8n processes (#39362) 2026-09-28 07:23:48 +00:00
scripts fix(core): Build email templates on Windows (no-changelog) (#39823) 2026-09-29 06:47:57 +00:00
src perf(editor): Keep sub-workflow progress off the execution hot path 2026-10-06 10:50:08 +02:00
templates fix(Chat Trigger Node): Fix singular copy on the connect bar (#37945) 2026-09-07 09:10:10 +00:00
test fix(core): Limit background task continuation to the latest stop group (#40333) 2026-10-05 15:40:03 +00:00
AGENTS.md docs: Focus agent quality guidance (no-changelog) (#39620) 2026-09-25 11:07:20 +00:00
BREAKING-CHANGES.md fix: Security patches (#22748) 2025-12-05 13:28:39 +00:00
eslint.config.mjs refactor(core): Move ownership transfer registry to backend services (#40308) 2026-10-05 14:30:21 +00:00
nodemon.json
oxlint.config.mts refactor(core): Drop TypeORM imports from event bus, LDAP reset, ownership, evaluation, and tags (no-changelog) (#39353) 2026-10-05 12:14:47 +00:00
package.json 🚀 Release 2.43.0 (#40376) 2026-10-06 07:10:16 +00:00
tsconfig.build.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
tsconfig.json refactor(core): Move EventService to backend-services (#39743) 2026-09-29 10:22:19 +00:00
vitest.config.base.ts build: Load backend test utilities from source in Vitest (#40212) 2026-10-05 06:25:06 +00:00
vitest.config.integration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.integration.ts ci: Measure PR coverage only for changed source files (no-changelog) (#39675) 2026-09-28 08:49:46 +00:00
vitest.config.migration.testcontainers.ts ci: Measure PR coverage only for changed source files (no-changelog) (#39675) 2026-09-28 08:49:46 +00:00
vitest.config.migration.ts ci: Measure PR coverage only for changed source files (no-changelog) (#39675) 2026-09-28 08:49:46 +00:00
vitest.config.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00