Commit Graph

67 Commits (8a4a067c998ba4c177e88a3c8abacd9422bded3b)

Author SHA1 Message Date
Gauthier Dandele 8a4a067c99
Merge 93a00c1cc2 into ce5fe9079e 2026-03-24 10:15:09 -04:00
Kazuhito Yokoi e108554ea0 Support source information in complete node 2026-01-04 17:56:32 +09:00
GogoVega 93a00c1cc2
Update unit tests 2025-11-09 14:39:54 +01:00
GogoVega 1d006de7c6
Allow scoped flows to close itself if `failFast` enabled 2025-11-09 14:37:22 +01:00
GogoVega 0bfcbce470
Filter initiator nodes with nodes to be closed 2025-11-09 14:35:26 +01:00
GogoVega 437282e2b3
Improve the logic to determine the shutdown scope 2025-11-09 14:32:42 +01:00
GogoVega 6d005533e8
Some fixes (scope, failFast and subflow) 2025-11-08 17:13:57 +01:00
GogoVega d49a2c9e3d
Missed to replace props name in the runtime 2025-11-07 08:34:23 +01:00
GogoVega af6d7c2b9b
Calculate shutdown scope within the runtime 2025-11-06 20:11:02 +01:00
GogoVega 0cd00d8410
Allow scoped flow to cancel shutdown of other flows 2025-11-05 11:44:48 +01:00
GogoVega ff5c2a264d
Allow scoped flows to have their timeout 2025-11-05 11:39:41 +01:00
GogoVega e17256934d
Remove the polling loop + improvements 2025-11-04 12:15:55 +01:00
GogoVega d52520250d
Add type guards and fix undefined node 2025-11-03 18:47:36 +01:00
GogoVega 09e177bbbf
Allow graceful shutdown for node/flow deployment 2025-11-03 15:46:30 +01:00
GogoVega cdd2abc4c1
Initial implementation of graceful shutdown 2025-11-01 22:57:32 +01:00
Nick O'Leary 34c59a58e5
Ensure flow property is set on sf instance nodes so NR_SUBFLOW_PATH can be evaluated 2025-10-09 14:42:27 +01:00
Nick O'Leary 90c2758624
Add code to error object sent by Catch node 2025-03-13 10:49:15 +00:00
Nick O'Leary e2981f2970
Allow env var access to context 2025-01-17 16:45:44 +00:00
Nick O'Leary 66a667fe58
Pass full error object in Function node and copy over cause property
Fixes #4683
2024-05-09 16:48:51 +01:00
Nick O'Leary fa78bb3d78
Handle undefined env vars
Fixes #4579
2024-02-26 16:17:09 +00:00
Nick O'Leary 3a6b1e86dc
Clone objects types when getting env values
Fixes #4479
2024-01-08 20:56:17 +00:00
Nick O'Leary 861dc0c383
Ensure global-config nodes lookup cred values properly
Fixes #4396
2023-11-01 11:07:48 +01:00
Nick O'Leary 8b7b3e22d7
Merge branch 'master' into dev 2023-07-26 16:59:12 +01:00
Nick O'Leary 271b1327c7
Merge branch 'dev' into revert-4225-4196-fix-jsonata-env-var-async 2023-07-10 12:37:41 +01:00
Nick O'Leary 7481b78b16
Force reeval of env vars if group/flow/global envs change 2023-07-10 12:04:52 +01:00
Nick O'Leary f196493402
Evaluate global-config env on startup 2023-06-23 09:35:00 +01:00
Nick O'Leary 1c5fdb6ab6
Evaluate all env vars as part of async flow start 2023-06-23 02:11:57 +01:00
bvmensvoort 3ed530ed9e Merge branch 'dev' into 4219-missing-error-logging-for-config-nodes 2023-06-22 20:14:56 +02:00
Nick O'Leary 51a0b68d8e
Revert "Add callback to getSetting to support async jsonata access" 2023-06-22 10:17:48 +01:00
Steve-Mcl 4808cac89d Add async to all paths that JSONata env var calls 2023-06-17 21:14:56 +01:00
bvmensvoort c1ea3380eb Show errors and statuses of config nodes in the sidebar when no catch nodes are used 2023-06-10 21:27:06 +02:00
Steve-Mcl b102ef512e ensure object before attempting to call function 2023-06-09 11:29:54 +01:00
Nick O'Leary 991f13e704
Remove unused function 2023-05-22 23:14:31 +01:00
Nick O'Leary 2388232179
Fix catch/status group scoping to handle group hierarchies 2023-05-22 22:33:31 +01:00
Nick O'Leary 11ded1e497
Merge branch 'dev' into 3843-alternative-impl 2023-05-22 17:41:23 +01:00
Nick O'Leary 742f05f59d
Update packages/node_modules/@node-red/runtime/lib/flows/Flow.js 2022-11-30 22:23:04 +00:00
Nick O'Leary 79db4f8aa1
Update packages/node_modules/@node-red/runtime/lib/flows/Flow.js
Co-authored-by: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com>
2022-11-30 22:22:44 +00:00
Nick O'Leary f4d7b71984
Ensure errors in preDeliver callback are handled
Fixes #3848
2022-10-04 15:20:06 +01:00
NetHans e147602a3a JSdoc documentation fixed 2022-08-18 21:27:59 +02:00
NetHans b7a016edcf Update Flow.js
replace tabs with whitespace
2022-08-16 06:37:03 +02:00
NetHans 371253a4f6 catch node extended 2022-08-14 20:45:01 +02:00
NetHans 08ce6cce97 status node extended 2022-08-14 20:24:05 +02:00
NetHans d7a10328c0 function for group analysis added 2022-08-14 20:20:59 +02:00
Steve-Mcl 21a0b33645 correct "non string" check parenthesis
fixes #3493
2022-04-11 13:57:26 +01:00
Hiroyasu Nishiyama ba304c9651 add NR_ prefix to special environment variables 2022-01-26 09:25:30 +09:00
Hiroyasu Nishiyama 8b23d341b4 add support for env var access of GROUP_ID & GROUP_NAME 2022-01-25 21:04:43 +09:00
Hiroyasu Nishiyama 289815e128 add support of FLOW_ID & FLOW_NAME 2022-01-25 20:46:01 +09:00
Hiroyasu Nishiyama c331da7323 fix env var access using $env for groups 2021-11-27 19:29:57 +09:00
Hiroyasu Nishiyama 67404a327d merge getFlowSetting to getSetting 2021-09-01 22:26:31 +09:00
Hiroyasu Nishiyama d78e5932f9 update according to PR comments 2021-08-30 08:00:58 +09:00