n8n/packages/cli/src
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
..
__tests__ fix(core): Reload static data for queued executions (#39668) 2026-10-05 21:31:11 +00:00
auth chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
binary-data refactor(core): Move workflow sharing service to backend services (no-changelog) (#40157) 2026-10-02 11:24:08 +00:00
chat chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
collaboration refactor(core): Move shared cache infrastructure to backend services (no-changelog) (#39851) 2026-09-29 12:55:05 +00:00
commands 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
concurrency refactor(core): Move EventService to backend-services (#39743) 2026-09-29 10:22:19 +00:00
config fix: Replace deprecated APIs in services and tooling (#40199) 2026-10-05 04:50:04 +00:00
constants feat(core): Add feature flag for granular credential sharing work (#39293) 2026-09-22 13:22:12 +00:00
controllers chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
credentials fix(core): Use the new client ID and secret for OAuth2 client credentials (#39891) 2026-10-05 12:02:55 +00:00
databases/repositories/__tests__ perf(core): Stop loading project members when listing credentials (#39068) 2026-09-18 12:30:06 +00:00
deduplication
deprecation fix(core): Keep node parameters when n8n Assistant cannot see them (#39454) 2026-10-01 13:55:32 +00:00
encryption refactor(core): Move shared errors to @n8n/errors (no-changelog) (#39753) 2026-09-29 07:19:05 +00:00
environments.ee/variables refactor(core): Move shared cache infrastructure to backend services (no-changelog) (#39851) 2026-09-29 12:55:05 +00:00
errors feat(editor): Submit selected project changes from the promote modal (#39609) 2026-10-05 15:31:23 +00:00
evaluation.ee refactor(core): Move instance write access service (#40307) 2026-10-05 13:54:20 +00:00
eventbus 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
events fix(core): Send instance group facts to PostHog with the owner ID (no-changelog) (#39084) 2026-10-02 13:46:50 +00:00
execution-lifecycle perf(editor): Keep sub-workflow progress off the execution hot path 2026-10-06 10:50:08 +02:00
executions feat(core): Stop background workflows in Preview (no-changelog) (#40291) 2026-10-05 13:19:23 +00:00
expression-observability fix(core): Keep OpenTelemetry export working after a restart when Sentry is enabled (#38480) 2026-09-23 09:05:06 +00:00
instance-settings-loader chore: Bundle/2.x (#40030) 2026-10-01 09:50:06 +03:00
jwks feat(core): Implements core JWKS registry for extending with new sets (no-changelog) (#39610) 2026-09-30 13:19:26 +00:00
license chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
metrics feat(core): Export the stored schedule of durable system tasks as metrics (#40009) 2026-10-01 11:46:12 +00:00
mfa chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
middlewares refactor(core): Move shared errors to @n8n/errors (no-changelog) (#39753) 2026-09-29 07:19:05 +00:00
modules feat(editor): Show Agent plans in preview chat (no-changelog) (#40006) 2026-10-05 15:42:28 +00:00
node-catalog feat(core): Let MCP discover and install verified community nodes (no-changelog) (#37374) 2026-09-21 21:44:05 +00:00
node-execution chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
oauth refactor(core): Move finder services to backend services (no-changelog) (#40069) 2026-10-02 07:38:15 +00:00
permissions.ee refactor(core): Move project scope service to backend services (#40209) 2026-10-02 14:45:32 +00:00
policy refactor(core): Move REST error handling to backend services (no-changelog) (#39907) 2026-09-30 10:31:37 +00:00
posthog fix(core): Send instance group facts to PostHog with the owner ID (no-changelog) (#39084) 2026-10-02 13:46:50 +00:00
public-api refactor(API): Migrate GET /settings/log-streaming/event-types to the decorator pattern (no-changelog) (#40234) 2026-10-05 15:55:04 +00:00
push feat(core): Add test-only process internals and heap diagnostics routes (no-changelog) (#39881) 2026-10-02 08:56:30 +00:00
scaling feat(core): Add an instance setting for Agents (#40153) 2026-10-02 13:28:21 +00:00
scheduling feat(core): Run workflow history pruning as a durable system task (no-changelog) (#40106) 2026-10-02 15:57:08 +00:00
security feat(core): Serve a nonce-based Content-Security-Policy on n8n's HTML pages (#36749) 2026-08-27 16:39:04 +00:00
security-audit chore: Schema-First migration — audit (#39207) 2026-09-28 12:35:38 +00:00
services refactor(core): Move ownership transfer registry to backend services (#40308) 2026-10-05 14:30:21 +00:00
shutdown test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
sso.ee refactor(core): Move shared errors to @n8n/errors (no-changelog) (#39753) 2026-09-29 07:19:05 +00:00
task-runners fix(core): Cap pending task request timeouts to the shutdown deadline (#40136) 2026-10-02 10:46:33 +00:00
telemetry fix(core): Send instance group facts to PostHog with the owner ID (no-changelog) (#39084) 2026-10-02 13:46:50 +00:00
tool-generation fix(core): Prevent unsupported waiting operations in agent tools (#34587) 2026-07-21 08:13:03 +00:00
types feat(core): Send a log streaming audit event when a policy blocks an action (#39581) 2026-09-29 14:02:09 +00:00
user-management/email refactor(core): Move EventService to backend-services (#39743) 2026-09-29 10:22:19 +00:00
utils refactor(core): Move invert helper to shared utils (no-changelog) (#40144) 2026-10-02 12:23:31 +00:00
webhooks feat(core): Add inbound-auth contracts and fail-closed defaults (no-changelog) (#40004) 2026-10-05 09:30:49 +00:00
workflows refactor(core): Move instance write access service (#40307) 2026-10-05 13:54:20 +00:00
abstract-server.ts refactor(core): Move shared errors to @n8n/errors (no-changelog) (#39753) 2026-09-29 07:19:05 +00:00
activation-errors.service.ts refactor(core): Move shared cache infrastructure to backend services (no-changelog) (#39851) 2026-09-29 12:55:05 +00:00
active-executions.ts fix(core): Stop waiting on enqueued jobs in worker shutdown (#40065) 2026-10-02 09:50:53 +00:00
active-workflow-manager.ts feat(core): Send a log streaming audit event when a policy blocks an action (#39581) 2026-09-29 14:02:09 +00:00
command-registry.ts refactor(core): Load packaged modules from a static manifest (no-changelog) (#40037) 2026-10-02 13:42:01 +00:00
constants.ts feat(core): Add a timeout option to test webhook registrations (no-changelog) (#38625) 2026-09-15 09:32:27 +00:00
controller.registry.ts feat(API): Support multipart request bodies on Public API controller routes (no-changelog) (#40074) 2026-10-05 15:08:34 +00:00
crash-journal.ts feat(core): Add push-based reload endpoint for custom node development (#36837) 2026-09-15 11:46:25 +00:00
credential-types.ts feat(core): Add credential type availability endpoint for a project (no-changelog) (#39317) 2026-09-23 15:52:26 +00:00
credentials-helper.ts fix(core): Use the new client ID and secret for OAuth2 client credentials (#39891) 2026-10-05 12:02:55 +00:00
credentials-overwrites.ts fix(core): Resolve hidden OAuth endpoint fields from the credential type for all credentials (#38697) 2026-09-18 12:56:22 +00:00
external-hooks.ts feat: Wire up the email change confirmation flow (#38730) 2026-09-16 15:49:37 +00:00
generic-helpers.ts refactor(core): Move shared errors to @n8n/errors (no-changelog) (#39753) 2026-09-29 07:19:05 +00:00
index.ts
interfaces.ts fix(core): Keep jobs a worker enqueued out of its shutdown drain (#39800) 2026-09-30 11:46:31 +00:00
license.ts chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
load-nodes-and-credentials.ts feat: Hide generated AI tools listed in NODES_EXCLUDE and empty node creator entries (#39577) 2026-09-30 14:02:32 +00:00
manual-execution.service.ts fix(core): Show clear error when running a tool node without an Agent (#30626) 2026-05-21 09:48:28 +00:00
node-types.ts feat: Hide generated AI tools listed in NODES_EXCLUDE and empty node creator entries (#39577) 2026-09-30 14:02:32 +00:00
requests.ts chore: Bundle/2.x (#40030) 2026-10-01 09:50:06 +03:00
response-helper.ts refactor(core): Move REST error handling to backend services (no-changelog) (#39907) 2026-09-30 10:31:37 +00:00
server.ts feat(core): Implements core JWKS registry for extending with new sets (no-changelog) (#39610) 2026-09-30 13:19:26 +00:00
utils.ts feat(editor): Show sub-workflow progress on the node border 2026-10-06 10:50:08 +02:00
utlity.types.ts
wait-tracker.ts chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
workflow-execute-additional-data.ts feat(core): Forward sub-workflow node progress to the parent execution 2026-10-06 10:50:06 +02:00
workflow-helpers.ts fix(Execute Workflow Node): Return declared sub-workflow outputs (#39755) 2026-09-29 12:40:18 +00:00
workflow-hook-context.service.ts feat(core): Expose workflow hook context to lifecycle external hooks (#34738) 2026-07-28 11:27:59 +00:00
workflow-runner.ts fix(core): Reload static data for queued executions (#39668) 2026-10-05 21:31:11 +00:00
zod-alias-support.ts