Commit Graph

23609 Commits

Author SHA1 Message Date
MHMD
f1b0ce3924
spike: migrate Chat Trigger onto the declarative trigger-identity capability
Now that IAM-1259/1260/1261 have landed on master, Chat Trigger has a real
n8nUserAuth + hostedChat identity-establishing path to migrate. Declares
triggerIdentity (establishes gated on authentication===n8nUserAuth &&
mode===hostedChat, index-merge, gate: manual — IAM-1264 hasn't landed a
manual checkTriggerCredentialStatus() call yet) plus a sibling, unconditional
triggerExecutionSeeding (Chat pre-seeds its stack for every auth mode, not
just identity-establishing ones, unlike Webhook/MCP/Agent365).

Removes the three "TEMPORARY: Chat Trigger isn't migrated" hardcoded
special cases in webhook-helpers.ts now that Chat flows through the
capability lookups like the other three node types.
2026-08-31 09:08:29 +02:00
MHMD
7f92e50ded
fix: gate MCP Trigger's identity establishment on OAuth2 auth mode
establishes was hardcoded to true, advertising identity establishment
even when the node's own webhook() never calls
establishTriggerIdentity() (none/bearerAuth/headerAuth modes). Mirror
the Webhook node's pattern and derive it from the authentication
parameter instead, keeping unconditional stack pre-seeding via a
separate triggerExecutionSeeding declaration.
2026-08-31 09:01:30 +02:00
MHMD
9536c7a653
spike: declarative trigger-identity capability (POC for RFC)
Replaces the hardcoded node-type lists in webhook-helpers.ts
(shouldEstablishTriggerIdentity / reconcileSeededExecutionStack) with a
capability a node declares on its own INodeTypeDescription:
triggerIdentity (establishes end-user identity, gate style, merge
strategy) and triggerExecutionSeeding (needs stack pre-seeding without
establishing identity).

Migrated: Webhook (n8nOAuth2 mode), MCP Trigger, Microsoft Agent 365
Trigger (seeding-only — it authenticates via Bot Framework JWT, not
n8n's identity system, a discrepancy from the removed code comment).

Deliberately NOT migrated: Chat Trigger — left on its old hardcoded
branch, out of scope while IAM-1259 work is in flight. IAM-1264 (gate
every message send on credential readiness) is the natural ticket to
pair with Chat's migration.

Not for merging as-is: proves the concept compiles and all existing
tests pass unchanged; open questions (node-type lookup cost, whether
`establishes` as a function is the right shape) are called out for
the RFC discussion, not resolved here.
2026-08-31 09:01:29 +02:00
Michael Kret
0fbc52630a
fix(ai-builder): Preserve managed n8n credits when building workflows (#37198) 2026-08-28 14:27:56 +00:00
Sandra Zollner
45e3a2e119
test(editor): Update approval status label format in review round trip test (#37328) 2026-08-28 14:26:18 +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
Swifty
e5f2efc556
fix(editor): Start AI Assistant conversations in the current project (#37051) 2026-08-28 13:30:39 +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
Danny Martini
f77e270ffa
fix(core): Support writes on VM expression lazy proxies via evaluation-scoped copy-on-write (#37262)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 13:13:24 +00:00
Robin Braumann
267d98b637
fix: Preserve AWS request parameter values (#37303)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 13:04:42 +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
Alexander Gekov
69991a5089
fix(Alibaba Cloud Node): Use async image-generation for Wan 2.6 (#37060)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 11:51:03 +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
Charlie Kolb
d8ce73c1df
fix(Form Node): Improve error messages for invalid form definition JSON (#37291)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 11:43:19 +00:00
Raúl Gómez Morales
6cc8c59f5a
fix(core): Route secrets pasted in AI chat to real credential forms (#37277) 2026-08-28 11:39:49 +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
Mutasem Aldmour
2ac36554ff
fix(editor): Render the credit banner as its own card above detached chat inputs (#37082)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-28 10:59:34 +00:00
Mutasem Aldmour
293e63ec2d
fix(editor): Stop the instance AI model dropdown opening when the wizard opens (#37215)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-28 10:59:14 +00:00
Kai
f3481c70c1
refactor(editor): Refine workflow review feed formatting (#37005) 2026-08-28 10:34:13 +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
ab13ace6ac
test(core): Add integration tests for contentImport policy enforcement (no-changelog) (#37218)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-28 09:38:23 +00:00
Kai
846bb4bab8
test(editor): Add an E2E test for the workflow reviews round trip (#36906) 2026-08-28 09:03:23 +00:00
Robin Braumann
b54500d438
fix(core): Preserve binary content in agent tool results (#37206)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 08:43:28 +00:00
Benjamin Schroth
1fd2918c14
fix: Quote and validate Postgres table and column identifiers in AI nodes (#31370)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-08-28 08:26:00 +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
Tomi Turtiainen
6e21069861
docs(engine): Add ADR for trigger settlement before execution (#37278) 2026-08-28 08:07:25 +00:00
n8n-assistant[bot]
8229d1ebf7
chore: NODE-5828 - Generate Schema Files (no-changelog) (#37230)
Co-authored-by: Jon <jonathan.bennetts@gmail.com>
Co-authored-by: Bernhard Wittmann <bernhard.wittmann@n8n.io>
2026-08-28 08:06:12 +00:00
Miguel Ángel Moreno
8bf95ac2b6
fix(editor): Stop a new node from showing a deleted node's execution data (#36915)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-28 07:56:27 +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
n8n-cat-bot[bot]
044a90d368
fix: Restore legacy PEM headers when reformatting single-line keys (#37088)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Bernhard Wittmann <bernhard.wittmann@n8n.io>
2026-08-28 07:39:26 +00:00
n8n-cat-bot[bot]
3fe4b79eef
chore: Small upgrade for fast-uri - license-server (#37211)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Sandra Zollner <sandra.zollner@n8n.io>
2026-08-28 07:37:46 +00:00
Anne Aguirre
ede265d46f
fix(ai-builder): Add case for agent artifacts in AIA preview tab bar (#37141) 2026-08-28 07:16:50 +00:00
Matsu
d904f04b5b
ci: Improve cubic prompts and enable shadowing (#37275) 2026-08-28 07:15:09 +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
n8n-assistant[bot]
a01b6727e5
chore: Update e2e impact map (#37266)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-28 05:37:22 +00:00
n8n-cat-bot[bot]
ea85afe354
ci: Bound turbo concurrency against the Node heap cap on Lint and (#37227)
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
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-08-27 20:26:01 +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
Bernhard Wittmann
bcd240f589
fix(HTTP Request Node): Keep SSL passphrases with whitespace intact (#37020) 2026-08-27 15:38:15 +00:00
Alex Grozav
e2afe16634
refactor(editor): Extract otel into a frontend module package (no-changelog) (#36679)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexgrozav <6179477+alexgrozav@users.noreply.github.com>
Co-authored-by: CharlieKolb <13814565+CharlieKolb@users.noreply.github.com>
2026-08-27 15:34:47 +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
Guillaume F.
7e6cfed293
fix(editor): Correct community node docs link interpolation key (#37236)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-27 15:22:53 +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