Commit Graph

23671 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
Matsu
a0585d84ba
ci: Add additional alerts for CI failures (#37398)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-09-01 10:40:58 +03: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
n8n-cat-bot[bot]
46613e4a12
chore: CI: Remove the SQLite Sanity Check job from PR CI (#37467)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 06:58:21 +00:00
Ville Halminen
e3008bd3e5
feat(editor): Add Contact Support link to Help menu for Cloud instances (#37414) 2026-09-01 06:37:52 +00:00
Matsu
0cd41a9161
test: Fix intl.DateTimeFormatter bug in mailer tests (#37476) 2026-09-01 09:49:11 +03:00
n8n-assistant[bot]
88378fa6d8
chore: Update e2e impact map (#37472)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-01 03:03:12 +00: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
Danny Martini
fe61e57740
fix(Gmail Trigger Node): Do not lose queued messages when a fetch fails mid-poll (#37263)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 16:53:21 +00:00
Guillaume Jacquart
e4e25df814
test(core): Add integration coverage for the workflowPublish policy point (#37445)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 14:57:36 +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
Dimitri Lavrenük
292f442afa
fix: Add parameter binding for mongodb sort and projection (#37335) 2026-08-31 14:23:28 +00:00
mfsiega
2586e21ebe
fix(core): Add a timeout to the S3 startup connection check (#37245)
Co-authored-by: Keith Rigg <keith.rigg@inovize.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 14:16:26 +00:00
Declan Carroll
cc6cf06cbe
ci: Gate the Docker smoke build on native pins instead of re-verifying pushed images (no-changelog) (#37424)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 15:51:20 +01: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
Romeo Balta
04edd2b911
feat(editor): Nudge manual builders experiment (no-changelog) (#37145)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 13:40:49 +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
Anne Aguirre
7e8161043d
fix(ai-builder): Emit tool call events for Workflow, HTTP Request and Code tools (#37044) 2026-08-31 12:39:49 +00:00
Tomi Turtiainen
464fb4701a
refactor(core): Extract task data assembly from the execution loop (no-changelog) (#37386) 2026-08-31 12:31:35 +00:00
Tomi Turtiainen
530b8a9b09
refactor(core): Extract node error reporting from the execution loop (no-changelog) (#37385) 2026-08-31 12:31:35 +00:00
Tomi Turtiainen
4cf6af77fb
refactor(core): Extract the node run block of the execution loop (no-changelog) (#37384) 2026-08-31 12:31:34 +00:00
Tomi Turtiainen
05003f028b
refactor(core): Extract the per-node preamble of the execution loop (no-changelog) (#37383) 2026-08-31 12:31:33 +00:00
Tomi Turtiainen
ae1d0c44d8
refactor(core): Extract execution setup and bootstrap from the main loop (no-changelog) (#37382) 2026-08-31 12:31:33 +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
Tomi Turtiainen
acabae0565
chore: Add cubic review agent for DB migrations (#37418) 2026-08-31 12:20:47 +00:00
Danny Martini
90a84ab28f
fix(core): Validate the expression engine timeout and memory limit settings (#37333)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-31 12:14:59 +00:00
Savelii
a6a28834a3
refactor(core): Deprecate the legacy Cipher encrypt and decrypt methods (no-changelog) (#37408)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 12:13:51 +00:00
Robin Braumann
39f49b9a74
feat: Trigger observational memory mid-run on a token budget (#37234)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 12:11:47 +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
Tomi Turtiainen
5d98bddd6e
refactor(core): Name the execution loop control conditions (no-changelog) (#37387) 2026-08-31 10:37:17 +00:00
Robin Braumann
0e1901f222
fix(Chat Trigger Node): Respect private chat setting in tests (#37406)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 10:31:31 +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
Declan Carroll
03d27b7da7
ci: Scan release images with syft instead of cdxgen (no-changelog) (#37344)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 09:56:13 +00:00
Kai
1e4edb29d9
feat(core): Limit Git connections to one instance connection (#37302) 2026-08-31 09:15:57 +00:00
Lorent Lempereur
5cb70b7bf1
feat(core): Add the SystemTask contract, decorator and registry (no-changelog) (#37026)
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 08:59:22 +00:00
Danny Martini
99c9e796c4
fix(core): Share one time budget across nested expression evaluations (#37330)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-31 08:57:33 +00:00
Danny Martini
addc7f94b8
fix(Gmail Trigger Node): Do not miss emails when more than 100 arrive between polls (#37261)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 08:55:19 +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
Declan Carroll
21b3de9165
ci: Repin rharkor/caching-for-turbo from v2.4.2 to v2.5.1 (no-changelog) (#37400)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 08:45:59 +00:00
Declan Carroll
f97eb7bd2f
build: Reduce repeated work in the Docker image builds (#37356)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 09:28:37 +01:00