mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-18 14:56:50 +02:00
- 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> |
||
|---|---|---|
| .. | ||
| docs/adr | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| AGENTS.md | ||
| eslint.config.mjs | ||
| oxlint.config.mts | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||
| vitest.integration.config.ts | ||
@n8n/engine
n8n workflow execution engine (v2).
See the Engine v2 project for context. Public API and core interfaces are still being defined; the package is currently a scaffold and is not yet wired into n8n.
Dependencies
Be careful adding dependencies here. This package should not have runtime dependencies on other n8n components, only interfaces. If there is some functionality that should be shared, it should be factored into a common library.