n8n/packages
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
..
@n8n perf(engine): Load only the columns and rows the execution path reads 2026-10-16 16:07:43 +02:00
cli perf(engine): Load only the columns and rows the execution path reads 2026-10-16 16:07:43 +02:00
core chore: Move the shared runtime-credential getter into BaseExecuteContext (#39470) 2026-10-06 09:37:56 +00:00
extensions/insights 🚀 Release 2.43.0 (#40376) 2026-10-06 07:10:16 +00:00
frontend 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
modules 🚀 Release 2.43.0 (#40376) 2026-10-06 07:10:16 +00:00
node-dev ci: Speed up the PR build job and move the E2E matrix off its path (no-changelog) (#39736) 2026-09-28 13:16:13 +00:00
nodes-base feat(Microsoft SharePoint Node): Add the event selector to the trigger (no-changelog) (#39987) 2026-10-06 09:11:25 +00:00
quality fix: Multiple migration timestamps withing a single PR (#40379) 2026-10-06 07:28:47 +00:00
workflow 🚀 Release 2.43.0 (#40376) 2026-10-06 07:10:16 +00:00