Commit graph

1862 commits

Author SHA1 Message Date
Iván Ovejero 76ab780cdd
refactor(core): Remove dead orchestration code (#11266) 2024-10-15 16:47:31 +02:00
Iván Ovejero 05467fd101
refactor(core): Move queueModeId as hostId to InstanceSettings (#11262) 2024-10-15 14:55:13 +02:00
Mutasem Aldmour d3b05f1c54
feat: Add tracking for node errors and update node graph (#11060) 2024-10-15 12:38:17 +02:00
Val ecbe568d69
feat: Enable Task Runners on Scaling mode Workers (no-changelog) (#11253) 2024-10-15 11:03:28 +01:00
Val ee6e7fec85
feat: Fail all tasks for a disconnected Task Runner (no-changelog) (#11254) 2024-10-15 11:03:16 +01:00
Iván Ovejero 963ddeb0cc
refactor(core): Remove deprecated properties from orchestration service (#11251) 2024-10-14 16:52:56 +02:00
Iván Ovejero c0aa28c6cf
fix(core): Override executions mode if regular during worker startup (#11250) 2024-10-14 16:12:41 +02:00
Val b028d81390
feat: Start Task Runner via Launcher (no-changelog) (#11071) 2024-10-14 14:19:17 +01:00
Iván Ovejero 873851b54e
refactor(core): Revamp logs for scaling mode (#11244) 2024-10-14 15:15:42 +02:00
Iván Ovejero e8c87c488f
chore: Stop reporting to Sentry leader key renewals (#11246) 2024-10-14 13:18:31 +02:00
Iván Ovejero 0820cb5ab9
refactor(core): Simplify main pubsub message handler (#11156) 2024-10-11 10:31:33 +02:00
Tomi Turtiainen 1078fa662a
fix: Make sure errors are transferred correctly from js task runner (no-changelog) (#11214)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-10-10 21:01:38 +03:00
Shireen Missi 52dd2c7619
feat(core): Dedupe (#10101)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
Co-authored-by: Jan Oberhauser <jan@n8n.io>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
2024-10-10 16:12:05 +01:00
कारतोफ्फेलस्क्रिप्ट™ 6823e8f2dd
refactor(core): Remove sse-channel (no-changelog) (#11207) 2024-10-10 16:51:50 +02:00
Alex Grozav 3d2fbcfd93
feat(editor): Improve Sentry ignore definitions for class instance types (no-changelog) (#11208)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-10-10 16:21:58 +02:00
Justin Ellingwood 9431e3029c
fix(HTTP Request Node): Fix typos in JSON validation error message (no-changelog) (#11197)
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2024-10-10 11:32:17 +01:00
Tomi Turtiainen eb2d1ca357
feat: Add configurable require support to js task runner (no-changelog) (#11184) 2024-10-10 12:44:02 +03:00
Ricardo Espinoza 06f51dc7d2
refactor: Use Ask AI feature through AI services instead of hooks (#11027) 2024-10-09 11:24:33 -04:00
Tomi Turtiainen e94cda3837
feat: Add support for $env in the js task runner (no-changelog) (#11177)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-10-09 17:31:45 +03:00
Csaba Tuncsik c2adfc8545
feat: Opt in to additional features on community for existing users (#11166) 2024-10-09 13:21:34 +02:00
Iván Ovejero c68782c633
feat(core): Introduce scoped logging (#11127) 2024-10-09 12:56:31 +02:00
Iván Ovejero 518e320404
refactor(core): Remove dead pubsub code (#11180) 2024-10-09 12:56:06 +02:00
Tomi Turtiainen d4afb0f38b
refactor: Simplify resolveIcon checks and add tests (#11165)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-10-08 17:04:45 +03:00
Tomi Turtiainen 606eedbf1b
fix: Forbid access to files outside source control work directory (#11152) 2024-10-08 15:53:53 +03:00
Iván Ovejero 87d041363c
refactor(core): Change triggers and pollers removal log to debug level (#11163) 2024-10-08 14:46:22 +02:00
Iván Ovejero 1ded08bf7e
refactor(core): Include self-sending and debouncing in pubsub commands (#11149) 2024-10-08 11:18:12 +02:00
Ricardo Espinoza 1ca14946d9
fix(core): Add down method to AddApiKeysTable1724951148974 migration (no-changelog) (#11118) 2024-10-08 10:49:08 +02:00
Csaba Tuncsik 05d267954c
test(core): Add community+ register tracking test (#11133) 2024-10-08 09:40:41 +02:00
Tomi Turtiainen a7823367f1
fix: Fix transaction handling for 'revert' command (#11145)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-10-07 14:43:09 -04:00
Iván Ovejero 4c7caf734c
chore(core): Better debug logs for local dev (#11096) 2024-10-07 16:57:06 +02:00
Iván Ovejero 19fb728da0
perf(core): Optimize worker healthchecks (#11092) 2024-10-07 16:33:34 +02:00
Iván Ovejero 383b4765d2
refactor(core): Simplify worker pubsub message handler (#11086) 2024-10-07 16:19:58 +02:00
Michael Kret 41228b472d
feat: Human in the loop (#10675)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
2024-10-07 16:45:22 +03:00
Csaba Tuncsik 92cf860f9f
feat(editor): Community+ enrollment (#10776) 2024-10-07 13:09:58 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1b84b0e5e7
fix(core): Allow loading nodes from multiple custom directories (#11130) 2024-10-07 12:09:47 +02:00
Iván Ovejero bb59cc71ac
fix(core): Separate error handlers for main and worker (#11091) 2024-10-04 16:38:48 +02:00
कारतोफ्फेलस्क्रिप्ट™ 722f4a8b77
fix(core): Always set startedAt when executions start running (#11098)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-10-04 16:08:52 +02:00
Danny Martini 1d14557461
fix(core): Print errors that happen before the execution starts on the worker instead of just on the main instance (#11099) 2024-10-04 15:36:04 +02:00
Iván Ovejero 6a12f0c5fa
fix(core)!: Bind worker server to IPv4 (#11087) 2024-10-04 12:18:26 +02:00
Michael Kret d974b015d0
fix: Incorrect error message on calling wrong webhook method (#11093) 2024-10-04 11:06:15 +01:00
Iván Ovejero 73a0d48073
refactor(core): Simplify webhook pubsub message handler (#11048) 2024-10-04 09:28:53 +02:00
Michael Kret 90b4bfc472
fix: Show result of waiting execution on canvas after execution complete (#10815)
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
Co-authored-by: Shireen Missi <shireen@n8n.io>
2024-10-03 15:09:37 +03:00
Federico Meini 86c632aabf
chore: Anonymise ip addresses in rudderstack events (#11066) 2024-10-03 10:42:29 +02:00
Tomi Turtiainen 12e54a5eea
fix: Use 127.0.0.1 as n8n uri for task runner process (no-changelog) (#11072) 2024-10-03 09:38:03 +03:00
Tomi Turtiainen 4546649c61
feat: Separate task runner server from main http server (no-changelog) (#11062) 2024-10-02 16:38:42 +03:00
Tomi Turtiainen 74fa259b37
feat: Make task runners work with n8n from npm (no-changelog) (#11015) 2024-10-02 15:16:02 +03:00
Val ae37035aad
fix: Task Runner Auth CI fail with busy event loop (no-changelog) (#11057) 2024-10-02 14:27:28 +03:00
Val 27d83e0d91
feat: Initial Code Task Runners support (no-changelog) (#10698)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-10-02 09:31:56 +01:00
Iván Ovejero bdaadf10e0
fix(core): Fix ownerless project case in statistics service (#11051) 2024-10-02 10:31:17 +02:00
Iván Ovejero 113a2e7401
refactor(core): Bring job options into scaling service (#11050) 2024-10-02 10:31:07 +02:00
Iván Ovejero 3a9c65e1cb
refactor(core): Modernize logger service (#11031)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-10-01 12:16:09 +02:00
Iván Ovejero cd916480c2
fix(core): Handle Redis disconnects gracefully (#11007)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-09-30 16:36:27 +02:00
oleg b5f4afe12e
fix(Chat Trigger Node): Fix Allowed Origins paramter (#11011) 2024-09-30 15:42:37 +02:00
Ricardo Espinoza e54a396088
refactor: Move api-keys endpoints to their own controller (#11000) 2024-09-30 09:10:22 -04:00
Iván Ovejero 63e6f1fa38
refactor(core): Organize all event maps (#10997) 2024-09-30 10:44:03 +02:00
Csaba Tuncsik 136d491325
fix(editor): Allow resources to move between personal and team projects (#10683)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-09-27 15:12:31 +02:00
Iván Ovejero afda049491
refactor(core): Separate execution startedAt from createdAt (#10810) 2024-09-27 13:32:12 +02:00
Iván Ovejero bf7392a878
refactor(core): Make all pubsub messages type-safe (#10990) 2024-09-27 12:35:01 +02:00
Benjamin Roedell 5f89e3a01c
fix(API): Fix workflow project transfer (#10651)
Co-authored-by: Benjamin Roedell <2271599+benrobot@users.noreply.github.com>
2024-09-27 10:34:45 +02:00
कारतोफ्फेलस्क्रिप्ट™ 4584f22a9b
fix(core): Prevent backend from loading duplicate copies of nodes packages (#10979)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-09-26 20:28:57 +02:00
Ricardo Espinoza a13a4f7442
refactor: Move API keys into their own table (no-changelog) (#10629)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-09-26 08:58:49 -04:00
Iván Ovejero 06d749ffa7
feat(core): Filter executions by project ID in internal API (#10976) 2024-09-26 13:31:34 +02:00
Eugene efc5d859eb
chore: Correct naming of annotation-related files (#10946) 2024-09-26 13:15:08 +02:00
Iván Ovejero 262693be65
chore: Stop reporting AxiosError to Sentry (#10974) 2024-09-26 12:16:10 +02:00
कारतोफ्फेलस्क्रिप्ट™ afbe884dad
refactor(core): Load dotenv as early as possible (no-changelog) (#10948) 2024-09-25 12:37:51 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6de4dfff87
feat(editor): Setup Sentry integration (#10945)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-09-24 17:49:22 +02:00
कारतोफ्फेलस्क्रिप्ट™ a81256aff5
fix(core): Fix sentry de-duplication by migrating from event-processors to beforeSend (no-changelog) (#10947) 2024-09-24 16:53:18 +02:00
Iván Ovejero 73daabbd0e
docs(core): Document access checks (#10929) 2024-09-24 11:02:39 +02:00
Danny Martini 0290e38f99
fix(core): Remove subworkflow license check (#10893)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
2024-09-23 17:01:52 +02:00
Iván Ovejero 5c171c4bf0
refactor(core): Simplify subscriber handler setters (#10896) 2024-09-23 14:14:00 +02:00
कारतोफ्फेलस्क्रिप्ट™ 67fb6d6fdd
refactor(core): Refactor execution post-execute promises (no-changelog) (#10809)
Co-authored-by: Danny Martini <danny@n8n.io>
2024-09-23 12:08:57 +02:00
कारतोफ्फेलस्क्रिप्ट™ 769ddfdd1d
refactor(core): Move some request DTOs to @n8n/api-types (no-changelog) (#10880)
Some checks failed
Test Master / install-and-build (push) Has been cancelled
Benchmark Docker Image CI / build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled
2024-09-20 21:14:06 +02:00
Ricardo Espinoza 583d3a7acb
refactor: Clean all instances of isNpmAvailable (#10891) 2024-09-20 10:38:52 -04:00
Tomi Turtiainen f1309787b2
refactor(core): Extract form data parsing from webhook-helpers (#10904) 2024-09-20 16:46:20 +03:00
Ricardo Espinoza 26a653a79a
refactor(editor): Clean all instances of isDesktopDeployment (#10884) 2024-09-20 08:24:08 -04:00
Tomi Turtiainen 693fb7e580
fix(core): Fix webhook binary data max size configuration (#10897) 2024-09-20 13:14:15 +02:00
Iván Ovejero 69c6e0790d
refactor(core): Organize Redis under scaling mode (#10864) 2024-09-19 09:52:48 +02:00
Danny Martini 2a084f96f8
feat: Implement new partial execution logic for acyclic workflows (no-changelog) (#10256)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-09-18 15:06:36 +02:00
Iván Ovejero 08ebe1e480
feat(core): Introduce worker metrics (#10850) 2024-09-18 11:16:17 +02:00
कारतोफ्फेलस्क्रिप्ट™ 430c14ad19
refactor(core): Move frontend settings to @n8n/api-types (no-changelog) (#10856) 2024-09-17 17:21:11 +02:00
कारतोफ्फेलस्क्रिप्ट™ a3335e0ecd
feat(core): Allow customizing max file size in form-data payloads for webhooks (#10857) 2024-09-17 15:55:51 +02:00
Iván Ovejero aa00d9c2ae
refactor(core): Flatten Redis pubsub class hierarchy (no-changelog) (#10616) 2024-09-17 15:45:42 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6a35812f92
ci: Setup biome and pre-commit hooks for formatting (no-changelog) (#10795)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-09-17 15:10:22 +03:00
Iván Ovejero acb4194fa1
fix(core): Prevent shutdown error in regular mode (#10844) 2024-09-17 12:02:17 +02:00
Iván Ovejero 7f4ef31507
refactor(core): Have WorkerServer use InstanceSettings (#10840) 2024-09-17 10:38:47 +02:00
Iván Ovejero 94aa680c9b
refactor(core): Set up worker server (#10814) 2024-09-17 10:14:12 +02:00
Iván Ovejero d14bb36300
test(core): Mock filesystem in tests (#10823) 2024-09-17 09:15:09 +02:00
कारतोफ्फेलस्क्रिप्ट™ 25c8a328a8
refactor(core): Move instanceType to InstanceSettings (no-changelog) (#10640)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-09-16 13:37:14 +02:00
Iván Ovejero 0e61d7c2e8
refactor(core): Remove unused disable directives from backend packages (#10826) 2024-09-16 10:58:23 +02:00
Iván Ovejero 460fe14ae1
chore: Upgrade to TypeScript 5.6 (#10822) 2024-09-16 10:29:28 +02:00
कारतोफ्फेलस्क्रिप्ट™ cef64329a9
refactor(core): Simplify createDeferredPromise, and add tests (no-changelog) (#10811)
Some checks failed
Test Master / install-and-build (push) Has been cancelled
Benchmark Docker Image CI / build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled
2024-09-13 15:53:03 +02:00
कारतोफ्फेलस्क्रिप्ट™ 2f8c8448d3
refactor(core): Move push message types to a new shared package (no-changelog) (#10742) 2024-09-13 13:02:00 +02:00
Tomi Turtiainen 5156313074
refactor(core): Enable import/order eslint rule (#10794)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-09-12 19:07:18 +03:00
Iván Ovejero 86f4877bab
fix(core): Restore queue listeners for webhook process (#10781) 2024-09-12 12:55:24 +02:00
Iván Ovejero c133a6ef89
refactor(core): Include AI events in log streaming relay (#10768) 2024-09-12 12:02:47 +02:00
कारतोफ्फेलस्क्रिप्ट™ 7d6ec6544e
fix(core): Fix the type for InstalledNodes.latestVersion (no-changelog) (#10782)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
2024-09-12 11:14:03 +02:00
Iván Ovejero 8c6cd014a0
refactor(core): Revamp subworkflow policy checker errors (#10752) 2024-09-12 09:11:37 +02:00
कारतोफ्फेलस्क्रिप्ट™ a1e011dd2a
refactor(editor): Enable collaboration features only in NodeView v2 (no-changelog) (#10756) 2024-09-11 14:22:55 +02:00
कारतोफ्फेलस्क्रिप्ट™ 4f94319cd9
fix(core): Update subworkflow execution status correctly (#10764) 2024-09-11 10:39:18 +02:00
कारतोफ्फेलस्क्रिप्ट™ 8450ec5a5c
fix(core): Do not serialize CredentialsEntity.shared anymore (no-changelog) (#10753) 2024-09-10 16:35:39 +02:00