Commit Graph

5432 Commits

Author SHA1 Message Date
mfsiega
5ecb4be0fa fix(core): Adapt worker pools to current master (no-changelog)
Everything in this branch that is NOT part of the reviewed #32975 patch. The
preceding commit is that patch verbatim; this commit is the entire delta needed
to land it on master, so review can stop here.

- Renumber the CreateProjectPoolSettings migration 1787232667996 ->
  1788254018000, past master's newest migration (1787841960965). Digits only;
  the migration body is unchanged.
- Reconcile the generated project schema docs: keep master's
  type_availability_policy_scope link alongside the new project_pool_settings
  entry. Both files are generated, and `db_schema_check` validates the result.
- Sort the `ensureError` import in workflow-runner.ts, which the replay placed
  between two `n8n-workflow` imports. Import position only; the set of changed
  lines in that file is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 10:57:07 +00:00
Mike Repeć
686562c1c4 feat(core): Worker Pools (no-changelog)
Squash of the hackmation/worker-pools branch (PR #32975), replayed verbatim
onto master. Contains pool-based execution routing, project/workflow pool
settings, worker pool UI, and the rollout feature flag.

Squashed commits:
- Hackmation/worker pools labels (#30378)
- feat(core): Route executions to dedicated worker pool queues (#30380)
- feat(core): Add worker pool defaults UI and instance settings (#30386)
- feat(editor): Show worker pool and queue name in Workers view (#30391)
- feat(editor): Periodically refresh worker pools on settings page (#30397)
- feat(core): Add per-workflow worker pool override settings (#30393)
- feat(db): add project_pool_settings table (#30398)
- feat(core): Route executions to project-level worker pool defaults (#30404)
- feat(core): Add workflow execution priority setting (#30409)
- feat(core): Add project pool settings endpoint and UI filtering (#30411)
- feat(core): Add PATCH for project worker pool settings (#30412)
- refactor(ProjectSettings): simplify project update call
- refactor(core): prepare Worker Pools for rollout behind a flag (#32974)

This commit carries NO adaptation to master beyond the one change required for
the patch to apply at all: the frontend test `defaultSettings` edit targets
@n8n/frontend-test-utils, since #37304 moved that file out of editor-ui.
Everything else needed to land on current master is isolated in the next commit,
so this one can be diffed directly against the reviewed state of #32975.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-01 10:52:32 +00:00
Ali Elkhateeb
691bf7bdfc
refactor(API): Move evaluation test-run reads behind a service (no-changelog) (#37199)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Dmitrii <dmitrii.kulikov@n8n.io>
2026-09-01 07:14:28 +00:00
Matsu
0cd41a9161
test: Fix intl.DateTimeFormatter bug in mailer tests (#37476) 2026-09-01 09:49:11 +03:00
Andreas Fitzek
7700b7630d
fix(core): Fall back to the instance key when the key store is unavailable (no-changelog) (#37439)
Some checks failed
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Util: Publish API Schema / Cloudflare Pages (push) Has been cancelled
2026-08-31 20:13:54 +00:00
Irénée
e93deef366
feat(API): Add git connections pull to import projects from working copy (no-changelog) (#36770)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Nour Alhadi Mahmoud <nour.mahmoud@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 19:19:53 +00:00
Guillaume Jacquart
37045ce3bd
feat(core): Add node type policy tables and repositories (no-changelog) (#37254)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 14:40:11 +00:00
MHMD
e774ed2e48
feat(core): Add chat-specific branding to the shared OAuth consent screen (#37430) 2026-08-31 14:35:22 +00:00
Tomi Turtiainen
b04acabea4
feat(engine): Let the control plane mint the engine 2.0 execution id (#37224) 2026-08-31 14:04:01 +00:00
Guillaume Jacquart
1f19b11c40
feat(core): Enforce policy on workflow publish (no-changelog) (#36955)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 13:50:36 +00:00
Danny Martini
66c7e4e9cb
feat(core): Add QuickJS expression engine option alongside isolated-vm (no-changelog) (#33969)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-08-31 13:40:28 +00:00
Guillaume Jacquart
380788fd9a
fix(core): Bind OAuth token grants to their approved resource (#37122)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 12:47:45 +00:00
Uddish Verma
2589f2e19e
refactor(API): Migrate PUT and DELETE /workflows/{id} to the decorator pattern (no-changelog) (#36943)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 12:31:09 +00:00
mfsiega
cae0c8be00
fix(core): Stop webhook routing locally before best-effort external teardown (#37241)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 11:55:28 +00:00
Robin Braumann
6e9c3e2ecf
fix(core): Re-check user tool access on agent runtime cache hits (#37401)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 11:37:58 +00:00
Tomi Turtiainen
0ba1bd1ad0
feat(engine): Accept production trigger nodes in the v1 workflow converter (#37148) 2026-08-31 11:17:37 +00:00
Andreas Fitzek
f50f19d3fe
feat(core): Gate workflow content writes on a policy clearance token (no-changelog) (#37397) 2026-08-31 11:07:53 +00:00
Jaakko Husso
19582fb20d
fix(core): Verify a resolved agent model against the credential's live list (#37240)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 10:42:51 +00:00
Robin Braumann
a1b1f2e918
perf(core): Acquire agent workspace sandboxes lazily, make them persistent, and share them with delegated sub-agents (#37242)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 10:13:10 +00:00
Sandra Zollner
49e28b57ae
fix(editor): Keep workflows moved out of a folder visible in the source control push modal (#37128)
Some checks failed
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Util: Publish API Schema / Cloudflare Pages (push) Waiting to run
Build: Benchmark Image / build (push) Has been cancelled
Util: Refresh cubic schema / Refresh vendored cubic schema (push) Has been cancelled
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-31 09:58:39 +00:00
Kai
1e4edb29d9
feat(core): Limit Git connections to one instance connection (#37302) 2026-08-31 09:15:57 +00:00
Daria
b557e90b0f
fix(core): Scope active workflow IDs to the requesting user's projects (#37326) 2026-08-31 08:46:24 +00:00
Ali Elkhateeb
8342a46636
fix(API): Resolve discover scopes from the request token grant (#37225)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 07:37:16 +00:00
Jaakko Husso
38e33a4956
fix: Require a configured model before the AI Assistant accepts a prompt (#37226)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 07:21:29 +00:00
Precious Amesinlola
db49eaec07
feat(core): Rename the MCP n8n Connect services tool to Gateway credits (no-changelog) (#37272)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 07:13:28 +00:00
Precious Amesinlola
c96e7c0da4
feat(core): Rename n8n credits copy to Gateway credits in AI assistant (no-changelog) (#37271)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 07:13:27 +00:00
Precious Amesinlola
035dfbd2b2
feat(core): Rename n8n credits copy to Gateway credits in gateway and agent services (no-changelog) (#37269)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 07:13:26 +00:00
Rick Gale
72283bd802
fix(core): Fix evaluation runs failing when the Evaluation Trigger feeds the entry node (#36975)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-28 15:14:58 +00:00
Michael Kret
0fbc52630a
fix(ai-builder): Preserve managed n8n credits when building workflows (#37198) 2026-08-28 14:27:56 +00:00
Ricardo Espinoza
e9bf9a1df0
fix(core): Track MCP connection handshake failures by response status (no-changelog) (#36667) 2026-08-28 14:15:20 +00:00
Ali Elkhateeb
16ea2c9016
refactor(API): Route data tables public API through domain services (no-changelog) (#37059)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 13:14:21 +00:00
Jaakko Husso
3e6edc11b7
refactor(core): Make the Instance AI durable event log the only storage path (no-changelog) (#36729)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Raúl Gómez Morales <raul00gm@gmail.com>
2026-08-28 12:00:45 +00:00
Robin Braumann
fa43bc8892
feat(core): Resolve sub-agents and workflow tools by run type (#37117)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 11:52:29 +00:00
Ali Elkhateeb
bde05e016e
fix(core): Return a single not-found message when disconnecting a credential (#37292)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 11:51:35 +00:00
Robin Braumann
122ee6d5aa
fix(Chat Trigger Node): Apply authentication to test webhook requests (#37296)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 11:43:42 +00:00
Mutasem Aldmour
16a1a78f61
fix(core): Stop the workflow builder writing Python Code nodes that cannot run (#37083)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-28 11:11:37 +00:00
Iván Ovejero
344ef416bf
refactor(engine): Log through an injected logger instead of the console (#37111) 2026-08-28 10:04:56 +00:00
Rúben Castro
69ffa3b947
feat(core): Evaluate content-import policy on workflow import and pull (no-changelog) (#37151)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-28 08:14:01 +00:00
Dmitrii
662a64de83
refactor(API): De-Express projects endpoints and drop direct-repo reads (no-changelog) (#37123)
Some checks are pending
Build: Benchmark Image / build (push) Waiting to run
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
2026-08-28 07:53:17 +00:00
José Braulio González Valido
614dfa62f8
feat(ai-builder): Surface thread provenance on Instance AI traces (no-changelog) (#36909)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-28 07:50:01 +00:00
Theodore Nastos
5dd2454f0d
fix(core): Prevent OpenTelemetry disable from failing when OTLP collector is unreachable (#37203) 2026-08-28 07:40:18 +00:00
James Martin
fabb8a6da4
fix(editor): Fix Chat node in-editor test mode with authentication (no-changelog) (#37252)
Co-authored-by: MHMD <mohamed.dounnani@n8n.io>
2026-08-28 07:14:51 +00:00
MHMD
42a782d6fb
fix(core): Thread execution id through dynamic-credential storage (#37233) 2026-08-28 06:19:06 +00:00
Luigi Gubello
54b2b94d56
feat(core): Serve a nonce-based Content-Security-Policy on n8n's HTML pages (#36749)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-27 16:39:04 +00:00
Lorent Lempereur
4b9dc5a5ec
fix(core): Apply proxy environment variables consistently across packages and processes (#37124)
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-27 16:26:08 +00:00
MHMD
1f062f9ec9
feat(core): Chat trigger publish validation & workflow:execute access control (#37231) 2026-08-27 15:45:04 +00:00
Tomi Turtiainen
6eb19e1668
feat(engine): Push engine 2.0 execution progress to the editor (#37142)
Some checks are pending
Build: Benchmark Image / build (push) Waiting to run
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
2026-08-27 15:32:25 +00:00
Sam Wooler
b3a77b0ba8
fix(API): Skip projectRelations eager-load in GET /credentials (#37138)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-27 15:25:47 +00:00
Kai
a41c79f3e6
test(core): Restructure and dedupe the workflow review test suites (no-changelog) (#37243) 2026-08-27 15:22:35 +00:00
Tomi Turtiainen
68afc97ac9
feat(engine): Receive engine lifecycle events in the control plane (#37014) 2026-08-27 13:53:18 +00:00