Commit Graph

639 Commits

Author SHA1 Message Date
Arvin Ansari
70b3f2fcaf feat(core): Let the agent read which nodes the workflows in scope use (no-changelog)
The dependency index already records a row per node type per workflow, kept
current on every save, and the workflow repository already resolves a
`nodeTypes` filter against it. No caller ever supplied one, so "which workflows
use Postgres" meant fetching every workflow and parsing its nodes, and "what is
this folder built out of" was not answerable at all.

- `workflows(list)` gains `nodeTypes`. It matches the node a workflow actually
  contains, so a workflow merely NAMED for a service is correctly excluded and
  one that uses it under an unrelated name is correctly found.
- `workflows(node-usage)` returns the node-type histogram for a scope, most-used
  first, and composes with the folder arguments. Offered only where the adapter
  can answer it, so the agent is never shown a summary it would get an error from.
- Counts DISTINCT workflows rather than node instances: three HTTP Request nodes
  in one workflow are one user of the type, which is the question being asked.
- The scan is capped, and a capped scan says its counts are a lower bound —
  silently truncating would read as a total, and these are numbers a caller
  quotes back to the user.
- Gated separately from folder context. The two answer different questions
  (where something lives vs what it is made of), and one switch could not tell
  which of them moved a result.

Shared field descriptions are hoisted to constants because the schema sanitizer
requires a single description per field name across the action union.
2026-08-27 19:06:06 +02:00
Yuliia Pominchuk
8c6d469c19
fix(core): Add project:manageUsers scope to gate project membership changes (#36243)
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
Util: Publish API Schema / Cloudflare Pages (push) Waiting to run
2026-08-19 18:43:35 +00:00
Anne Aguirre
246e6d99bc
feat(ai-builder): Show why unsupported workflows cannot be run within agents in tool selection modal (#36519) 2026-08-19 15:09:01 +00:00
Kai
ee7584255f
feat(core): Loosen the workflow review activity schema for cause events (no-changelog) (#36376)
Co-authored-by: Jan K. <jan.kalkan@n8n.io>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 08:47:02 +00:00
Irénée
d42484b7f6
feat(core): Add project Git connection table (no-changelog) (#36549)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-19 07:21:32 +00:00
Sandra Zollner
f938e13b45
feat(core): Persist review baseline at approval time (#36132)
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
Util: Publish API Schema / Cloudflare Pages (push) Waiting to run
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: kgrhartlage <kai.hartlage@n8n.io>
2026-08-18 17:35:58 +00:00
Kai
ec4ad66ed6
feat(editor): Show review status as a badge on the workflows list (#36476) 2026-08-18 16:26:52 +00:00
Benjamin Schroth
3d70ae7fc4
fix(core): Run agent scheduled tasks in the timezone they were authored in (#36226) 2026-08-18 14:21:46 +00:00
Irénée
9c947996da
feat(core): Add Git connection database table (no-changelog) (#36268)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-18 13:54:47 +00:00
Robin Braumann
d551999c6c
fix(core): Surface failures in agent sessions (#36492)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 13:07:10 +00:00
n8n-release-tag-merge[bot]
44a5deb577 Merge tag 'n8n@2.36.0' 2026-08-18 09:41:33 +00:00
Anne Aguirre
87e8b9c58f
fix(ai-builder): Fix for autosave and publish events issues (#36241)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 09:17:27 +00:00
n8n-assistant[bot]
8f82586bba
🚀 Release 2.36.0 (#36483)
Co-authored-by: Matsuuu <16068444+Matsuuu@users.noreply.github.com>
2026-08-18 08:24:56 +00:00
oleg
490b368d90
feat(core): Add AI Assistant setup funnel telemetry (#36391) 2026-08-17 16:15:14 +00:00
Ali Elkhateeb
7060434f1f
refactor(API): Route public API credentials through the shared credentials service (#36048) 2026-08-17 13:14:21 +00:00
Danny Martini
faf4dc35df
feat(core): Refuse durable pollers when an active workflow has duplicate trigger node ids (#36340)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 12:13:18 +00:00
Jan Kalkan
92339bb2b0
feat(core): Complete the review activity feed and add the decision note (no-changelog) (#36137)
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) / Notify Slack on failure (push) Blocked by required conditions
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Util: Update Node Popularity / approve-and-automerge (push) Has been cancelled
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: kgrhartlage <kai.hartlage@n8n.io>
2026-08-16 14:58:24 +00:00
Emilia
026cee3507
feat(core): Coalesce a Schedule Trigger node's catch-up runs after downtime (#35524)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-08-14 13:04:09 +00:00
Kai
dd82601f64
feat(editor): Split workflow review inbox sections (#36216) 2026-08-14 08:53:49 +00:00
Emilia
619410fdcb
feat(Schedule Trigger Node): Add "If Execution Is Missed" option (#35626)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-08-13 17:27:41 +00:00
Emilia
6f3fed6e9f
feat(core): Fence a poll trigger's cursor commit on its scheduler lease (no-changelog) (#35372)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-08-13 15:21:21 +00:00
Kai
cbb5577053
feat(editor): Let users update review descriptions (#36069)
Some checks are pending
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.23.2) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.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) / Notify Slack on failure (push) Blocked by required conditions
2026-08-12 20:38:11 +00:00
Mike Repeć
1a12af601b
fix(core): Report the real activation mode for triggers activated via the publication outbox (#36123)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-12 13:17:53 +00:00
Sandra Zollner
64dcebb649
feat(core): Restrict workflow review decisions to assigned reviewers (#36040) 2026-08-12 12:10:11 +00:00
Jan Kalkan
90b201e47b
feat(core): Add comments to the workflow review activity feed (no-changelog) (#35792)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Sandra Zollner <sandra.zollner@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 09:36:55 +00:00
Emilia
a9787fcd6f
feat(core): Commit a poll trigger's cursor and its execution in one transaction (no-changelog) (#35295)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-08-11 17:59:29 +00:00
Emilia
93ff542e92
feat(core): Add poller_state table for durable poll trigger cursors (no-changelog) (#35128)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-08-11 16:31:00 +00:00
Jan Kalkan
e65580bf10
feat(core): Add the workflow review activity feed (no-changelog) (#35791)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Sandra Zollner <sandra.zollner@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 14:20:01 +00:00
Jan Kalkan
41d54e77f1
feat(core): Add workflow review activity log tables and migration (no-changelog) (#35517)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Sandra Zollner <sandra.zollner@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:25:46 +00:00
Tomi Turtiainen
da314d302a
fix(core): Bound database pool teardown so connection recovery always completes (#36013) 2026-08-11 09:53:58 +00:00
Iván Ovejero
4afbd16dc7
ci: Run DB tests against the full supported Postgres range (#35960) 2026-08-11 09:49:07 +00:00
n8n-assistant[bot]
5102c608eb
🚀 Release 2.35.0 (#36006)
Co-authored-by: n8n-release-helper[bot] <265227495+n8n-release-helper[bot]@users.noreply.github.com>
2026-08-11 07:16:06 +00:00
Kai
fd366ceba1
fix(core): Close review requests when a source control pull archives or cascade-deletes a workflow (#35798)
Some checks failed
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.23.2) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.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) / Notify Slack on failure (push) Blocked by required conditions
Build: Benchmark Image / build (push) Has been cancelled
Util: Publish API Schema / Cloudflare Pages (push) Has been cancelled
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 17:52:12 +00:00
Kai
a044c0d1d8
feat(core): Auto-close workflow review requests when a workflow is archived or moved (#35772) 2026-08-07 12:53:25 +00:00
Ali Elkhateeb
8db0b48ee1
refactor(API): Route public API executions through shared execution services (no-changelog) (#35582) 2026-08-07 08:13:11 +00:00
Iván Ovejero
3f2d479d0a
fix(core): Keep database ping loop alive across connection recovery (#35752)
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 (22.23.2) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.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) / Notify Slack on failure (push) Blocked by required conditions
Util: Publish API Schema / Cloudflare Pages (push) Waiting to run
2026-08-06 13:24:18 +00:00
Charlie Kolb
8a401eaec6
refactor(core): Generate DB migration index files instead of hand-maintaining them (no-changelog) (#35581)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 11:53:27 +00:00
Robin Braumann
b4736b738c
fix(core): Keep agent workflow tools linked after renames (#35690)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 10:14:59 +00:00
Kai
5f0e464630
feat(editor): Allow adding a workflow version description when submitting for review (#35640)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 09:36:11 +00:00
Kai
5d85c79cbe
refactor(core): Migrate the workflow-reviews module to TransactionRunner (no-changelog) (#35627) 2026-08-06 08:50:19 +00:00
Robin Braumann
4e6fc65f55
feat(core): Add Discord as an agent chat channel (#35331)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 06:09:43 +00:00
Michael Drury
a74c6fd11f
fix(core): Show Agent references in credential usage (#35409) 2026-08-05 15:54:00 +00:00
Charlie Kolb
c05c1e4092
test(core): Guard DB migration registry against duplicate timestamps and lost registrations (#35572)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 12:04:12 +00:00
Kai
fe37fe3b97
feat(editor): Name the pinned workflow version when submitting for review (#35566) 2026-08-05 11:29:22 +00:00
Iván Ovejero
c72b14f69c
feat(core): Warn on startup when Postgres is below the supported range (#35495) 2026-08-05 09:33:29 +00:00
Robin Braumann
1546c95485
feat(core): Persist agent session timelines during execution (#35490)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 08:12:58 +00:00
Ali Elkhateeb
73841560ad
refactor(API): Route public API workflows through shared workflow services (no-changelog) (#35158)
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 (22.23.2) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.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) / Notify Slack on failure (push) Blocked by required conditions
Util: Publish API Schema / Cloudflare Pages (push) Waiting to run
Co-authored-by: Konstantin Tieber <46342664+konstantintieber@users.noreply.github.com>
2026-08-04 17:33:07 +00:00
Arvin A
916ff3946a
feat(core): Paginate agent-eval list endpoints and retype response DTOs (no-changelog) (#35425) 2026-08-04 15:24:54 +00:00
Arvin A
8bdf69eb23
refactor(core): Tidy agent-eval runner and rating-persistence internals (no-changelog) (#35424) 2026-08-04 10:42:20 +00:00
Iván Ovejero
f007542520
feat(core): Report database version in telemetry (no-changelog) (#35428) 2026-08-04 10:39:18 +00:00