n8n/packages
Veljko Terzic 75b94ccad5
perf(engine): Prefetch handler reads when a step message is published
Start the reads of a queue consumer when its message is published, so
the reads run while the message waits in the serial queue.

- step:settled: the step, the execution, the failed-step probe and the
  successor summaries. The reads start after the settlement commits.
- step:ready: the predecessor rows for the step inputs. The claim and the
  execution status read after the claim stay on the critical path.

A consumer that finds no prefetch does the same reads itself.

Ordering change: the settled handler can see an execution status that is
older by one queue wait. If a cancel lands in that window, one more step
can be planned. The ready handler cancels that step after its claim.
createSteps still checks for failed steps under the execution lock.
Planning reads still run after the settlement of the step commits, so
the last predecessor of a successor to settle sees the others settled.
No durability change.
2026-10-16 15:20:32 +02:00
..
@n8n perf(engine): Prefetch handler reads when a step message is published 2026-10-16 15:20:32 +02:00
cli feat(engine): Add engine v2 tracing spans and a benchmark NoOp opt-in 2026-10-16 00:46:50 +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