Commit Graph

44 Commits

Author SHA1 Message Date
Tomi Turtiainen 3fa0714c22 test(core): Fix task runner test (#12801) 2025-01-23 13:03:01 +01:00
Tomi Turtiainen 3d9d5bf9d5 fix(core): Fix usage of external libs in task runner (#12788)
Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2025-01-23 10:18:00 +02:00
Tomi Turtiainen eceee7f3f8 fix(core): Prevent prototype pollution of internal classes in task runner (#12610) 2025-01-15 14:27:23 +02:00
Iván Ovejero bdf266cf55 fix(core): Prevent prototype pollution in task runner (#12588) 2025-01-15 10:51:42 +02:00
Tomi Turtiainen 35b618098b fix(core): Disallow code generation in task runner (#12522) 2025-01-09 12:27:17 +01:00
Iván Ovejero 88c0838dd7 fix(core): Fix Sentry error reporting on task runners (#12495) 2025-01-08 17:47:40 +01:00
Iván Ovejero 1b9100032f fix(core): Allow index as top-level item key for Code node (#12469) 2025-01-06 15:03:36 +01:00
Tomi Turtiainen b1940268e6 fix(core): Ensure tasks timeout even if they don't receive settings (#12431) 2025-01-03 12:27:47 +02:00
Tomi Turtiainen 4498e35192 fix(core): Fix task runner sending too many offers (#12415) 2025-01-02 10:16:28 +02:00
Tomi Turtiainen 0860fbe971 fix(core): Don't fail task runner task if logging fails (#12401) 2024-12-31 09:19:36 +02:00
Tomi Turtiainen f08db47077 chore: Clean up some code (#12287) 2024-12-30 16:32:09 +02:00
Iván Ovejero 95db031aa4 refactor: Introduce explicit-member-accessibility lint rule (#12325) 2024-12-20 11:44:01 +01:00
कारतोफ्फेलस्क्रिप्ट™ 7ce4e8d169 fix(core): Switch from lodash.set to lodash to address CVE-2020-8203 (no-changelog) (#12286) 2024-12-18 20:05:41 +01:00
Tomi Turtiainen 0f1461f2d5 fix(core): Fix binary data helpers (like prepareBinaryData) with task runner (#12259) 2024-12-18 18:45:05 +02:00
Tomi Turtiainen 271401d882 test: Fix task runner tests on node 18 and 22 (#12243) 2024-12-16 14:37:24 +01:00
Tomi Turtiainen 889b15d33e test: Add tests for $getWorkflowStaticData (#12203) 2024-12-13 11:30:32 +02:00
Iván Ovejero b479f14ef5 fix(core): Fix $getWorkflowStaticData on task runners (#12153)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-12-11 20:48:36 +02:00
Iván Ovejero 57c6a6167d fix(core): Ensure runners do not throw on unsupported console methods (#12167) 2024-12-11 18:37:07 +01:00
Iván Ovejero 8bf6cce000 test: Allow runner tests to exit cleanly (#12127) 2024-12-10 13:09:36 +01:00
Iván Ovejero addb4fa352 feat(core): Cancel runner task on timeout in external mode (#12101) 2024-12-10 12:50:22 +01:00
Tomi Turtiainen 2e979547a4 refactor: Unify task runner env vars (#12040) 2024-12-05 12:36:43 +02:00
Tomi Turtiainen 872535a40c fix(core): Opt-out from optimizations if $item is used (#12036) 2024-12-04 14:32:28 +02:00
Tomi Turtiainen 2e6845afcb fix(core): Use the configured timezone in task runner (#12032) 2024-12-04 13:32:44 +02:00
Tomi Turtiainen a535e88f1a fix(core): Fix validation of items returned in the task runner (#11897) 2024-11-26 22:15:55 +02:00
Tomi Turtiainen e22d0f3877 perf(core): Batch items sent in runonceforeachitem mode (no-changelog) (#11870)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-26 12:21:51 +02:00
Iván Ovejero 0cbb46c8b9 feat(core): Shut down runner on idle timeout (no-changelog) (#11820) 2024-11-22 11:17:00 +01:00
Tomi Turtiainen f1ca8c128b feat(core): Add sentry for task runner (no-changelog) (#11683)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-15 10:35:02 +01:00
Tomi Turtiainen 0a05aa4862 fix(core): Handle item, items and $node correctly in JS task runner (no-changelog) (#11660) 2024-11-11 12:55:55 +01:00
Tomi Turtiainen 3111dece72 perf(core): Deduplicate task runner data request response (no-changelog) (#11583)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-11-07 11:24:00 +02:00
Iván Ovejero ca75020821 perf(core): Load node types on demand on runners (no-changelog) (#11559) 2024-11-06 13:39:31 +01:00
Tomi Turtiainen 3edecffd71 refactor: Move runner types to runner package (#11552) 2024-11-05 10:32:15 +01:00
Tomi Turtiainen e4aa1d01f3 feat: Only send needed data to task runner (no-changelog) (#11487) 2024-11-04 11:13:09 +02:00
Tomi Turtiainen d7ba206b30 feat: Make runner concurrency configurable (no-changelog) (#11448) 2024-10-29 21:08:50 +02:00
Tomi Turtiainen f414e90993 refactor: Clean task runner code (#11368) 2024-10-23 14:34:08 +03:00
Val 5390061f49 fix: Add config for max task runners payload size (no-changelog) (#11366) 2024-10-23 11:53:21 +01:00
Val 5b98f8711f fix: Add missing Node.js natives to task runners (no-changelog) (#11362) 2024-10-23 10:41:10 +01:00
Val cade9b2d91 feat: Add proper INodeTypes polyfill for Task Runner (no-changelog) (#11333) 2024-10-22 15:19:32 +01:00
Tomi Turtiainen d330b6b94a fix: Fix task runner error propagation (no-changelog) (#11291) 2024-10-17 14:17:33 +03:00
Val 5c370c9235 fix: JS Task Runner not having access to Buffer (no-changelog) (#11285) 2024-10-16 17:51:06 +01:00
Tomi Turtiainen 1078fa662a fix: Make sure errors are transferred correctly from js task runner (no-changelog) (#11214) 2024-10-10 21:01:38 +03:00
Tomi Turtiainen eb2d1ca357 feat: Add configurable require support to js task runner (no-changelog) (#11184) 2024-10-10 12:44:02 +03:00
Tomi Turtiainen e94cda3837 feat: Add support for $env in the js task runner (no-changelog) (#11177) 2024-10-09 17:31:45 +03:00
Tomi Turtiainen 18c0c8612c fix: Fix console log handling in JS task runner (no-changelog) (#11147) 2024-10-08 16:32:50 +03:00
Tomi Turtiainen 51606cb279 refactor: Move js task runner into own directory (#11146) 2024-10-08 12:24:10 +03:00