Commit Graph

5925 Commits

Author SHA1 Message Date
r00gm
f5dd8e7989
fix(editor): Address review feedback on the Instance AI editor hand-off
- Credential setup-help gates on write access (canWrite) so it shows in create-only flows, not just edit.
- Strip every leading internal block from stored user messages so a stacked editor-context + running-tasks no longer leaks markup into visible history.
- AttachmentPreview workflow name ellipsizes in the flex chip (min-width: 0).
- Capitalize "AI Assistant" in the canvas-action popover title.
2026-06-18 20:51:52 +02:00
r00gm
560cb50925
revert(editor): Drop execution carry-over to Instance AI; rely on the get-execution tool
Reverts 807143ee4d. Seeding the editor's execution as a resolved tool call (to cover manual runs the instance didn't save) isn't worth the cross-layer carry-over: only ~0.1% of users disable saving manual executions, and the agent's get-execution tool covers the rest. The agent re-fetches via its tools as before. The new-tab relay and the master merge are unaffected.
2026-06-18 13:59:18 +02:00
r00gm
807143ee4d
feat(editor): Seed the editor execution into Instance AI as a resolved tool call
Handing a workflow off from the editor now summarizes the run the user is viewing (status, executed nodes, error, timings) and prepends it to the agent's first turn as a resolved executions(get) tool call. The agent sees the run without calling the tool — which throws for manual executions the instance didn't save — and it survives across turns since it lives in history. Threaded via the editorExecution field on the chat request, kept per-run in startRun/executeRun and seeded into streamInput, and carried through the FE send chain + new-tab relay.
2026-06-18 13:32:30 +02:00
r00gm
5d5ed55edc
Merge remote-tracking branch 'origin/master' into r00gm/replace-aiwb-with-instance-ai
# Conflicts:
#	packages/frontend/editor-ui/src/features/ai/instanceAi/instanceAi.threadRuntime.ts
#	packages/frontend/editor-ui/src/features/ai/instanceAi/useResourceRegistry.ts
2026-06-18 13:04:50 +02:00
Marc Littlemore
ebbd629a6a
fix(core): Upgrade @n8n_io/license-sdk to v3 and resolve node-rsa to v2 (#32552)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 09:38:38 +00:00
Tomi Turtiainen
753c4f25fc
refactor(core): Register multi-main handlers reactively (#32457) 2026-06-18 09:36:04 +00:00
Lorent Lempereur
8e8c13ebe6
refactor(core): Route external secrets providers through the shared HTTP client (#32453) 2026-06-18 09:25:10 +00:00
James Gee
79746fc502
fix(core): Validate credential type when binding credentials on package import (no-changelog) (#32383) 2026-06-18 09:16:52 +00:00
Tomi Turtiainen
806656823d
chore(core): Add debug logs to publication outbox processing (no-changelog) (#32519) 2026-06-18 08:58:36 +00:00
Tomi Turtiainen
e345d55b1e
feat(core): Reclaim stale publication outbox leases (no-changelog) (#32536) 2026-06-18 08:42:20 +00:00
mfsiega
6736610c6a
feat(core): Handle workflow unpublish in the publication outbox (no-changelog) (#32528)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 08:12:47 +00:00
Lorent Lempereur
399a5c1683
refactor(core): Migrate OAuth2 identifier metadata fetch to outbound HTTP factory (#32535) 2026-06-18 08:04:16 +00:00
Srinjoy
0b2b1a7eea
test: Add test coverage for DB migration 1784000000024-AddResourceToOAuthAuthorizationCodes (no-changelog) (#31691) 2026-06-18 07:48:00 +00:00
Guillaume Jacquart
8cac6e7261
feat(core): Gate MCP tool calls on the caller's private-credential status (#32446)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 07:46:48 +00:00
Matsu
328c1a4745
chore: Extraneous deps cleanup (#32386) 2026-06-18 07:42:31 +00:00
r00gm
1b7ece7402
refactor(instance-ai): Reuse jsonParse and simplify context-block assembly (no-changelog) 2026-06-18 09:40:26 +02:00
Ali Elkhateeb
f6c2bcc6ec
fix(core): Exclude error workflow executions from billable execution count (#32315) 2026-06-18 07:35:19 +00:00
r00gm
ed706e98e9
fix: Resolve Instance AI attachment-union type conflicts from the master merge (no-changelog)
After merging master, two spots assumed file-only attachments while this branch's discriminated file|workflow union was in effect: currentUserAttachments is typed back to InstanceAiFileAttachment[] (matching its file-only writer/readers), and the trace input maps fileAttachments instead of the union. No behavior change.
2026-06-18 09:25:29 +02:00
Tomi Turtiainen
78d37ec45e
test(core): Stabilize flaky task runner process connect waits (no-changelog) (#32514) 2026-06-18 07:19:51 +00:00
r00gm
68fc5af736
Merge remote-tracking branch 'origin/master' into r00gm/replace-aiwb-with-instance-ai
# Conflicts:
#	packages/@n8n/instance-ai/src/types.ts
#	packages/cli/src/modules/instance-ai/__tests__/internal-messages.test.ts
#	packages/cli/src/modules/instance-ai/instance-ai.service.ts
2026-06-18 09:11:01 +02:00
Ricardo Espinoza
888be2835f
feat(editor): Add owner filter to API keys "All" tab (#32430)
Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
2026-06-17 18:35:37 +00:00
RomanDavydchuk
7a3a190d37
feat(core): Support MCP tool filtering for Instance AI MCP connections (#31836) 2026-06-17 15:48:17 +00:00
Mike Repeć
10856a4f4d
feat(core): Track binary data size on execution entity rows (no-changelog) (#32387)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 15:14:27 +00:00
Tomi Turtiainen
35b7fa7b99
feat(core): Add publication leader takeover and stepdown (no-changelog) (#32463) 2026-06-17 14:46:01 +00:00
Albert Alises
f53a64824c
feat(core): Add Instance AI error correlation and structured observability (#32400) 2026-06-17 14:27:44 +00:00
Tomi Turtiainen
640dc13117
feat(core): Send push messages after publication outbox record is processed (no-changelog) (#32483)
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.22.3) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.16.0) (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: Sync API Docs / sync-public-api (push) Waiting to run
2026-06-17 14:21:20 +00:00
Albert Alises
4218e1b017
feat(core): Add Prometheus metrics for Instance AI runs (#32489) 2026-06-17 14:16:17 +00:00
Joco-95
ef148c6cab
fix: Removes phantom telemetry profile caused by missing user id fallback (#32344) 2026-06-17 13:38:53 +00:00
Dmitrii
e4757d2584
fix(core): Account for pending CSV uploads in data-table size budget (#31394) 2026-06-17 13:33:48 +00:00
Albert Alises
630d57e3af
perf(core): Move Instance AI clock out of the cached prompt prefix (#32452) 2026-06-17 12:38:03 +00:00
Ricardo Espinoza
58ba32d94e
feat(core): Show required scope badge on Swagger UI operations (#32240) 2026-06-17 11:40:21 +00:00
Bernhard Wittmann
734af045c5
fix(core): Negotiate token_endpoint_auth_method during MCP OAuth2 DCR (#32289) 2026-06-17 11:26:57 +00:00
mfsiega
55168bd931
feat(core): Read published version in remaining execution paths (no-changelog) (#31975)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 10:28:46 +00:00
Emilia
b34ab3b34d
feat(core): Make MCP and OAuth server IP rate limits configurable via environment variables (#32203) 2026-06-17 09:39:36 +00:00
Jaakko Husso
9fe87a638a
feat(core): Add more supported PII redaction patterns (no-changelog) (#32441)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 09:21:55 +00:00
Jaakko Husso
8b6c13139c
refactor(core): Extract InstanceAiTemporaryWorkflowService for AI temporary workflow reaping (#31597)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:19:26 +00:00
oleg
f4a1ab6d99
feat(instance-ai): Simulate destructive and user-action nodes during workflow verification (#32209)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2026-06-17 08:53:55 +00:00
Riqwan Thamir
b60bc923d4
feat(core): Add ability to view agent traces locally under a flag (no-changelog) (#32397) 2026-06-17 08:36:38 +00:00
Emilia
ae7f699d78
fix(core): Propagate stop signal to sub-workflow executions on workers in queue mode (#32206)
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 08:23:13 +00:00
Tomi Turtiainen
f2b6d16eff
feat(core): Retry individual trigger activation in publication (no-changelog) (#32350) 2026-06-17 08:20:59 +00:00
Tomi Turtiainen
6e1ef71193
feat(core): Enqueue active workflows on leader startup (no-changelog) (#32349)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-06-17 07:46:50 +00:00
Andreas Fitzek
d6cc6c655e
feat(core): Resolve the triggering user's private credentials over MCP OAuth (#32432) 2026-06-17 07:39:09 +00:00
Milorad FIlipović
7ddde951cc
fix(core): Prevent assigning unusable credentials in mcp (#32353) 2026-06-16 21:00:10 +00:00
Sandra Zollner
97f45ccc7f
fix(core): Implement workflow-folder-conflict handling in import process (#32391) 2026-06-16 17:28:51 +00:00
Bernhard Wittmann
e8ee370d70
fix(core): Request protected-resource scopes during MCP OAuth2 DCR (#32300) 2026-06-16 15:28:36 +00:00
Benjamin Schroth
713094c7eb
feat: Add successful executions to evaluation dataset (#32308)
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.22.3) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.16.0) (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: Sync API Docs / sync-public-api (push) Waiting to run
2026-06-16 13:58:34 +00:00
Ricardo Espinoza
44d9f3ddf8
feat(editor): Add rotate action for API keys (#32342) 2026-06-16 13:27:22 +00:00
Konstantin Tieber
b9e7729ad6
feat(core): Add prometheus metrics for detailed metrics on webhook & form workflows (#32251) 2026-06-16 12:44:49 +00:00
Lorent Lempereur
ac9e5a87f0
refactor(core): Define the outbound HTTP factory contract for backend-network (no-changelog) (#32245) 2026-06-16 11:14:26 +00:00
n8n-assistant[bot]
f4871fea29
🚀 Release 2.27.0 (#32365)
Co-authored-by: Matsuuu <16068444+Matsuuu@users.noreply.github.com>
2026-06-16 10:13:05 +00:00