Commit graph

29 commits

Author SHA1 Message Date
Tomi Turtiainen a535e88f1a
fix(core): Fix validation of items returned in the task runner (#11897)
Some checks failed
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) Has been cancelled
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
Iván Ovejero 7d3ad669e2
feat(core): Defer task on launcher handshake (no-changelog) (#11786) 2024-11-20 12:38:29 +01:00
Iván Ovejero 124ac26e43
feat(core): Implement task timeouts and heartbeats for runners (no-changelog) (#11690)
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
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-11-17 16:21:28 +02: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
Iván Ovejero af7d6e68d0
fix(core): Handle websocket connection error more gracefully in task runners (#11635) 2024-11-11 11:30:57 +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)
Some checks failed
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) Has been cancelled
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 8404282046
feat: Enable running task runners externally (no-changelog) (#11319) 2024-10-22 16:23:59 +03: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)
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-16 17:51:06 +01: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
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)
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
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
Tomi Turtiainen 2bb1996738
feat: Add once for each item support for JS task runner (no-changelog) (#11109) 2024-10-07 21:18:32 +03:00
Tomi Turtiainen 42c0733990
fix: Fix task runner default n8n uri and auth endpoint (no-changelog) (#11128) 2024-10-07 13:28:33 +03:00
Tomi Turtiainen 4434668135
feat: Graceful termination of task runner (no-changelog) (#11009) 2024-10-07 12:23:14 +03:00
कारतोफ्फेलस्क्रिप्ट™ 49c71469f4
ci: @n8n/task-runner package setup (no-changelog) (#11067) 2024-10-02 16:14:57 +02:00