Shireen Missi
6d5ee83296
fix(core): Continue with error output reverse items in success branch ( #11684 )
2024-11-13 15:23:24 +00:00
Danny Martini
d1153f51e8
fix(core): Don't send a executionFinished
event to the browser with no run data if the execution has already been cleaned up ( #11502 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-11-04 13:04:22 +01:00
Danny Martini
cb7c4d29a6
feat(core): Handle nodes with multiple inputs and connections during partial executions ( #11376 )
2024-10-28 10:16:19 +01:00
Danny Martini
321d6deef1
feat(core): Handle cycles in workflows when partially executing them ( #11187 )
Test Master / install-and-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-10-18 17:30:26 +02:00
Danny Martini
8e6ddfe028
refactor(core): Use options object for functions with lots of arguments to make the call site more readable and avoid errors ( #11199 )
2024-10-10 12:52:10 +02:00
Tomi Turtiainen
d2238b9eac
refactor: Enable import/order rule for n8n-core ( #11016 )
2024-09-30 16:38:56 +03:00
Danny Martini
36c472ee0a
fix(core): Clean run data correctly for the new partial execution flow (no-changelog) ( #10951 )
2024-09-25 10:34:00 +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
कारतोफ्फेलस्क्रिप्ट™
6a35812f92
ci: Setup biome and pre-commit hooks for formatting (no-changelog) ( #10795 )
...
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
Michael Kret
9fa1a9aa99
fix: Disable errors obfuscation (no-changelog) ( #10617 )
2024-08-30 10:59:30 +03:00
Ricardo Espinoza
c4eb3746d7
refactor: Use NodeConnectionType
consistently across the code base (no-changelog) ( #10595 )
2024-08-29 09:55:53 -04:00
Iván Ovejero
bc958be93b
refactor(core): Convert verbose
to debug
logs ( #10574 )
2024-08-28 09:32:53 +02:00
Michael Kret
c0bdf3b719
fix(core): Move error obfuscation to FE (no-changelog) ( #10237 )
2024-08-05 16:42:06 +03:00
jeanpaul
1a7713ef26
fix(core): Fix missing successful items on continueErrorOutput with multiple outputs ( #10218 )
2024-07-29 17:08:20 +02:00
Michael Kret
af69c80bf5
feat(Merge Node): Overhaul, v3 ( #9528 )
...
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-07-02 13:47:04 +03:00
Iván Ovejero
44ea4c73eb
refactor: Remove unused lint directives (no-changelog) ( #9842 )
2024-06-24 12:13:18 +02:00
Michael Kret
b7aea957b8
feat: Do not show errors not processed by n8n (no-changelog) ( #9598 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-06-20 08:45:00 +03:00
Iván Ovejero
6ae6a5ebdf
fix(core): Fix optional chaining in continue on fail check ( #9667 )
2024-06-07 14:56:10 +02:00
oleg
5322802992
feat(editor): Chat Trigger tweaks ( #9618 )
...
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-06-04 17:24:18 +02:00
Iván Ovejero
9b2ce819d4
fix(core): Retry before continue on fail ( #9395 )
2024-05-17 10:46:42 +02:00
Michael Kret
da6088d0bb
feat(core): Node hints(warnings) system ( #8954 )
2024-05-13 15:46:02 +03:00
oleg
359ade45bc
refactor: Implement LLM tracing callback to improve parsing of tokens usage stats ( #9311 )
...
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-05-12 21:12:07 +02:00
Iván Ovejero
a3b59843d5
refactor(core): Lint for cyclomatic complexity in BE packages (no-changelog) ( #9111 )
2024-04-10 14:02:02 +02:00
कारतोफ्फेलस्क्रिप्ट™
372d5c7d01
ci: Upgrade eslint, prettier, typescript, and some other dev tooling (no-changelog) ( #8895 )
...
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-03-26 14:22:57 +01:00
Elias Meire
bd465d394a
fix(core): Add fallback for pairedItem info in runPartialWorkflow ( #8842 )
2024-03-08 13:44:26 +01:00
Jan Oberhauser
a29b41ec55
fix(core): Fix pairedItem issue with partial manual executions ( #8575 )
...
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-02-23 11:43:08 +01:00
Elias Meire
de6d466e5e
refactor: Add lint rule for unsafe property access with lodash get/set (no-changelog) ( #8587 )
2024-02-08 15:32:04 +01:00
Michael Kret
25f51f4fd7
fix(core): Errors are returned on the success branch if error item has other keys in addition to 'error' ( #8380 )
2024-01-18 17:35:59 +02:00
Tomi Turtiainen
9a1cc56806
fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) ( #8363 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-01-17 17:08:50 +02:00
Jan Oberhauser
bec0faed9e
feat(core): Add closeFunction support to Sub-Nodes ( #7708 )
...
Github issue / Community forum post (link here to close automatically):
---------
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-21 14:21:09 +01:00
Iván Ovejero
b16dd21909
refactor(core): Switch plain errors in core
to ApplicationError
(no-changelog) ( #7873 )
...
Ensure all errors in `core` are `ApplicationError` or children of it and
contain no variables in the message, to continue normalizing all the
errors we report to Sentry
Follow-up to: https://github.com/n8n-io/n8n/pull/7857
2023-11-30 09:06:19 +01:00
Iván Ovejero
dff8456382
refactor(core): Reorganize error hierarchy in core
and workflow
packages (no-changelog) ( #7820 )
...
Ensure all errors in `core` and `workflow` inherit from
`ApplicationError` so that we start normalizing all the errors we report
to Sentry
Follow-up to:
https://github.com/n8n-io/n8n/pull/7757#discussion_r1404338844
### `core` package
`ApplicationError`
- `FileSystemError` (abstract)
- `FileNotFoundError`
- `DisallowedFilepathError`
- `BinaryDataError` (abstract)
- `InvalidModeError`
- `InvalidManagerError`
- `InvalidExecutionMetadataError`
### `workflow` package
`ApplicationError`
- `ExecutionBaseError` (abstract)
- `WorkflowActivationError`
- `WorkflowDeactivationError`
- `WebhookTakenError`
- `WorkflowOperationError`
- `SubworkflowOperationError`
- `CliWorkflowOperationError`
- `ExpressionError`
- `ExpressionExtensionError`
- `NodeError` (abstract)
- `NodeOperationError`
- `NodeApiError`
- `NodeSSLError`
Up next:
- Reorganize errors in `cli`
- Flatten the hierarchy in `workflow` (do we really need
`ExecutionBaseError`?)
- Remove `ExecutionError` type
- Stop throwing plain `Error`s
- Replace `severity` with `level`
- Add node and credential types as `tags`
- Add workflow IDs and execution IDs as `extras`
2023-11-27 15:33:21 +01:00
Csaba Tuncsik
152883eed1
build: Upgrade lint related packages ( #7790 )
2023-11-27 09:11:52 +01:00
कारतोफ्फेलस्क्रिप्ट™
d2c18c5727
fix(core): Use AbortController to notify nodes to abort execution ( #6141 )
...
and add support for cancelling ongoing operations inside a node.
---------
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
2023-11-24 18:17:06 +01:00
Iván Ovejero
26361dfcd3
fix(core): Fix accessor error when running partial execution ( #7618 )
...
https://n8nio.sentry.io/issues/3760335947
Followup to #6229
2023-11-06 13:48:13 +01:00
Jan Oberhauser
655efeaf66
feat(core): Add optional Error-Output ( #7460 )
...
Add an additional optional error output to which all items get sent that
could not be processed.

Github issue / Community forum post (link here to close automatically):
https://community.n8n.io/t/error-connector-for-nodes/3094
https://community.n8n.io/t/error-handling-at-node-level-detect-node-execution-status/26791
---------
Co-authored-by: OlegIvaniv <me@olegivaniv.com>
2023-10-30 18:42:47 +01:00
कारतोफ्फेलस्क्रिप्ट™
35bb42c1b9
refactor(core): Avoid passing around static state like default timezone (no-changelog) ( #7221 )
2023-10-27 14:17:52 +02:00
Iván Ovejero
62c096710f
refactor: Run lintfix
(no-changelog) ( #7537 )
...
- Fix autofixable violations
- Remove unused directives
- Allow for PascalCased variables - needed for dynamically imported or
assigned classes, decorators, routers, etc.
2023-10-27 14:15:02 +02:00
Iván Ovejero
07857e78a9
refactor(core): Stop reporting to Sentry non-execution of workflow with issues ( #7533 )
...
https://n8nio.sentry.io/issues/4578929841/
2023-10-27 10:09:23 +02:00
कारतोफ्फेलस्क्रिप्ट™
00a4b8b0c6
feat(core): Add support for building LLM applications ( #7235 )
...
This extracts all core and editor changes from #7246 and #7137 , so that
we can get these changes merged first.
ADO-1120
[DB Tests](https://github.com/n8n-io/n8n/actions/runs/6379749011 )
[E2E Tests](https://github.com/n8n-io/n8n/actions/runs/6379751480 )
[Workflow Tests](https://github.com/n8n-io/n8n/actions/runs/6379752828 )
---------
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-10-02 17:33:43 +02:00
Omar Ajoue
861cac5257
fix(core): Prevent executions from displaying Running status incorrectly ( #7261 )
...
Github issue / Community forum post (link here to close automatically):
https://linear.app/n8n/issue/HELP-338/large-number-of-long-running-executions-for-nadjalemlist#comment-18d1fc96
After investigating this issue with @ivov and @flipswitchingmonkey we've
identified this missing assignment of execution status.
This is the only inconsistency we've found that could cause executions
to continue displaying as `Running` even after finished.
2023-09-27 12:38:53 +02:00
Iván Ovejero
e8e44f6b6e
refactor(core): Log binary data file write errors (no-changelog) ( #7237 )
...
This PR adds logging for binary data file write errors, to capture why
executions sometimes point to non-existing binary data files. See
[Sentry
error](https://n8nio.sentry.io/issues/4495134693/?alert_rule_id=14556563&alert_type=issue¬ification_uuid=4b50a5da-6ae9-472e-9658-984cca824762&project=4503924908883968&referrer=slack ).
2023-09-22 11:48:20 +02:00
Iván Ovejero
72523462ea
refactor: Clear unused ESLint directives from BE packages (no-changelog) ( #6798 )
2023-07-31 11:00:48 +02:00
कारतोफ्फेलस्क्रिप्ट™
d97edbcffa
fix(core): Make node execution order configurable, and backward-compatible ( #6507 )
...
* fix(core): Make node execution order configurable, and backward-compatible
* ⚡ Also add new Merge-Node behaviour
* ⚡ Fix typo
* Fix lint issue
* update labels
* rename legacy to v0
* remove the unnecessary log
* default all new workflows to use v1 execution-order
* remove the controller changes
* clone default settings to avoid it getting modified
---------
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2023-07-05 18:47:34 +02:00
Jan Oberhauser
b8458a53f6
feat(core)!: Change data processing for multi-input-nodes ( #4238 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-23 12:07:52 +02:00
Jan Oberhauser
0287d5becd
feat(core): Change node execution order (most top-left one first) ( #6246 )
...
* feat(core): Change node execution order (most top-left one first)
* ⚡ Fix issue with multi-output-nodes
* ⚡ Remove not needed meta-entry in test
* fix the e2e test
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-22 21:11:29 +02:00
Jan Oberhauser
4b0e0b7970
fix(core): Fix pairedItem for alwaysOutputData & multi identical resolve ( #6405 )
2023-06-21 10:38:28 +03:00
Chris Wu
1111c915f2
refactor(core): Replace lodash's "soft-deprecated" individual packages with lodash
to resolve CVE (no-changelog) ( #6450 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-16 16:26:35 +02:00
Omar Ajoue
8402c0f400
fix: Prevent type error messages for manual executions (no-changelog) ( #6229 )
...
* fix: Prevent type error messages for manual executions (no-changelog)
* Update packages/core/src/WorkflowExecute.ts
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
---------
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
2023-05-11 16:48:44 +02:00
Michael Auerswald
839a56a682
fix(core): Fix canceled execution status ( #6142 )
2023-05-02 10:37:35 +02:00