n8n/packages/cli
Florian Gößler fd4f0d76b6
perf(engine): Load only the columns and rows the execution path reads
- loadExecution no longer reads trigger_outputs. It runs for every step,
  but only the execution start reads the trigger payload. The start now
  reads it with the new loadTriggerOutputs, in parallel with
  loadExecution, so the start has no extra sequential round trip.
  ExecutionRecord no longer carries triggerOutputs; NewExecutionRecord
  still does.
- loadAllSteps becomes loadCompletedStepOutputs. The v1 step data loader
  used only the node id, the iteration and the outputs of completed
  steps, but it read all 12 columns of every step. The query now filters
  on status = 'completed' and reads the three columns.
- These queries run as static named prepared statements. The
  prepared-statement helper moves to database/prepared-query.ts and
  borrows a pooled connection when it runs outside a transaction.

Durability and ordering guarantees do not change.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 16:07:43 +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(engine): Load only the columns and rows the execution path reads 2026-10-16 16:07:43 +02:00
templates fix(Chat Trigger Node): Fix singular copy on the connect bar (#37945) 2026-09-07 09:10:10 +00:00
test feat: Add the n8n Chat agent chat page, agents library and merged chat lists (no-changelog) (#40335) 2026-10-06 09:35:35 +00:00
AGENTS.md docs: Focus agent quality guidance (no-changelog) (#39620) 2026-09-25 11:07:20 +00:00
BREAKING-CHANGES.md
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
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
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
vitest.workspace-externals.ts